Skip to contentSkip to conversation

Booting imx6q Saber SD

DISCUSSION Thomas Senyk 3 participants 6 messages Dec 13, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Thomas Senyk

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.

Quoted 8 lines

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

#2 lore raw
Quoted 11 lines · On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:

On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk

Quoted 8 lines · <[email protected]> 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.

Quoted 8 lines
Quoted 5 lines

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

Quoted 4 lines

Regards,

Fabio Estevam

#3 lore raw
Quoted 14 lines · On Thu, December 13, 2012 12:13:58 Thomas Senyk wrote:
Quoted 13 lines · On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:

On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk

Quoted 10 lines · <[email protected]> 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:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

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

Quoted 4 lines
Quoted 4 lines

Regards,

Fabio Estevam

#4 lore raw
Quoted 32 lines · Thomas Senyk
Quoted 14 lines · On Thu, December 13, 2012 12:13:58 Thomas Senyk wrote:
Quoted 13 lines · On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:

On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk

Quoted 10 lines · <[email protected]> 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:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

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?)
Quoted 8 lines

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.

Quoted 4 lines

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

#5 lore raw

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!

Quoted 58 lines · On Thu, December 13, 2012 04:33:49 Gary Thomas wrote:
Quoted 38 lines · Thomas Senyk
Quoted 14 lines · On Thu, December 13, 2012 12:13:58 Thomas Senyk wrote:
Quoted 13 lines · On Thu, December 13, 2012 09:07:05 Fabio Estevam wrote:

On Thu, Dec 13, 2012 at 9:03 AM, Thomas Senyk

Quoted 10 lines · <[email protected]> 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:

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

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
Quoted 7 lines

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.

Quoted 3 lines

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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale