Core-image-minimal

From Estone Technology Wiki
Revision as of 18:56, 26 April 2019 by Charles (Talk | contribs)

Jump to: navigation, search

Compiling image core-image-minimal

fsl-imx-xwayland Kernel-4.9.123-2.3.0-8mm-ga Yocto(Rocko)

Pre-built .SDcard Image

core-image-minimal imx8mmevk

  • This build is dependent on the following items:

SDK
fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.9-rocko.sh

ROOTFS
core-image-minimal-imx8mmevk-20190416215532v1.0.rootfs.tar.bz2

U-BOOT
uboot-imx

U-BOOT-TOOLS


KERNEL
linux-imx

IMX-MKIMAGE

Compile Image Parts From Source

SDK

Download SDK here: fsl-imx-xwayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-4.9-rocko.sh

or

Compile SDK: SDK From Source

Compile ROOTFS

Note: Start at the directory where SDK was created from last section

$ cd <imx8mm>
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source fsl-setup-release.sh -b <build>
$ bitbake -v core-image-minimal

After a build has succesfully completed, the created image resides at
<imx8mm>/<build>/tmp/deploy/images/imx8mmevk/

Compile UBOOT

$ mkdir <uboot>
$ cd uboot
$ git clone -b imx_v2017.03_4.9.123_imx8mm_ga https://source.codeaurora.org/external/imx/uboot-imx
$ cd uboot-imx
$ git pull
$ source /opt/fsl-imx-xwayland/4.9-rocko/environment-setup-aarch64-poky-linux
$ export ARCH=arm64
$ export CROSS_COMPILE=aarch64-poky-linux-
$ unset LDFLAGS
$ make imx8mm_evk_defconfig
$ make

Compile Kernel

$ mkdir kernel
$ cd kernel
$ git clone -b imx_4.9.123_imx8mm_ga https://source.codeaurora.org/external/imx/linux-imx
$ cd linux-imx
$ git pull
$ source /opt/fls-imx-xwayland/4.9-rocko/environment-setup-aarch64-poky-linux
$ export ARCH=arm64
$ export CROSS_COMPILE=aarch64-poky-linux-
$ unset LDFLAGS
$ make defconfig
$ make