boot issues on omap730/p2
I'm running into problems with the recent kernels trying to get the system to boot on my p2 board. Sadly, devfs is no more, and I'm trying to get the kernel to still consider mounting my romfs boot filesystem in flash, yet:
VFS: No root yet, retrying to mount root on 31:3 (unknown-block(31,3))
VFS: Cannot open root device "31:3" or unknown-block(31,3) Please append a correct "root=" boot option
I used to be able to specify root=/dev/mtdblock/3 and everything was well. Now I'm reduced to root=31:3 but that does not bring happiness.
Creating 4 MTD partitions on "omapflash.0":
0x00000000-0x00020000 : "bootloader"
mtd: Giving out device 0 to bootloader
0x00020000-0x00040000 : "params"
mtd: Giving out device 1 to params
0x00040000-0x00240000 : "kernel"
mtd: Giving out device 2 to kernel
0x00240000-0x02000000 : "rootfs"
mtd: Giving out device 3 to rootfs
The romfs filesystem is definitely there at 0x240000 and a much earlier kernel happily boots it.
Any pointers?
Any hope of devfs coming back to save us from this misery?
Thanks,
Brian
As I continue to hunt this down, I discover that the kernel can translate /dev/mtdblock3 to 31:3 using /sys/block/... (provided the mtdblock driver exists). Tracing through severel layers of *_mount() stuff, I discover that in do_kern_mount(), the call to type->get_sb() is returning ENOENT.
Just mentioning this here in case there's a "doh! you should do x!" response before I proceed to dig yet deeper into the bowels of the kernel root filesystem mounting fun...
Brian
[Brian Swetland <[email protected]>]
Quoted 25 lines
I'm running into problems with the recent kernels trying to get the system to boot on my p2 board. Sadly, devfs is no more, and I'm trying to get the kernel to still consider mounting my romfs boot filesystem in flash, yet:
VFS: No root yet, retrying to mount root on 31:3 (unknown-block(31,3))
VFS: Cannot open root device "31:3" or unknown-block(31,3) Please append a correct "root=" boot optionI used to be able to specify root=/dev/mtdblock/3 and everything was well. Now I'm reduced to root=31:3 but that does not bring happiness.
Creating 4 MTD partitions on "omapflash.0":
0x00000000-0x00020000 : "bootloader"
mtd: Giving out device 0 to bootloader
0x00020000-0x00040000 : "params"
mtd: Giving out device 1 to params
0x00040000-0x00240000 : "kernel"
mtd: Giving out device 2 to kernel
0x00240000-0x02000000 : "rootfs"
mtd: Giving out device 3 to rootfsThe romfs filesystem is definitely there at
0x240000and a much earlier kernel happily boots it.