Yocto not booting on i.mx233 Custom Board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Yocto not booting on i.mx233 Custom Board

1,476件の閲覧回数
yanir
Contributor II

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

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

1,053件の閲覧回数
OtavioSalvador
Senior Contributor II

It needs to compare your schematic to check what changes you did; these might have impact in the board boot. I am also backporting  to the U-Boot a serie os patches which improves DDR stability and this might help as well.

Check if mmc had any change in your layout as it seems to fail to probe it.

0 件の賞賛
返信

1,053件の閲覧回数
OtavioSalvador
Senior Contributor II

You need to adjust the IOMUX for your custom design to make it work.

This needs to be done in U-Boot source code and I'd suggest you to make a new board, not hack on mx23evk code, so you make it easy for further upgrades on it.

0 件の賞賛
返信