[U-Boot] U-Boot ram disk

Nuno Cardoso linun77 at gmail.com
Tue May 4 00:33:10 CEST 2010


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).

To do the first step, I need to save the rootfs image on my machine to mount
it. So, I need to stop the u-boot initialization, before the login step, to
save the rootfs. But, U-Boot doesn't have any kind of command to do that.

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????

Thanks a lot,
Nuno Cardoso.


More information about the U-Boot mailing list