Hi I'm usning Pengutronix BSP and I'm trying to boot my mini2440 from an SD Card. Does this BSP have a limit on the SD Card sizes? the one i'm using is a 4G. I made 2 partition, one for the kernel (ext2) and the other for the fs(ext3). copied the kernel and my root-debug which i use for development. in the env/config file I have the following: rootfs_type=ext3 rootfs_mmc_part=2 rootfs_mmc_type=ext2 kernel_mmc_part=0 it seems barebox is loading the kernel but not finding the filesystem. I would also have liked to boot from NAND but I'm not sure how to get my application into NAND after loading the rootfs image. if anyone can help me with these problems, I'd really appreciate it. Regards
Mini2440 boot from SD Card
it seems the mini boots manually from the sd card, but not on power up, it gives me the following message: VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -19 Please append a correct "root=" boot option; here are the available partitions: 1f00 256 mtdblock0 (driver?) 1f01 128 mtdblock1 (driver?) 1f02 5120 mtdblock2 (driver?) 1f03 125568 mtdblock3 (driver?) b300 3872256 mmcblk0 driver: mmcblk b301 4096 mmcblk0p1 00000000-0000-0000-0000-000000000000 b302 3867136 mmcblk0p2 00000000-0000-0000-0000-000000000000 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) Function entered at [<c000dc54>] from [<c02945dc>] Function entered at [<c02945dc>] from [<c0325ac0>] Function entered at [<c0325ac0>] from [<c0325bf0>] Function entered at [<c0325bf0>] from [<c0325d2c>] Function entered at [<c0325d2c>] from [<c028f64c>] Function entered at [<c028f64c>] from [<c0009190>] can anyone help me fix this? Regards
The Mini2440 can boot perfectly from an SD card. All components you need to do so are provided by the Pengutronix's Mini2440 BSP. Did you follow the BSP documentation? Send the *complete* boot log (power-on until it fails) to the mailing list mentioned in the BSP documentation.
i followed the docs, i could have missed something and i think this is the case. but when i interrupt the boot timer and go "boot mmc" it boots fine, but when i power it on or reset, it gives me the above messages. i'll send my log to the mailing list.