imx53qsb yocto latest kernel.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx53qsb yocto latest kernel.

1,365 Views
ssinfod
Contributor IV

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

Labels (3)
0 Kudos
Reply
2 Replies

796 Views
ssinfod
Contributor IV

I finally manage to make it worked..

It seems something was wrong with my dd command. (I'm using a VM (ubuntu 14.04) and maybe I did not mount the micro sd card correctly..)

I tried to copy the .sdcard to windows and I used Win32DiskImager.exe and it worked...

Anyway, I confirm that it's working with the daisy and master branch...

ssinfod.

0 Kudos
Reply

796 Views
igorpadykov
NXP Employee
NXP Employee

Thanks ssinfod

for sharing that, this will be useful for other customers.

Best regards

chip

0 Kudos
Reply