Skip to content

iderzh/meta-bsp-imx8mp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configuring the build

Setup Yocto environment

  • WorkDir
mkdir compulab-bsp && cd compulab-bsp
  • Set a CompuLab machine:
export MACHINE=ucm-imx8m-plus

Initialize repo manifests

  • NXP
repo init -u git://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-zeus -m imx-5.4.70-2.3.0.xml
repo sync
  • CompuLab
mkdir -p .repo/local_manifests
cd .repo/local_manifests
wget https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mp/devel/scripts/meta-bsp-imx8mp.xml
cd -
  • Sync Them all
repo sync
cd .repo/local_manifests
ln -sf ../../sources/meta-bsp-imx8mp/scripts/meta-bsp-imx8mp.xml .
cd -

Setup build environment

  • Initialize the build environment:
source sources/meta-bsp-imx8mp/tools/setup-env -b build-${MACHINE}
  • Building the image:
bitbake -k imx-image-full

Deployment

Create a bootable sd card

  • Goto the tmp/deploy/images/${MACHINE} directory:
cd tmp/deploy/images/${MACHINE}
  • Deploy the image:
sudo bmaptool copy imx-image-full-ucm-imx8m-plus.wic.bz2 --bmap imx-image-full-ucm-imx8m-plus.wic.bmap /dev/sdX

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published