public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot configuration
Date: Sat, 2 Dec 2017 20:02:14 +0100	[thread overview]
Message-ID: <20171202200214.58f14c59@jawa> (raw)
In-Reply-To: <929163480.5153020.1512048084622@mail.yahoo.com>

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>

  reply	other threads:[~2017-12-02 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]
2008-08-15  9:12 [U-Boot] U-Boot configuration Axel Beierlein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171202200214.58f14c59@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox