First add rootdelay=15 and see the kernel boot message to make sure which sdcard node name the kernel get ,maybe mmcblkXXXX. Then add root=/dev/mmcblkxxxx rootdelay=15 and try again.This is just my opinior ,I didn,t use uboot.Just make a try ,goodluck!
2010/5/18 Weber <qvbs...@gmail.com> > Hi > I want to boot my android system from SD card > and I follow the post, > > http://groups.google.com/group/android-porting/browse_thread/thread/c43ce3c3a56bae84/b1ecc9460bea6e33?lnk=gst&q=booting+from+sd# > > In the post abhishek srivastav said : > > Please make sure that you follow following steps for booting Android > from SD > card. > > -Your bootargs<boot parameters in bootloader> should be set to SD > card. <<<< > -For booting Android from SD card your SD card should be formatted in > ext2 > format. > -Copy the following files/directory from *out/target/product/generic* > * > * > *cp -a root/* <SDCARD> > *cp -a data/* <SDCARD> > cp -a system/* <SDCARD> > > I just want to mount sd card as my rootfs ,so I follow the steps ,but > it can not mount ,complaint that : > VFS: Cannot open root device "block/mmcblk0p1" or unknown-block(2,0) > Please append a correct "root=" boot option; here are the available > partitions: > 1f00 256 mtdblock0 (driver?) > 1f01 15104 mtdblock1 (driver?) > 1f02 1033216 mtdblock2 (driver?) > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- > block(2,0) > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- > block(2,0) > > BTW,I use uboot ,and my boot args are: > setenv bootargs root=/dev/block/mmcblk0p1 rw init=/init > console=ttySAC0,115200 > > Could anyone tell me how to do ? > > Thanks > ---Weber > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting