From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kinsella, Ray Date: Mon, 21 Sep 2015 15:33:12 +0000 Subject: [Buildroot] [PATCH v4 1/2] board: add support for Intel Galileo Gen 2 In-Reply-To: References: <1441914721.20486.6.camel@intel.com> <20150921164554.0e4f348f@free-electrons.com> Message-ID: <1442849592.3055.47.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > 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] [] panic+0x64/0x144 >> [ 3.503281] [] mount_block_root+0x191/0x1ef >> [ 3.503281] [] ? sys_mknod+0x28/0x30 >> [ 3.503281] [] mount_root+0x4f/0x57 >> [ 3.503281] [] prepare_namespace+0x140/0x171 >> [ 3.503281] [] kernel_init_freeable+0x15e/0x166 >> [ 3.503281] [] kernel_init+0xb/0x140 >> [ 3.503281] [] ret_from_kernel_thread+0x1b/0x30 >> [ 3.503281] [] ? 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 http://lists.busybox.net/mailman/listinfo/buildroot