AnsweredAssumed Answered

iMX6sx pingpong example on Sabre SD

Question asked by Evgeny Erlihman on Aug 9, 2016
Latest reply on Aug 15, 2016 by Evgeny Erlihman

Hello,

 

I trying to run the pingpong example on the Sabre SD board with iMX6Solox. I have been able to build and boot core-image-minimal and core-image-base using the 3.10.53 BSP. The problem is that both of them do not have the pingpong example capabilities.

I used the following:

1. MACHINE=imx6sxsabresd source fsl-setup-release.sh -b build

2. bitbake core-image-base

 

So i tried with 3.14.52 and 4.1.15, they both have the pingpong code in them but do not boot for me on the same board. Not booting is usually looping on "Starting Kernel....".

I followed the instruction to the letter and i guess i am missing something. If i want to build the "base" image with no graphical backend, which DISTRO should i use and how exactly do i need to configure the build?

 

This is what i see on the terminal when it loops:

 

U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Aug 08 2016 - 23:27:21)

 

 

CPU:   Freescale i.MX6SX rev1.2 at 792 MHz

CPU:   Temperature 34 C

Reset cause: POR

Board: MX6SX SABRE SDB

I2C:   ready

DRAM:  1 GiB

PMIC:  PFUZE100 ID=0x11

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

*** Warning - bad CRC, using default environment

 

 

Display: Hannstar-XGA (1024x768)

Video: 1024x768x18

gis input --- No input

In:    serial

Out:   serial

Err:   serial

switch to partitions #0, OK

mmc2 is current device

Net:   FEC [PRIME]

Normal Boot

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc2 is current device

switch to partitions #0, OK

mmc2 is current device

reading boot.scr

** Unable to read file boot.scr **

reading zImage

6037600 bytes read in 377 ms (15.3 MiB/s)

Booting from mmc ...

reading imx6sx-sdb.dtb

47342 bytes read in 18 ms (2.5 MiB/s)

Kernel image @ 0x80800000 [ 0x000000 - 0x5c2060 ]

## Flattened Device Tree blob at 83000000

   Booting using the fdt blob at 0x83000000

   Using Device Tree in place at 83000000, end 8300e8ed

switch to ldo_bypass mode!

 

Starting kernel ...

 

U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Aug 08 2016 - 23:27:21)

 

 

CPU:   Freescale i.MX6SX rev1.2 at 792 MHz

CPU:   Temperature 38 C

Reset cause: POR

Board: MX6SX SABRE SDB

I2C:   ready

DRAM:  1 GiB

PMIC:  PFUZE100 ID=0x11

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

*** Warning - bad CRC, using default environment

 

 

Display: Hannstar-XGA (1024x768)

Video: 1024x768x18

gis input --- No input

In:    serial

Out:   serial

Err:   serial

switch to partitions #0, OK

mmc2 is current device

Net:   FEC [PRIME]

Normal Boot

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc2 is current device

switch to partitions #0, OK

mmc2 is current device

reading boot.scr

** Unable to read file boot.scr **

reading zImage

6037600 bytes read in 377 ms (15.3 MiB/s)

Booting from mmc ...

reading imx6sx-sdb.dtb

47342 bytes read in 18 ms (2.5 MiB/s)

Kernel image @ 0x80800000 [ 0x000000 - 0x5c2060 ]

## Flattened Device Tree blob at 83000000

   Booting using the fdt blob at 0x83000000

   Using Device Tree in place at 83000000, end 8300e8ed

switch to ldo_bypass mode!

 

Starting kernel ...

 

 

U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Aug 08 2016 - 23:27:21)

 

 

CPU:   Freescale i.MX6SX rev1.2 at 792 MHz

CPU:   Temperature 39 C

Reset cause: POR

Board: MX6SX SABRE SDB

I2C:   ready

DRAM:  1 GiB

PMIC:  PFUZE100 ID=0x11

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

*** Warning - bad CRC, using default environment

 

 

Display: Hannstar-XGA (1024x768)

Video: 1024x768x18

gis input --- No input

In:    serial

Out:   serial

Err:   serial

switch to partitions #0, OK

mmc2 is current device

Net:   FEC [PRIME]

Normal Boot

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc2 is current device

switch to partitions #0, OK

mmc2 is current device

reading boot.scr

** Unable to read file boot.scr **

reading zImage

6037600 bytes read in 378 ms (15.2 MiB/s)

Booting from mmc ...

reading imx6sx-sdb.dtb

47342 bytes read in 18 ms (2.5 MiB/s)

Kernel image @ 0x80800000 [ 0x000000 - 0x5c2060 ]

## Flattened Device Tree blob at 83000000

   Booting using the fdt blob at 0x83000000

   Using Device Tree in place at 83000000, end 8300e8ed

switch to ldo_bypass mode!

 

 

Starting kernel ...

 

Thanks,

Evgeny

Outcomes