Building Yocto for DENX M53EVK

# Depending on when you are reading this, you may need to replace "krogoth" by something newer

# Step 1: Clonning
$ git clone git://
$ cd poky/
$ git checkout krogoth

$ git clone git://
$ cd meta-openembedded
$ git checkout krogoth
$ cd ..

$ git clone git://
$ cd meta-fsl-arm
$ git checkout krogoth
$ cd ..

$ git clone git://
$ cd meta-fsl-arm-extra
$ git checkout krogoth
$ cd ..

# Step 2: Configuring
$ export MACHINE="m53evk"
$ source oe-init-build-env

# Then edit your bblayers.conf file to add meta-openembedded/meta-oe, meta-fsl-arm, and meta-fsl-arm-extra:
$ vi conf/bblayers.conf # (.../poky/build/conf/bblayers.conf)

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly


  /home/peter/m53evk/poky/meta \
  /home/peter/m53evk/poky/meta-poky \
  /home/peter/m53evk/poky/meta-yocto-bsp \
  /home/peter/m53evk/poky/meta-openembedded/meta-oe \
  /home/peter/m53evk/poky/meta-fsl-arm \
  /home/peter/m53evk/poky/meta-fsl-arm-extra \

# Step 3: Build
$ bitbake core-image-minimal
Parsing of 1584 .bb files complete (0 cached, 1584 parsed). 2117 targets, 178 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "CentOSLinux-7.2.1511"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "m53evk"
DISTRO            = "poky"
TUNE_FEATURES     = "arm armv7a vfp  neon"
TARGET_FPU        = "softfp"
meta-yocto-bsp    = "krogoth:8f51f6153a09f8048fb4c4ce9cf4a19655240de4"
meta-oe           = "krogoth:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm      = "krogoth:3f34509381092a893b8efe4451018b8d67a5abf6"
meta-fsl-arm-extra = "krogoth:698cf389aa446244a39b597fbf58be1d55096500"


  1. It doesn't really work...

    WARNING: linux-denx-3.9-r0 do_fetch: Failed to fetch URL git://;branch=m53evk-rel-2013-05-02-v3.9, attempting MIRRORS if available
    ERROR: linux-denx-3.9-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
    Cloning into bare repository '/home/peter/m53evk/poky/build/downloads/git2/'...

    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

    ERROR: linux-denx-3.9-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://;branch=m53evk-rel-2013-05-02-v3.9'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/peter/m53evk/poky/build/tmp/work/m53evk-poky-linux-gnueabi/linux-denx/3.9-r0/temp/log.do_fetch.21744
    ERROR: Task 49 (/home/peter/m53evk/poky/meta-fsl-arm-extra/recipes-kernel/linux/, do_fetch) failed with exit code '1'

  2. Any way to solve this problem ?

  3. With morty, "git://" has become "git://", with the associated change in default download directory.

    Morty utilises branch "m53evk-rel-2013-05-02-v3.9" from "git://", which is available at time of writing.

    1. I actually hit the same issue. It seems that the Denx git server is rather slow and/or very loaded. I retried a few times and eventually it managed to clone the repo.


Post a Comment

Popular posts from this blog

Buffalo WZR-1750DHP + OpenWRT

How to tell rpmbuild the number of simultaneous jobs? (make -j)

Adding a serial console to the Buffalo Air Station WZR-1750DHP