public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Swetland <swetland@google.com>
To: linux-omap-open-source@linux.omap.com
Subject: Re: boot issues on omap730/p2
Date: Mon, 21 Nov 2005 15:19:31 -0800	[thread overview]
Message-ID: <20051121231931.GA18276@localhost.localdomain> (raw)
In-Reply-To: <20051121221036.GA18825@localhost.localdomain>


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.

      reply	other threads:[~2005-11-21 23:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 22:10 boot issues on omap730/p2 Brian Swetland
2005-11-21 23:19 ` Brian Swetland [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051121231931.GA18276@localhost.localdomain \
    --to=swetland@google.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox