-
Notifications
You must be signed in to change notification settings - Fork 2
iMX8M U Boot & Kernel build how to
vraevsky edited this page Jan 1, 2019
·
1 revision
cd ${BUILDDIR} DISTRO=fsl-imx-fb MACHINE=cl-som-imx8 bitbake core-image-minimal -c populate_sdk
Kernel | U-Boot |
---|---|
export TARGET=linux-imx |
export TARGET=u-boot-imx |
export DEFCONFIG=cl-som-imx8_defconfig |
export DEFCONFIG=cl-som-imx8_defconfig |
bitbake -c devshell ${TARGET} mkdir -p ${BUILDDIR}/../ooye/${TARGET} ${BUILDDIR}/../sources/meta-compulab-imx8/bb-tools/getenv > ${BUILDDIR}/../ooye/${TARGET}/.rc exit
cd ${BUILDDIR}/../ooye/${TARGET} source ${BUILDDIR}/../ooye/${TARGET}/.rc git clone ${ORIGIN} src git -C src checkout -b development ${HEAD} git -C src am ${PATCHES}/*.patch
- For i.MX 8 builds on the host machine, set the environment with the following command before building.
source /opt/fsl-imx-fb/4.9.51-mx8-ga/environment-setup-aarch64-poky-linux
- Issue build for the target this way:
make -C src ${DEFCONFIG} make -C src -j8