compulab-yokneam / meta-bsp-imx8mp

13 stars 14 forks source link

Disclaimer

!IMPORTANT! This is a development branch, that is not relelased by CompuLab officially yet

Supported Compulab Products

Setup Yocto environment

Machine Command Line
ucm-imx8m-plus export MACHINE=ucm-imx8m-plus
ucm-imx8m-plus-sbev export MACHINE=ucm-imx8m-plus-sbev
mcm-imx8m-plus export MACHINE=mcm-imx8m-plus
som-imx8m-plus export MACHINE=som-imx8m-plus
iot-gate-imx8plus export MACHINE=iot-gate-imx8plus
sbc-iot-imx8plus export MACHINE=iot-gate-imx8plus
iotdin-imx8p export MACHINE=iotdin-imx8p

Initialize repo manifests

sed -i '$ a DRAM_CONF = "d2d4"' ${BUILDDIR}/conf/local.conf

Get back to the build environment

In order to use the already created build environment issue these commands:

cd /path/to/compulab-nxp-bsp
repo sync
source setup-environment build-${MACHINE}

Build targets

Target Command The target file location
full image bitbake -k imx-image-full|${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-image-full-${MACHINE}.wic.zst
boot loader bitbake -k imx-boot|${BUILDDIR}/tmp/deploy/images/${MACHINE}/imx-boot-tagged

Deployment

Bootable sd card method

Host Machine

UUU method

Host Machine

Target Device

NOTE The target device must be in SDP or FB mode
MODE Procedure to turn on note
SDP mmc dev 2 1; mmc erase 0x0 0x1000; reset For advanced users only
FB fastboot 0