All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] How to get the kernel to mount a rootfs without an initramfs ?? (2)
Date: Thu, 13 Feb 2014 07:09:53 -0600	[thread overview]
Message-ID: <20140213070953.69a3ed30@core2quad.morethan.org> (raw)
In-Reply-To: <52FC9329020000460004A9FA@gwia2.rz.hs-offenburg.de>

On Thu, 13 Feb 2014 09:40:57 +0100
"Frank Ihle" <frank.ihle@hs-offenburg.de> wrote:

> console=ttyAT0,115200 root=/dev/mmcblk0 ro rootfstype=squashfs
> 

/dev/mmcblk0 is the ***root of the (raw) device***.
/dev/mmcblk0p0 is the first partition
/dev/mmcblk0p1 is the second partition
etc.

> 
> 
> When I then boot my system the following kernel panic occurs:
> VFS: Cannot open ***root device*** "mmcblk0" or unknown-block(0,0)
>

Which is correct and specific - the ***root of the (raw) device*** is
not intended to be opened with VFS.

Put **at least** one partition on the storage device, use it for your
file system root (not device root).

Mike

  parent reply	other threads:[~2014-02-13 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13  8:40 [Buildroot] How to get the kernel to mount a rootfs without an initramfs ?? (2) Frank Ihle
2014-02-13  9:14 ` Sagaert Johan
2014-02-13 13:09 ` Mike Zick [this message]
2014-02-16 23:10 ` Arnout Vandecappelle
2014-02-17  8:23   ` [Buildroot] Antw: " Frank Ihle

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=20140213070953.69a3ed30@core2quad.morethan.org \
    --to=minimod@morethan.org \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.