[meta-freescale] imx53qsb + yocto + latest kernel.

Daiane Angolini daiane.list at gmail.com
Wed Jul 2 09:14:29 PDT 2014


On Thu, Jun 26, 2014 at 12:33 AM, ssinfod ssinfod <ssinfod at gmail.com> wrote:
> 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".

I´m sorry, I missed your email last time


>
> 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"

In your build/tmp/work, do you have the uImage for the target version?

> 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 **

It looks like a corrupted sdcard more than a kernel mistake. Into your
sdcard, do you have any kernel binary?

Daiane


More information about the meta-freescale mailing list