compulab-yokneam / meta-bsp-imx8mq

meta-bsp-imx8mq
1 stars 6 forks source link

Quick Start Guide

Supported CompuLab Machines

Prepare NXP BSP

[source,console] repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml repo sync

Download CompuLab meta layer

[source,console] git clone -b rel_imx_5.4.24_2.1.0-dev https://github.com/compulab-yokneam/meta-bsp-imx8mq.git sources/meta-bsp-imx8mq

Set a desire machine

Build Images

Refer to the https://github.com/nxp-imx/meta-imx/blob/zeus-5.4.24-2.1.0/README[`NXP Readme] for details about how to select a correctbackend&distro`.

imx8mq

This example shows how to build an NXP supported image for the ${COMPULAB_MACHINE} [source,console] MACHINE=${COMPULAB_MACHINE} source sources/meta-bsp-imx8mq/tools/setup-imx8mq-env -b build-xwayland bitbake -k imx-image-full

IMX Boot Target

The default boot target is IMXBOOT_TARGETS = flash_evk configured by https://github.com/compulab-yokneam/meta-bsp-imx8mq/blob/rel_imx_5.4.24_2.1.0-dev/conf/machine/cl-som-imx8.conf#L39[cl-som-imx8.conf].

In order to override the default boot target add IMXBOOT_TARGETS = <target> to the conf/local.conf.

Available boot targets: |=== |HDMI|DP|W/out any video output firmware |IMXBOOT_TARGETS = flash_evk |IMXBOOT_TARGETS = flash_dp_evk |IMXBOOT_TARGETS = flash_evk_no_hdmi |===

Device Trees and available features

Set fdt_file value

NOTE: In U-Boot boot environment device is the bootloader boot device.

NOTE: In Linux boot environment device defined by the /etc/fw_env.config file.

Ready to run precompiled image: