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://git.yoctoproject.org/poky
$ cd poky/
$ git checkout krogoth

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

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

$ git clone git://github.com/Freescale/meta-fsl-arm-extra.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
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /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"
DISTRO_VERSION    = "2.1"
TUNE_FEATURES     = "arm armv7a vfp  neon"
TARGET_FPU        = "softfp"
meta              
meta-poky         
meta-yocto-bsp    = "krogoth:8f51f6153a09f8048fb4c4ce9cf4a19655240de4"
meta-oe           = "krogoth:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm      = "krogoth:3f34509381092a893b8efe4451018b8d67a5abf6"
meta-fsl-arm-extra = "krogoth:698cf389aa446244a39b597fbf58be1d55096500"

Popular posts from this blog

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

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

Buffalo WZR-1750DHP + OpenWRT