From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot ram disk
Date: Mon, 03 May 2010 17:49:18 -0500 [thread overview]
Message-ID: <4BDF52EE.5070006@freescale.com> (raw)
In-Reply-To: <v2y3cf2debb1005031533ne2b2a067z6b36bd11c9f93855@mail.gmail.com>
On 05/03/2010 05:33 PM, Nuno Cardoso wrote:
> hi,
>
> the big problem is that I have an embedded system where I don't know the
> login password to login. I forgot the password, and try and try... but I
> can't remember. The system had some important information, so I want to
> restore the system.
>
> The steps that I want to follow are:
> 1) save the target rootfs to my machine;
> 2) mount the filesystem on my machine;
> 3) change the rot password;
> 4) finally, store the new file system on the taget machine (embedded
> system).
Have you tried adding "init=/bin/sh" to the bootargs variable?
> Can I load the rootfs from NAND Flash to ramdisk (nand read xxxx rootfs
> size) and print the memory at address xxxx from memory to display (md xxxxx)
> and save the GTKTerm display to a local file and do some kind of process to
> remove the wrong caracters??? Maybe with this I can do this??? What is yout
> opinion????
I suppose you could do this (using something like xxd to undo the hex
dump), but that would be a lot to copy and paste.
The only other option I can see from a quick look is the "saves" command
to upload data to the host in S-record format.
-Scott
next prev parent reply other threads:[~2010-05-03 22:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 22:33 [U-Boot] U-Boot ram disk Nuno Cardoso
2010-05-03 22:49 ` Scott Wood [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-05-03 16:43 Nuno Cardoso
2010-05-03 20:43 ` Wolfgang Denk
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=4BDF52EE.5070006@freescale.com \
--to=scottwood@freescale.com \
--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