Well, i've tried to boot the guruplug with no initrd, using the following uboot sequence: nand read.e 0x2000000 0x100000 0x200000 setenv bootargs console=ttyS0,115200n8 root=ubi0:root ubi.mtd=2 rootfstype=ubifs verbose bootm 0x2000000 and the boot hangs here: ... > [ 1.845874] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) > [ 1.885874] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) > [ 1.892553] TCP cubic registered > [ 1.895797] NET: Registered protocol family 17 > [ 1.900614] registered taskstats version 1 > [ 1.905397] rtc-mv rtc-mv: setting system clock to 2010-05-27 04:21:55 UTC (1274934115) > [ 1.913456] Initalizing network drop monitor service > [ 1.970202] UBIFS: recovery needed > [ 2.033196] UBIFS: recovery completed > [ 2.036898] UBIFS: mounted UBI device 0, volume 0, name "root" > [ 2.042765] UBIFS: file system size: 515708928 bytes (503622 KiB, 491 MiB, 3997 LEBs) > [ 2.050815] UBIFS: journal size: 25804800 bytes (25200 KiB, 24 MiB, 200 LEBs) > [ 2.058520] UBIFS: media format: w4/r0 (latest is w4/r0) > [ 2.064378] UBIFS: default compressor: lzo > [ 2.068504] UBIFS: reserved for root: 4952683 bytes (4836 KiB) > [ 2.075361] VFS: Mounted root (ubifs filesystem) on device 0:13. > [ 2.081442] Freeing init memory: 120K > [ 2.085523] Warning: unable to open an initial console. OTOH, if i give it the exact same local kernel, plus my MODULES=list initramfs via tftp: setenv serverip 192.168.13.99 setenv ipaddr 192.168.13.33 nand read.e 0x2000000 0x100000 0x200000 tftpboot 0x8000000 guru/uInitrd setenv bootargs console=ttyS0,115200n8 verbose root=ubi0:root ubi.mtd=2 rootfstype=ubifs bootm 0x2000000 0x8000000 then it boots as expected: > [ 1.995867] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) > [ 2.035870] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) > [ 2.042541] TCP cubic registered > [ 2.045782] NET: Registered protocol family 17 > [ 2.050596] registered taskstats version 1 > [ 2.055366] rtc-mv rtc-mv: setting system clock to 2010-05-27 03:56:59 UTC (1274932619) > [ 2.063424] Initalizing network drop monitor service > [ 2.068482] Freeing init memory: 120K > Loading, please wait... > [ 2.145512] udev: starting version 154 > Begin: Loading essential drivers ... done. > Begin: Running /scripts/init-premount ... done. > Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begin: Loadingdone. > done. > Begin: Running /scripts/local-premount ... done. > [ 2.485770] UBIFS: recovery needed > [ 2.539849] UBIFS: recovery deferred > [ 2.543452] UBIFS: mounted UBI device 0, volume 0, name "root" > [ 2.549334] UBIFS: mounted read-only > [ 2.552930] UBIFS: file system size: 515708928 bytes (503622 KiB, 491 MiB, 3997 LEBs) > [ 2.560981] UBIFS: journal size: 25804800 bytes (25200 KiB, 24 MiB, 200 LEBs) > [ 2.568686] UBIFS: media format: w4/r0 (latest is w4/r0) > [ 2.574544] UBIFS: default compressor: lzo > [ 2.578669] UBIFS: reserved for root: 4952683 bytes (4836 KiB) > Begin: Running /scripts/local-bottom ... done. > done. > Begin: Running /scripts/init-bottom ... done. > INIT: version 2.88 booting > Using makefile-style concurrent boot in runlevel S. Any ideas? am i missing some bootargs or something? or does the kernel really need an initramfs? --dkg
Attachment:
signature.asc
Description: OpenPGP digital signature