Are you partitioning your SD card? You should be using ext3 partition
for Android FS and VFAT for u-Boot/Bootloader

- Akash

On Tue, May 18, 2010 at 6:55 AM, Deva R <[email protected]> wrote:
>
>
> There are no mmc paritions listed when u boot., only nand paritions are
> available..,
> can u share complete bootlog?
>
>>setenv bootargs root=/dev/block/mmcblk0p1 rw init=/init
>>console=ttySAC0,115200
>
>>1f00        256 mtdblock0 (driver?)
>>1f01      15104 mtdblock1 (driver?)
>>1f02    1033216 mtdblock2 (driver?)
>
>
> On Tue, May 18, 2010 at 12:29 PM, Weber <[email protected]> wrote:
>>
>> 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: [email protected]
>> website: http://groups.google.com/group/android-porting
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to