Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

meta-aries

ARIES Embedded Mxx SoM and Mxx EVK support for OE-core/Yocto.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

meta-aries

This layer provides support for ARIES Embedded Mxx SoM and Mxx EVK for OE-core/Yocto 4.0 (Kirkstone).

The following boards are supported:

  • MCVEVK and MCVEVP
  • MAXEVK
  • M28EVK
  • M53EVK
  • MA5D4EVK

The Liunx Kernel versions 5.10 and 5.15 are supported. By default the Linux version 5.10 is built.

This Yocto layer could be used to build an embedded Linux distribution as shown below. The example is for the MCVEVP. For other EVKs just substitue the machine name "mcvevk" with the name of your EVK:

  • Create a working directory:
pascal
$ mkdir <work_dir>
  • Get the Yocto sources:
pascal
$ cd <work_dir>
$ git clone -b kirkstone https://github.com/ARIES-Embedded/meta-aries.git
$ git clone -b kirkstone git://git.yoctoproject.org/poky.git
$ git clone -b kirkstone https://github.com/openembedded/meta-openembedded.git
  • Setup the build environment for the MCVEVP:
pascal
$ source poky/oe-init-build-env mcvevk
  • Add the line MACHINE ?= "mcvevk" to conf/local.conf:
pascal
$ vi conf/local.conf
...
#MACHINE ?= "edgerouter"
MACHINE ?= "mcvevk"
  • To save disk space you may want to add the line (optional):
pascal
INHERIT += "rm_work"
  • If you prefer Kernel version 5.15 instead of 5.10, please add:
pascal
PREFERRED_VERSION_linux-altera-lts = "5.15%"
  • Add the last two lines to conf/bblayers.conf:
pascal
$ vi conf/bblayers.conf
...
BBLAYERS ?= " \
  /work/aries/poky/meta \
  /work/aries/poky/meta-poky \
  /work/aries/poky/meta-yocto-bsp \
  /work/aries/meta-openembedded/meta-oe \
  /work/aries/meta-aries \
"
  • Build the image core-image-full-cmdline-aries for the MCVEVK:
pascal
$ bitbake core-image-full-cmdline-aries
pascal
Note: If you prefer a really small image (half the size), please
build `core-image-minimal-aries` instead.
  • Finally list the build results (images):
pascal
$ ls -1 tmp/deploy/images/mcvevk
...
core-image-full-cmdline-aries-mcvevk.wic.xz  # Compressed full image for the eMMC
u-boot-with-spl.sfp                    # Content of the "magic" partition
fitImage                               # FIT image with zImage + DTB file
socfpga_cyclone5_mcvevk.dtb            # DTB file for old MCVEVP 
socfpga_cyclone5_mcvevp_rev2_fb.dtb    # DTB file for MCVEVP rev2

Other useful resources: