...
We do not have a Keith&Koep specific Zeus Yocto recipe.
In short, we describe how to build the generic NXP Yocto recipe and patch this with Seco U-Boot and Linux 5.4, Trizeps VIII (-/Mini/Nano)-Kernel.
Yocto Images
Date | Description | Download |
---|---|---|
13.04.2021 | Yocto Zeus with 5.4 kernel. | myon2-ipanm7-yocto_zeus-20210413.imz, |
Yocto Project Setup
This is only a quick-reference on how to setup and build a Yocto image.
For details please view the Linux and NXP i.MX8M documentation. Especially the „i.MX_Yocto_Project_User's_Guide“.
Code Block |
---|
$ mkdir <project-dir> $ cd <project-dir> $ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b <Branch> -m <Manifest-File> $ repo sync |
Example
Code Block |
---|
$ mkdir imx-yocto-bsp $ cd imx-yocto-bsp $ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml $ repo sync |
...
Code Block |
---|
$ DISTRO=<Distribution> MACHINE=<Machine> source fsl-setup-release.sh -b <build-dir> |
Example
Code Block |
---|
$ DISTRO=fsl-imx-wayland MACHINE=imx8mmevk source fsl-setup-release.sh -b build-wayland |
Image Build
After the setup of the build-environment, you can start to run bitbake to build the image.
...
Code Block |
---|
$ source setup-environment <build-dir> |
Example
Code Block |
---|
$ source setup-environment ./build-wayland $ bitbake imx-image-multimedia |
After a build is complete, the image can be found at <build-dir>/tmp/deploy/images.
The image_name will be <Project-Image>-<Machine>.sdcard.bz2; i.e. imx-image-multimedia-imx8mmevk.sdcard.bz2.
Deploy Image
How to deploy the image depends on wether you have a module with eMMC oder uSD-card-slot.
For a module with eMMC you will use the NXP Universal Update Utility (UUU) to update the files while the module is in USB Serial Download Mode.
For a module with uSD-Slot you can either use NXP Universal Update Utility (UUU) or deploy the image directly to the uSD-card using an uSD-card-reader with your PC.
Flash Image to SD card
Identify the uSD-card plugged to your PC; i.e. by using „lsblk | grep disk“
Code Block |
---|
$ bunzip2 -dk -f <image_name>.sdcard.bz2 $ sudo dd if=<image_name>.sdcard of=/dev/sd<disk> bs=1M conv=fsync |
Flash Image to eMMC
Put the module into USB Serial Download Mode and run:
Code Block |
---|
$ sudo ./uuu -b emmc_all <bootloader> <image_name>.sdcard |
Patch Image with Seco Linux Bootloader and Kernel
Bootloader
Linux-Kernel
Linux 5.4, Trizeps VIII (-/Mini/Nano)
Select Device-Tree
After flashing the image you will need to select the correct device-tree for your device.
...