I have referenced https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-%E6%9C%BA%E5%99%A8%E4%BA%BA%E5%B9%B... download Linux 5.4.47_2.2.0 according to https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
and I want to know how to install ubuntu
MACHINE=imx8mpevk
Hi,
Get default packages
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-
multilib build-essential chrpath socat cpio python python3 python3-pip
python3-pexpect xz-utils debianutils iputils-ping python3 git python3-
jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm rsync curl zstd pzstd
lz4c lz4 libssl-dev
Fetch git
$ mkdir ~/projects/yocto/bin
$ curl https://storage.googleapis.com/git-repo-downloads/repo >
~/proyects/yocto/bin/repo
$ chmod a+x ~/projects/yocto/bin/repo
$ export PATH=~/projects/yocto/bin:$PATH
Set git variables
$ git config --global user.name "Joseph"
$ git config --global user.email "joseph..."
$ git config --list
user.name=Joseph
user.email=joseph...
color.ui=auto
Download BSP.
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml
$ repo sync
Generate local.conf file
$ DISTRO=<distro name> MACHINE=<machine name> source imx-setuprelease.
sh -b <build dir>
Select an image an bake
$ bitbake imx-image-multimedia
Then flash the image
$ zstdcat <image_name>.wic.zst | sudo dd of=/dev/sd<partition>
bs=1M conv=fsync
Thank you