Doing Yoctoproject development on the i.MX53 Quick Start Board

Starting with:

Doing this on my Ubuntu 14.04 (64-bit LTS):

sudo apt-get install gawk wget git-core diffstat unzip texinfo build-essential chrpath libsdl1.2-dev xterm curl

Next is to get the latest yocto source code:

$ git clone git://  yocto_latest
$ cd yocto_latest
$ git clone git://
$ git clone git:// meta-oe
$ git checkout -b dizzy origin/dizzy
$ source oe-init-build-env

This additional layer also needs to be added to your bblayers.conf file:

/path/to/yocto_latest/meta \
/path/to/yocto_latest/meta-yocto \
/path/to/yocto_latest/meta-oe/meta-oe \
/path/to/yocto_latest/meta-fsl-arm \

$ Edit conf/local.conf user config file and set imx53 Quick start board machine and enable parallel build features:

MACHINE ?= “imx53qsb”



$ bitbake core-image-minimal$ cd tmp/deploy/images:

└── imx53qsb
├── core-image-minimal-imx53qsb-20150216155950.rootfs.ext3
├── core-image-minimal-imx53qsb-20150216155950.rootfs.manifest
├── core-image-minimal-imx53qsb-20150216155950.rootfs.sdcard
├── core-image-minimal-imx53qsb-20150216155950.rootfs.tar.bz2
├── core-image-minimal-imx53qsb.ext3 -> core-image-minimal-imx53qsb-20150216155950.rootfs.ext3
├── core-image-minimal-imx53qsb.manifest -> core-image-minimal-imx53qsb-20150216155950.rootfs.manifest
├── core-image-minimal-imx53qsb.sdcard -> core-image-minimal-imx53qsb-20150216155950.rootfs.sdcard
├── core-image-minimal-imx53qsb.tar.bz2 -> core-image-minimal-imx53qsb-20150216155950.rootfs.tar.bz2
├── modules–
├── modules-imx53qsb.tgz -> modules–
├── u-boot.imx -> u-boot-imx53qsb-v2015.01+gitAUTOINC+4dab988b9c-r0.imx
├── u-boot-imx53qsb.imx -> u-boot-imx53qsb-v2015.01+gitAUTOINC+4dab988b9c-r0.imx
├── u-boot-imx53qsb-v2015.01+gitAUTOINC+4dab988b9c-r0.imx
├── zImage -> zImage–
├── zImage–
└── zImage-imx53qsb.bin -> zImage–

$ sudo dd if=./core-image-minimal-imx53qsb.sdcard of=<partition of sdcard> bs=1M

where <partition of sdcard> is usually /dev/mmcblk0

Next is to get the latest yocto source code:

$ git clone git://  yocto_latest

Now booting up the sdcard inside i.MX53QSB:

U-Boot 2015.01+fslc+g4dab988 (Feb 17 2015 – 01:03:23)

Board: MX53 LOCO
I2C:   ready
DRAM:  1 GiB
*** Warning – bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
3110704 bytes read in 234 ms (12.7 MiB/s)
Booting from mmc …
reading imx53-qsb.dtb
** Unable to read file imx53-qsb.dtb **
Kernel image @ 0x72000000 [ 0x000000 – 0x2f7730 ]

Starting kernel …

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version (tthtlc@mamapapa) (gcc version 4.9.1 (5
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX53 LOCO Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 250880
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rw rootwait
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 480MB 512MB = 992MB total
Memory: 998016k/998016k available, 17792k reserved, 0K highmem
Virtual kernel memory layout:
vector  : 0xffff0000 – 0xffff1000   (   4 kB)
fixmap  : 0xfff00000 – 0xfffe0000   ( 896 kB)
DMA     : 0xf8e00000 – 0xffe00

References: (a little bit out of date)


2 responses to this post.

  1. Hi- After issuing bitbake core-image-minimal from the build directory, Iam getting the following errors. Can you please let me know what this mean ?

    ERROR: Traceback (most recent call last):
    File “/work/rc/yocto_latest/bitbake/lib/bb/”, line 174, in wrapped
    return func(fn, *args)
    File “/work/rc/yocto_latest/bitbake/lib/bb/”, line 184, in parse_config_file
    return bb.parse.handle(fn, data, include)
    File “/work/rc/yocto_latest/bitbake/lib/bb/parse/”, line 107, in handle
    return h[‘handle’](fn, data, include)
    File “/work/rc/yocto_latest/bitbake/lib/bb/parse/parse_py/”, line 147, in handle
    feeder(lineno, s, abs_fn, statements)
    File “/work/rc/yocto_latest/bitbake/lib/bb/parse/parse_py/”, line 184, in feeder
    raise ParseError(“unparsed line: ‘%s'” % s, fn, lineno);
    ParseError: ParseError at /work/rc/yocto_latest/build/conf/bblayers.conf:14: unparsed line: ‘BBLAYERS ?= ” /work/rc/yocto_latest/meta /work/rc/yocto_latest/meta-yocto /work/rc/yocto_latest/meta-yocto-bsp /work/rc/yocto_latest/meta-oe/meta-oe /work/rc/yocto_latest/meta-fsl-arm ‘

    ERROR: Unable to parse /work/rc/yocto_latest/build/conf/bblayers.conf: ParseError at /work/rc/yocto_latest/build/conf/bblayers.conf:14: unparsed line: ‘BBLAYERS ?= ” /work/rc/yocto_latest/meta /work/rc/yocto_latest/meta-yocto /work/rc/yocto_latest/meta-yocto-bsp /work/rc/yocto_latest/meta-oe/meta-oe /work/rc/yocto_latest/meta-fsl-arm ‘


    • seemed like you line inside bblayers.conf is synthetically incorrect:

      ‘BBLAYERS ?= ” /work/rc/yocto_latest/meta /work/rc/yocto_latest/meta-yocto /work/rc/yocto_latest/meta-yocto-bsp /work/rc/yocto_latest/meta-oe/meta-oe /work/rc/yocto_latest/meta-fsl-arm ‘

      Is it just spaces between the directories listing? I thought it should be spaces + newline?


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: