All of lore.kernel.org
 help / color / mirror / Atom feed
* Booting imx6q Saber SD
@ 2012-12-13 11:03 Thomas Senyk
  2012-12-13 11:07 ` Fabio Estevam
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Senyk @ 2012-12-13 11:03 UTC (permalink / raw)
  To: meta-freescale

Hi, 

Yesterday I got a Saber SD (as a second board to my SaberLite).
I've used the imx6qsabresd machine config to create a sdcard.

uboot and kernel look like they are working, but the rootfs is not mountable 
during boot.

Here is the corresponding kernel output:

Waiting 2sec before mounting root device...
VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
Please append a correct "root=" boot option; here are the available 
partitions:
b300         7757824 mmcblk0  driver: mmcblk
b310            2048 mmcblk0boot1  (driver?)
b308            2048 mmcblk0boot0  (driver?)
b318         3880960 mmcblk1  driver: mmcblk
  b319            8192 mmcblk1p1 00000000-0000-0000-0000-000000000000
  b31a          262144 mmcblk1p2 00000000-0000-0000-0000-000000000000
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(179,26)



The kernel command line is: 
console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw rootdelay=2

(the 2sec delay is added manually as boot parameter to test if it's a timing 
issue ... it's the same error without the delay)



Anyone seen something like that?
He obviously has problems mounting mmcblk1p2 ... he finds the device and 
partition, but can't mount it.

I can mount and read from it on my desktop, without any problems.
I've tested 2 complete different sdcards, so it's not the sdcard.
I've also tested the android-sdcard which was shipped and that's booting 
flawlessly ... so it's not a HW problem either.


Greets
Thomas



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting imx6q Saber SD
  2012-12-13 11:03 Booting imx6q Saber SD Thomas Senyk
@ 2012-12-13 11:07 ` Fabio Estevam
  2012-12-13 11:13   ` Thomas Senyk
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2012-12-13 11:07 UTC (permalink / raw)
  To: Thomas Senyk; +Cc: meta-freescale

On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk
<thomas.senyk@pelagicore.com> wrote:
> Hi,
>
> Yesterday I got a Saber SD (as a second board to my SaberLite).
> I've used the imx6qsabresd machine config to create a sdcard.
>
> uboot and kernel look like they are working, but the rootfs is not mountable
> during boot.
>
> Here is the corresponding kernel output:
>
> Waiting 2sec before mounting root device...
> VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
> Please append a correct "root=" boot option; here are the available

Do you also have a SD card connected to SD2 slot? If so, can you
please remove it and keep only the SD card at slot SD3?

Regards,

Fabio Estevam


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting imx6q Saber SD
  2012-12-13 11:07 ` Fabio Estevam
@ 2012-12-13 11:13   ` Thomas Senyk
  2012-12-13 11:28     ` Thomas Senyk
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Senyk @ 2012-12-13 11:13 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale

On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:
> On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk
> 
> <thomas.senyk@pelagicore.com> wrote:
> > Hi,
> > 
> > Yesterday I got a Saber SD (as a second board to my SaberLite).
> > I've used the imx6qsabresd machine config to create a sdcard.
> > 
> > uboot and kernel look like they are working, but the rootfs is not
> > mountable during boot.
> > 
> > Here is the corresponding kernel output:
> > 
> > Waiting 2sec before mounting root device...
> > VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
> > Please append a correct "root=" boot option; here are the available
> 
> Do you also have a SD card connected to SD2 slot? If so, can you
> please remove it and keep only the SD card at slot SD3?

Nop nothing in SD2

> 
> Regards,
> 
> Fabio Estevam


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting imx6q Saber SD
  2012-12-13 11:13   ` Thomas Senyk
@ 2012-12-13 11:28     ` Thomas Senyk
  2012-12-13 11:33       ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Senyk @ 2012-12-13 11:28 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale

On Thu, December 13, 2012 12:13:58 Thomas Senyk wrote:
> On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:
> > On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk
> > 
> > <thomas.senyk@pelagicore.com> wrote:
> > > Hi,
> > > 
> > > Yesterday I got a Saber SD (as a second board to my SaberLite).
> > > I've used the imx6qsabresd machine config to create a sdcard.
> > > 
> > > uboot and kernel look like they are working, but the rootfs is not
> > > mountable during boot.
> > > 
> > > Here is the corresponding kernel output:
> > > 
> > > Waiting 2sec before mounting root device...
> > > VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
> > > Please append a correct "root=" boot option; here are the available
> > 
> > Do you also have a SD card connected to SD2 slot? If so, can you
> > please remove it and keep only the SD card at slot SD3?
> 
> Nop nothing in SD2

The opposite (haven the "same" sdcard in both slots) doesn't help either ;)

VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
Please append a correct "root=" boot option; here are the available 
partitions:
b300         7757824 mmcblk0  driver: mmcblk
b310            2048 mmcblk0boot1  (driver?)
b308            2048 mmcblk0boot0  (driver?)
b318         3880960 mmcblk1  driver: mmcblk
  b319            8192 mmcblk1p1 00000000-0000-0000-0000-000000000000
  b31a          262144 mmcblk1p2 00000000-0000-0000-0000-000000000000
b320         7822336 mmcblk2  driver: mmcblk
  b321            8192 mmcblk2p1 00000000-0000-0000-0000-000000000000
  b322          262144 mmcblk2p2 00000000-0000-0000-0000-000000000000
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(179,26)



I tried to boot from SD2 only.
When switching the DIPs 1 and 2 he loads uboot from SD2, but I can't get 
'fatload mmc' working when booting from SD2

> 
> > Regards,
> > 
> > Fabio Estevam


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting imx6q Saber SD
  2012-12-13 11:28     ` Thomas Senyk
@ 2012-12-13 11:33       ` Gary Thomas
  2012-12-13 12:45         ` Thomas Senyk
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2012-12-13 11:33 UTC (permalink / raw)
  To: meta-freescale

On 2012-12-13 04:28, Thomas Senyk wrote:
> On Thu, December 13, 2012 12:13:58 Thomas Senyk wrote:
>> On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:
>>> On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk
>>>
>>> <thomas.senyk@pelagicore.com> wrote:
>>>> Hi,
>>>>
>>>> Yesterday I got a Saber SD (as a second board to my SaberLite).
>>>> I've used the imx6qsabresd machine config to create a sdcard.
>>>>
>>>> uboot and kernel look like they are working, but the rootfs is not
>>>> mountable during boot.
>>>>
>>>> Here is the corresponding kernel output:
>>>>
>>>> Waiting 2sec before mounting root device...
>>>> VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
>>>> Please append a correct "root=" boot option; here are the available
>>>
>>> Do you also have a SD card connected to SD2 slot? If so, can you
>>> please remove it and keep only the SD card at slot SD3?
>>
>> Nop nothing in SD2
>
> The opposite (haven the "same" sdcard in both slots) doesn't help either ;)
>
> VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
> Please append a correct "root=" boot option; here are the available
> partitions:
> b300         7757824 mmcblk0  driver: mmcblk
> b310            2048 mmcblk0boot1  (driver?)
> b308            2048 mmcblk0boot0  (driver?)
> b318         3880960 mmcblk1  driver: mmcblk
>    b319            8192 mmcblk1p1 00000000-0000-0000-0000-000000000000
>    b31a          262144 mmcblk1p2 00000000-0000-0000-0000-000000000000
> b320         7822336 mmcblk2  driver: mmcblk
>    b321            8192 mmcblk2p1 00000000-0000-0000-0000-000000000000
>    b322          262144 mmcblk2p2 00000000-0000-0000-0000-000000000000
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
> block(179,26)

Could you post the boot log?  There should be messages about what MMC
devices and partitions are discovered by the kernel which could help.

>
> I tried to boot from SD2 only.
> When switching the DIPs 1 and 2 he loads uboot from SD2, but I can't get
> 'fatload mmc' working when booting from SD2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting imx6q Saber SD
  2012-12-13 11:33       ` Gary Thomas
@ 2012-12-13 12:45         ` Thomas Senyk
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Senyk @ 2012-12-13 12:45 UTC (permalink / raw)
  To: meta-freescale

The problem solved itself.

I've unplugged the board (to do something else) and re-plugged everything to, 
exactly as before, with the same sd card and everything ... to get the full 
kernel log

Now he's booting flawlessly ... it was either a loose cable (where it's hard to 
see which cable could have been loose) or one of those position-of-moon-and-
stars problems ;) ... maybe it was due to playing around with DIP1 and 2...

Anyway: Thanks for the Help!

On Thu, December 13, 2012 04:33:49 Gary Thomas wrote:
> On 2012-12-13 04:28, Thomas Senyk wrote:
> > On Thu, December 13, 2012 12:13:58 Thomas Senyk wrote:
> >> On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:
> >>> On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk
> >>> 
> >>> <thomas.senyk@pelagicore.com> wrote:
> >>>> Hi,
> >>>> 
> >>>> Yesterday I got a Saber SD (as a second board to my SaberLite).
> >>>> I've used the imx6qsabresd machine config to create a sdcard.
> >>>> 
> >>>> uboot and kernel look like they are working, but the rootfs is not
> >>>> mountable during boot.
> >>>> 
> >>>> Here is the corresponding kernel output:
> >>>> 
> >>>> Waiting 2sec before mounting root device...
> >>>> VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
> >>>> Please append a correct "root=" boot option; here are the available
> >>> 
> >>> Do you also have a SD card connected to SD2 slot? If so, can you
> >>> please remove it and keep only the SD card at slot SD3?
> >> 
> >> Nop nothing in SD2
> > 
> > The opposite (haven the "same" sdcard in both slots) doesn't help either
> > ;)
> > 
> > VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,26)
> > Please append a correct "root=" boot option; here are the available
> > partitions:
> > b300         7757824 mmcblk0  driver: mmcblk
> > b310            2048 mmcblk0boot1  (driver?)
> > b308            2048 mmcblk0boot0  (driver?)
> > b318         3880960 mmcblk1  driver: mmcblk
> > 
> >    b319            8192 mmcblk1p1 00000000-0000-0000-0000-000000000000
> >    b31a          262144 mmcblk1p2 00000000-0000-0000-0000-000000000000
> > 
> > b320         7822336 mmcblk2  driver: mmcblk
> > 
> >    b321            8192 mmcblk2p1 00000000-0000-0000-0000-000000000000
> >    b322          262144 mmcblk2p2 00000000-0000-0000-0000-000000000000
> > 
> > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
> > block(179,26)
> 
> Could you post the boot log?  There should be messages about what MMC
> devices and partitions are discovered by the kernel which could help.
> 
> > I tried to boot from SD2 only.
> > When switching the DIPs 1 and 2 he loads uboot from SD2, but I can't get
> > 'fatload mmc' working when booting from SD2
> 
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-13 12:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 11:03 Booting imx6q Saber SD Thomas Senyk
2012-12-13 11:07 ` Fabio Estevam
2012-12-13 11:13   ` Thomas Senyk
2012-12-13 11:28     ` Thomas Senyk
2012-12-13 11:33       ` Gary Thomas
2012-12-13 12:45         ` Thomas Senyk

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.