diff --git a/Documentation/imx_boot_image_build.md b/Documentation/imx_boot_image_build.md index ba1d574..b56e394 100644 --- a/Documentation/imx_boot_image_build.md +++ b/Documentation/imx_boot_image_build.md @@ -15,7 +15,7 @@ Define the following environment variables: |Description|Command Line| |---|---| |NXP firmware name|export NXP_FIRMWARE=firmware-imx-8.16.bin| -|CompuLab release|export CPL_RELEASE=${MACHINE}_r3.2| +|CompuLab release|export CPL_RELEASE=rel_imx_5.15.32-2.0.0| |CompuLab branch name|export CPL_BRANCH=lf-5.15.32-2.0.0_${MACHINE}| |ATF revision|export ATF=lf-5.15.32-2.0.0| |OPTEE revision|export OPTEE=lf-5.15.32-2.0.0| diff --git a/Documentation/imx_boot_image_hab_build.md b/Documentation/imx_boot_image_hab_build.md index 38009b9..67e6fd3 100644 --- a/Documentation/imx_boot_image_hab_build.md +++ b/Documentation/imx_boot_image_hab_build.md @@ -15,7 +15,7 @@ Define the following environment variables: |Description|Command Line| |---|---| |NXP firmware name|export NXP_FIRMWARE=firmware-imx-8.16.bin| -|CompuLab release|export CPL_RELEASE=${MACHINE}_r3.2| +|CompuLab release|export CPL_RELEASE=rel_imx_5.15.32-2.0.0| |CompuLab branch name|export CPL_BRANCH=lf-5.15.32-2.0.0_${MACHINE}| |ATF revision|export ATF=lf-5.15.32-2.0.0| |OPTEE revision|export OPTEE=lf-5.15.32-2.0.0| diff --git a/Documentation/linux_kernel_build.md b/Documentation/linux_kernel_build.md index c5efd20..58aa47d 100644 --- a/Documentation/linux_kernel_build.md +++ b/Documentation/linux_kernel_build.md @@ -15,7 +15,7 @@ Define the following environment variables: |Description|Command Line| |---|---| |NXP release name|export NXP_RELEASE=lf-5.15.y| -|CompuLab branch name|export CPL_BRANCH=rel_imx_5.15.32-2.0.0-stable| +|CompuLab branch name|export CPL_BRANCH=rel_imx_5.15.32-2.0.0| ## Prerequisites It is up to developer to setup arm64 build environment: diff --git a/README.md b/README.md index c3b1043..7c65396 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,8 @@ -# VERY EXPERIMENTAL BRANCH -# Only for development purpose -# NOT intended for a production -# Dont try this at home! - - - - - - - - - # Quick Start Guide Supported CompuLab machines: -* `IOT-GATE-iMX8` +* mcm-imx8m-mini +* ucm-imx8m-mini ## Setup Yocto Environment @@ -25,32 +13,39 @@ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/rep chmod a+x ~/bin/repo PATH=${PATH}:~/bin ``` +## Set environmet varables: +``` +export LREPO=imx_5.15.32-2.0.0-compulab.xml +export CLB_RELEASE=rel_imx_5.15.32-2.0.0 +``` +### Define COMPULAB_MACHINE environment variable +|Machine|Command Line| +|---|---| +|mcm-imx8m-mini|```export COMPULAB_MACHINE=mcm-imx8m-mini``` +|ucm-imx8m-mini|```export COMPULAB_MACHINE=ucm-imx8m-mini``` -* Create a work directory +## Prepare NXP BSP ``` mkdir compulab-freescale-bsp && cd compulab-freescale-bsp -``` -* Set environmet varables: -``` -export COMPULAB_MACHINE=iot-gate-imx8 -export LREPO=imx_5.15.32-2.0.0-compulab.xml -export CLB_RELEASE=rel_imx_5.15.32-2.0.0-stable/ - repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.32-2.0.0.xml - +``` +## Download CompuLab meta layer +``` mkdir -p .repo/local_manifests wget --directory-prefix .repo/local_manifests https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mm/${CLB_RELEASE}/scripts/${LREPO} - +``` +# Get entire BSP tree +``` repo sync ``` ## Build -### Run CompuLab Linux Yocto Project setup -* Initialize the build environment: +## Run CompuLab Linux Yocto Project setup +|NOTE|Refer to the [NXP Readme](https://github.com/nxp-imx/meta-imx/blob/kirkstone-5.15.32-2.0.0/README) for details about how to select a correct backend & distro.| +|---|---| ``` MACHINE=${COMPULAB_MACHINE} DISTRO=fsl-imx-xwayland source compulab-setup-env -b build ``` - ## Build image ``` -bitbake -k core-image-full-cmdline +bitbake -k compulab-ucm-imx8m-mini ```