* boot issues on omap730/p2
@ 2005-11-21 22:10 Brian Swetland
2005-11-21 23:19 ` Brian Swetland
0 siblings, 1 reply; 2+ messages in thread
From: Brian Swetland @ 2005-11-21 22:10 UTC (permalink / raw)
To: linux-omap-open-source
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: boot issues on omap730/p2
2005-11-21 22:10 boot issues on omap730/p2 Brian Swetland
@ 2005-11-21 23:19 ` Brian Swetland
0 siblings, 0 replies; 2+ messages in thread
From: Brian Swetland @ 2005-11-21 23:19 UTC (permalink / raw)
To: linux-omap-open-source
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 <swetland@google.com>]
>
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-21 23:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 22:10 boot issues on omap730/p2 Brian Swetland
2005-11-21 23:19 ` Brian Swetland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox