引用第19楼thopos于2008-07-07 04:01发表的 :
next stepp.
i can't set env-variables in uboot / after power-down the variables have the default-value!
If i use in uboot <dynpart> and then <bootd> the kernel will be load out of nand-flash (yeah :-) ).
Now, i write the root.bin which i create following:
extract <root_default.tgz> (from cd-rom).
.......
Well done:) It seemes that you've figured out how this u-boot works by yourself already. Actually, this u-boot is based on patches from OpenMoko project (
http://wiki.openmoko.org) and serveral u-boot commands are added/customized by them, like 'dynpart' (
http://wiki.openmoko.org/wiki/NAND_bad_blocks#Partition_Table). You may get more details on it from wiki of the project.
According to the kernel booting log, the jffs2 rootfs image has been mounted successfully but kernel could not find a valid /dev/console device node. I think it is caused by lacking of devfs in 2.6.24 kernel which is back-ported to 2.6.13 kernel by FriendlyARM.
A simple way to solve this issue is to add udev support to the rootfs extracted from CD-ROM.