[Arm-netbook] allwinner-v3.0-android-v2 boot up failure(SDCARD)
Adam Jiang
jiang.adam at gmail.com
Tue Jun 5 17:11:55 BST 2012
2012/6/6 Adam Jiang <jiang.adam at gmail.com>:
> 2012/6/6 Alejandro Mery <amery at geeks.cl>:
>> On 5 June 2012 17:48, Adam Jiang <jiang.adam at gmail.com> wrote:
>>> 2012/6/5 Rosimildo DaSilva <rosimildo at gmail.com>:
>>>> You MUST pass these options to the kernel.
>>>>
>>>> extra=rootfstype=ext4 rootwait
>>>
>>> Thank you, Rosimildo. It works for me.
>>>
>>> I have this patch on sun4i branch
>>>
>>> diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
>>> index 156dc10..2d997a8 100644
>>> --- a/include/configs/sun4i.h
>>> +++ b/include/configs/sun4i.h
>>> @@ -161,7 +161,7 @@
>>> "console=ttyS0,115200\0" \
>>> "root=/dev/mmcblk0p2\0" \
>>> "panic=10\0" \
>>> - "extra=\0" \
>>> + "extra=rootfstype=ext4 rootwait\0" \
>>> "init=/init\0" \
>>> "loglevel=8\0" \
>>> "setargs=setenv bootargs console=${console} root=${root}" \
>>>
BTW, could I have a boot.scr to do the same thing? How could I do
that? I tried to have boot.scr with following settings in mmcblk0p1.
However, it doesn't work.
setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p2 init=/init
rootwait loglevel=8 panic=10'
/Adam
>>
>> while `rootwait` is currently required I see no point in adding the
>> rootfstype, and it could even be hardful considering there is people
>> using different filesystems
>
> You got no point here for nobody is using different filesystems.
> People changes. It is acceptable if anybody wants to have xfs or btrfs
> for SSD or any other devices. It is beneficial for somebody reached
> the message by google. The 'rootfstype' is a placeholder to make it
> clear.
>
> The patch is just for a journal on the similar problems.
>
> /Adam
>
>>
>> _______________________________________________
>> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
>> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
>> Send large attachments to arm-netbook at files.phcomp.co.uk
More information about the arm-netbook
mailing list