AnsweredAssumed Answered

imx53qsb   yocto   latest kernel.

Question asked by ssinfod on Jul 2, 2014
Latest reply on Jul 6, 2014 by igorpadykov

Hello, I am trying to build the core-image-base with the latest kernel for the imx53qsb.

I modified local.conf file to add "PREFERRED_PROVIDER_virtual/kernel".

 

Here is my local.conf:

 

BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"

MACHINE ??= 'imx53qsb'

DISTRO ?= 'poky'

PREFERRED_PROVIDER_virtual/kernel = "linux-fslc"

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

PACKAGECONFIG_pn-qemu-native = "sdl"

PACKAGECONFIG_pn-nativesdk-qemu = "sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

 

BB_NUMBER_THREADS = '1'

PARALLEL_MAKE = '-j 1'

 

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = ""

 

 

The bitbake of core-image-base when through without error.

However, the imx53qsb is not booting.

Here is the log from the serial console :

 

U-Boot 2014.01 (Jun 24 2014 - 04:01:10)

 

Board: MX53 LOCO

I2C:   ready

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

*** Warning - bad CRC, using default environment

 

In:    serial

Out:   serial

Err:   serial

CPU:   Freescale i.MX53 family rev2.1 at 1000 MHz

Reset cause: POR

Net:   FEC

Hit any key to stop autoboot:  0

mmc0 is current device

reading boot.scr

** Unable to read file boot.scr **

reading uImage

** Unable to read file uImage **

Booting from net ...

BOOTP broadcast 1

BOOTP broadcast 2

BOOTP broadcast 3

BOOTP broadcast 4

BOOTP broadcast 5

 

Retry count exceeded; starting again

BOOTP broadcast 1

 

It seems to be related to boot.scr and uImage..

I prepared the SD card like always with the dd command:

sudo dd if=core-image-base-imx53qsb.sdcard of=/dev/sdb bs=1M

 

Any idea of what is wrong ?

 

Thanks

ssinfod

Outcomes