Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kinsella, Ray <ray.kinsella@intel.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/2] board: add support for Intel Galileo Gen 2
Date: Mon, 21 Sep 2015 15:33:12 +0000	[thread overview]
Message-ID: <1442849592.3055.47.camel@intel.com> (raw)
In-Reply-To: <CAJ3iQcrKO2-yifLBWBq0qQHN9DpbWx0sK7CHGiRB=Kk77qtDzA@mail.gmail.com>


Strange - an artifact of the speed of the SD cards perhaps?
Need to add rootwait in grub.conf - me thinks.

Ray K

On Mon, 2015-09-21 at 23:13 +0800, Gergely Imreh wrote:


On 21 September 2015 at 22:45, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com<mailto:thomas.petazzoni@free-electrons.com>> wrote:
> Dear Gergely Imreh,
>
> On Mon, 21 Sep 2015 22:31:39 +0800, Gergely Imreh wrote:
>
>> I was trying this patch series out, but running into some issues.
>>
>> The major one is that if I create the "sdcard.img" using the
>> defconfig, write it onto a card, and try to boot from it, I get this
>> kernel panic as the result:
>>
>> [    3.470356] mmc0: new high speed SDHC card at address 0007
>> [    3.477010] VFS: Cannot open root device "mmcblk0p2" or
>> unknown-block(0,0): error -6
>> [    3.484871] Please append a correct "root=" boot option; here are
>> the available partitions:
>> [    3.493332] Kernel panic - not syncing: VFS: Unable to mount root
>> fs on unknown-block(0,0)
>> [    3.501649] Pid: 1, comm: swapper Not tainted 3.8.7 #1
>> [    3.503281] Call Trace:
>> [    3.503281]  [<c12e5571>] panic+0x64/0x144
>> [    3.503281]  [<c1458cc7>] mount_block_root+0x191/0x1ef
>> [    3.503281]  [<c10b9468>] ? sys_mknod+0x28/0x30
>> [    3.503281]  [<c1458e2c>] mount_root+0x4f/0x57
>> [    3.503281]  [<c1458f74>] prepare_namespace+0x140/0x171
>> [    3.503281]  [<c1458a71>] kernel_init_freeable+0x15e/0x166
>> [    3.503281]  [<c12e2d7b>] kernel_init+0xb/0x140
>> [    3.503281]  [<c12e87fb>] ret_from_kernel_thread+0x1b/0x30
>> [    3.503281]  [<c12e2d70>] ? rest_init+0x60/0x60
>>
>> Is there anything I might be missing?
>> (Using a Gen2 board)
>
> Can you add "rootwait" to your kernel command line?
>

That seems to be it. Modifying the board/intel/galileo/grub.cfg to
have the following line with the added "rootwait" seems to do the
trick!

linux /boot/bzImage root=/dev/mmcblk0p2 rootwait
console=ttyS1,115200n8 reboot=efi,warm apic=debug rw

> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net<mailto:buildroot@busybox.net>
http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2015-09-21 15:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 19:52 [Buildroot] [PATCH v4 1/2] board: add support for Intel Galileo Gen 2 Kinsella, Ray
2015-09-21 14:31 ` Gergely Imreh
2015-09-21 14:45   ` Thomas Petazzoni
2015-09-21 14:48     ` Kinsella, Ray
2015-09-21 15:13     ` Gergely Imreh
2015-09-21 15:33       ` Kinsella, Ray [this message]
2015-09-21 17:20         ` Thomas Petazzoni

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=1442849592.3055.47.camel@intel.com \
    --to=ray.kinsella@intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox