[U-Boot] Beginners Questions on modding a NAS
JPT
j-p-t at gmx.net
Tue Mar 5 20:25:40 CET 2013
Hi,
wow, thanks. bootm worked fine. :)
*** Next step, booting from disk
I created a root fs on USB drive and tried to boot it.
usb start
ext2load usb 0:1 0x02000000 /boot/kernel-DUO-1.0.22
bootm
this works, but the kernel doesn't know where to find the root partition.
how do I have to pass the root= parameter to linux kernel?
this didn't work:
set bootargs console=ttyS0,115200 root=/dev/sda1
How do I find out the correct root device?
Or do I have to boot the "real" system after booting from initrd?
*** Last step: save settings setting for automated boot up.
I tried to save, it writes something, but after issuing "reset" it's
back to initial values. what's wrong?
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
thanks,
JPT
More information about the U-Boot
mailing list