AnsweredAssumed Answered

Yocto not booting on i.mx233 Custom Board

Question asked by Yanir Hirshberg on Apr 29, 2013
Latest reply on May 7, 2013 by OtavioSalvador
Branched to a new discussion

Hi I am trying to get yocto up and running on my custom board based on the i.mx23evk. The board works and boots the freescale provided demo image. My board is closely based on the EVK design with some features removed. I have a debug serial port, 24bit lcd with touch and some other things.

 

Any help will be greatly appreciated.


Some details:


I built the core-image-minimal recipe.

 

My local.conf file:

MACHINE ??= 'imx23evk'

DISTRO ?= 'poky'

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"

CONF_VERSION = "1"

 

BB_NUMBER_THREADS = '2'

PARALLEL_MAKE = '-j 2'

ACCEPT_FSL_EULA = "1"

 

 

Here is the output from the debug port when attempting to boot on my custom board:

 

U-Boot 2013.04-00038-ge035df3 (Apr 26 2013 - 20:24:38)

 

CPU:   Freescale i.MX23 rev1.4 at 454 MHz

BOOT:  SSP SD/MMC #0

DRAM:  128 MiB

MMC:   MXS MMC: 0

MMC0: No card detected!

MMC init failed

Using default environment

 

In:    serial

Out:   serial

Err:   serial

Hit any key to stop autoboot:  0

 

Here is the output on the EVK, which boots up successfully (only the u-boot portion is shown):

U-Boot 2013.04-00038-ge035df3 (Apr 26 2013 - 20:24:38)--> 3575 mV fas

Console: switching to colour frame buf

 

CPU:   Freescale i.MX23 rev1.3 at 454 MHz: 0 <--> 2147483 mA fast no

mxs-duart.0:

BOOT:  SSP SD/MMC #00000 (irq = 0) is a

DRAM:  128 MiBr: mxs-duart-1

MMC:   MXS MMC: 0A fast normalerro

*** Warning - bad CRC, using default environmentirq = 24) is a mxs-auart.1-> 2147483 mA fast nor

 

In:    serial60: probe of

 

Out:   serialra

Found APPU

Err:   seriali2c-1: 0 <-->

Hit any key to stop autoboot:  0pi.

U

loop: module loaded/O unit

mmc0 is current deviceNFCsp-1: 0 <-->

 

 

 

 

Outcomes