public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-Boot configuration
@ 2008-08-15  9:12 Axel Beierlein
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Beierlein @ 2008-08-15  9:12 UTC (permalink / raw)
  To: u-boot

Hello,

we use an TQM5200 Board on an own designed Baseboard than the TB5200 or  
STK52xx.
Do we have to reconfigure the U-boot Source for this new baseboard?
And specially, is it necessary to disable the PCI Bus in the U-Boot  
Sources when we don?t use this Bus?

Axel Beierlein

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-boot configuration
       [not found] <929163480.5153020.1512048084622.ref@mail.yahoo.com>
@ 2017-11-30 13:21 ` A.W.C.
  2017-12-02 19:02   ` Lukasz Majewski
  0 siblings, 1 reply; 3+ messages in thread
From: A.W.C. @ 2017-11-30 13:21 UTC (permalink / raw)
  To: u-boot

Hello,

Linux embedded file system (Linux v. 2.6.26.5) running on raw NAND flash, and use Full Image's RootFS.
I need to access to linux shell when Linux kernel already is fully loaded and make some changes.

U-boot> setenv bootargs console=ttyS1,115200n8 rootfstype=squashfs noalign half_image=0 verify=y single init=/bin/sh

BusyBox v1.10.2 (2017-08-02 14:07:25 CST) built-in shell (ash)
When I access to Busybox emergency shell, Linux kernel is not fully loaded, actual root partition is not mounted yet, the available commands are very limited.

BusyBox v1.10.2 (2015-09-06 10:58:05 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
# help

Built-in commands:
-------------------
    . : [ [[ alias bg break cd chdir continue echo eval exec exit
    export false fg hash help jobs let local pwd read readonly return
    set shift source test times trap true type ulimit umask unalias
    unset wait

# fdisk -l
/bin/sh: fdisk: not found
#

# mount
mount: no /proc/mounts
#

How to get Linux Kernel fully loaded, and MTD-devices mounted, at the same time having full access to file system from Busybox emergency shell?


Regards,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-boot configuration
  2017-11-30 13:21 ` [U-Boot] U-boot configuration A.W.C.
@ 2017-12-02 19:02   ` Lukasz Majewski
  0 siblings, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2017-12-02 19:02 UTC (permalink / raw)
  To: u-boot

On Thu, 30 Nov 2017 13:21:24 +0000 (UTC)
"A.W.C." <bluestream@ymail.com> wrote:

> Hello,
> 
> Linux embedded file system (Linux v. 2.6.26.5) running on raw NAND
> flash, and use Full Image's RootFS. I need to access to linux shell
> when Linux kernel already is fully loaded and make some changes.
> 
> U-boot> setenv bootargs console=ttyS1,115200n8 rootfstype=squashfs
> noalign half_image=0 verify=y single init=/bin/sh
> 
> BusyBox v1.10.2 (2017-08-02 14:07:25 CST) built-in shell (ash)
> When I access to Busybox emergency shell, Linux kernel is not fully
> loaded, actual root partition is not mounted yet, the available
> commands are very limited.
> 
> BusyBox v1.10.2 (2015-09-06 10:58:05 CST) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> /bin/sh: can't access tty; job control turned off
> # help
> 
> Built-in commands:
> -------------------
>     . : [ [[ alias bg break cd chdir continue echo eval exec exit
>     export false fg hash help jobs let local pwd read readonly return
>     set shift source test times trap true type ulimit umask unalias
>     unset wait
> 
> # fdisk -l
> /bin/sh: fdisk: not found
> #
> 
> # mount
> mount: no /proc/mounts
> #
> 
> How to get Linux Kernel fully loaded, and MTD-devices mounted, at the
> same time having full access to file system from Busybox emergency
> shell?

Your kernel is already loaded (as you are in /bin/sh )... The only
problem is with modules, which may not be loaded.

Try to mount manually stuff from inittab (sysfs, procfs), load needed
modules (to handle file systems) and then mount them.

> 
> 
> Regards,
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171202/4d210476/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-02 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15  9:12 [U-Boot] U-Boot configuration Axel Beierlein
     [not found] <929163480.5153020.1512048084622.ref@mail.yahoo.com>
2017-11-30 13:21 ` [U-Boot] U-boot configuration A.W.C.
2017-12-02 19:02   ` Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox