You MUST pass these options to the kernel.<br><br>extra=rootfstype=ext4 rootwait<br><br>Rosimildo.<br><br><div class="gmail_quote">On Mon, Jun 4, 2012 at 11:06 AM, Adam Jiang <span dir="ltr"><<a href="mailto:jiang.adam@gmail.com" target="_blank">jiang.adam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, folks<br>
<br>
Finally, I got my A2000 board run with allwinner-v3.0-android-v2.<br>
However, it failed before mount rootfs.<br>
<br>
[ 4.400000] [mmc_pm]: No sdio card, please check your config !!<br>
[ 4.430000] Registering SWP/SWPB emulation handler<br>
[ 4.440000] registered taskstats version 1<br>
[ 4.440000] regulator_init_complete: axp20_buck3: incomplete<br>
constraints, leaving on<br>
[ 4.460000] regulator_init_complete: axp20_buck2: incomplete<br>
constraints, leaving on<br>
[ 4.470000] regulator_init_complete: axp20_ldo4: incomplete<br>
constraints, leaving on<br>
[ 4.490000] regulator_init_complete: axp20_ldo3: incomplete<br>
constraints, leaving on<br>
[ 4.500000] regulator_init_complete: axp20_ldo2: incomplete<br>
constraints, leaving on<br>
[ 4.520000] regulator_init_complete: axp20_ldo1: incomplete<br>
constraints, leaving on<br>
[ 4.530000] sunxi-rtc sunxi-rtc: sunxi_rtc_gettime<br>
[ 4.540000] sunxi-rtc sunxi-rtc: read time 2010-1-1 0:0:9<br>
[ 4.550000] sunxi-rtc sunxi-rtc: setting system clock to 2010-01-01<br>
00:00:09 UTC (1262304009)<br>
[ 4.570000] VFS: Cannot open root device "mmcblk0p2" or unknown-block(0,0)<br>
[ 4.580000] Please append a correct "root=" boot option; here are<br>
the available partitions:<br>
[ 4.670000] Kernel panic - not syncing: VFS: Unable to mount root<br>
fs on unknown-block(0,0)<br>
[ 4.690000] [<c003c1fc>] (dump_backtrace+0x0/0x110) from<br>
[<c05820dc>] (dump_stack+0x18/0x1c)<br>
[ 4.710000] [<c05820c4>] (dump_stack+0x0/0x1c) from [<c0582230>]<br>
(panic+0x74/0x188)<br>
[ 4.730000] [<c05821bc>] (panic+0x0/0x188) from [<c0008ef8>]<br>
(mount_block_root+0x214/0x2b8)<br>
[ 4.750000] [<c0008ce4>] (mount_block_root+0x0/0x2b8) from<br>
[<c00090ec>] (mount_root+0x64/0x68)<br>
[ 4.770000] [<c0009088>] (mount_root+0x0/0x68) from [<c0009290>]<br>
(prepare_namespace+0x1a0/0x1e8)<br>
[ 4.790000] [<c00090f0>] (prepare_namespace+0x0/0x1e8) from<br>
[<c0008b84>] (kernel_init+0x154/0x158)<br>
[ 4.820000] [<c0008a30>] (kernel_init+0x0/0x158) from [<c006c1d0>]<br>
(do_exit+0x0/0x748)<br>
<br>
It seems this problem is about sdmmc configuration in script.bin which<br>
is generated by script.fex. I got the fex file by bin2fex utility from<br>
the stock binary. Though I can get some sections in fex file about mmc<br>
, it is very hard to guess the details about these values. Anybody<br>
knows where could I get documentation about fex file? Anyone<br>
experienced SD card boot could shed some light on the following<br>
section? Thanks.<br>
<br>
[mmc0_para]<br>
sdc_used = 1<br>
sdc_detmode = 1<br>
bus_width = 4<br>
sdc_d1 = port:PF00<2><1><2><default><br>
sdc_d0 = port:PF01<2><1><2><default><br>
sdc_clk = port:PF02<2><1><2><default><br>
sdc_cmd = port:PF03<2><1><2><default><br>
sdc_d3 = port:PF04<2><1><2><default><br>
sdc_d2 = port:PF05<2><1><2><default><br>
sdc_det = port:PH01<0><1><default><default><br>
sdc_use_wp = 0<br>
sdc_wp =<br>
<br>
[mmc1_para]<br>
sdc_used = 1<br>
sdc_detmode = 1<br>
bus_width = 4<br>
sdc_cmd = port:PH22<5><1><2><default><br>
sdc_clk = port:PH23<5><1><2><default><br>
sdc_d0 = port:PH24<5><1><2><default><br>
sdc_d1 = port:PH25<5><1><2><default><br>
sdc_d2 = port:PH26<5><1><2><default><br>
sdc_d3 = port:PH27<5><1><2><default><br>
sdc_det = port:PH02<0><1><default><default><br>
sdc_use_wp = 0<br>
sdc_wp =<br>
<br>
_______________________________________________<br>
arm-netbook mailing list <a href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
<a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
Send large attachments to <a href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
</blockquote></div><br>