mirror of
https://github.com/feyisay07/meta-bsp-imx8mm.git
synced 2026-09-24 14:20:07 +01:00
Update README.md
This commit is contained in:
@@ -2,9 +2,29 @@
|
||||
# Only for development purpose
|
||||
# NOT intended for production
|
||||
|
||||
# Quick Start Guide
|
||||
|
||||
Supported CompuLab machines:
|
||||
* `IOT-GATE-iMX8`
|
||||
|
||||
## Setup Yocto Environment
|
||||
|
||||
* Install the `repo` utility:
|
||||
```
|
||||
export COMPULAB_MACHINE=ucm-imx8m-mini
|
||||
export LREPO=imx_5.15.32-2.0.0-compulab.xml
|
||||
mkdir ~/bin
|
||||
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
|
||||
chmod a+x ~/bin/repo
|
||||
PATH=${PATH}:~/bin
|
||||
```
|
||||
|
||||
* Create a work directory
|
||||
```
|
||||
mkdir compulab-freescale-bsp && cd compulab-freescale-bsp
|
||||
```
|
||||
* Set environmet varables:
|
||||
```
|
||||
export COMPULAB_MACHINE=iot-gate-imx8
|
||||
export LREPO=${COMPULAB_MACHINE}.xml
|
||||
export CLB_RELEASE=rel_imx_5.15.32-2.0.0-dev/
|
||||
|
||||
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.32-2.0.0.xml
|
||||
@@ -14,3 +34,14 @@ wget --directory-prefix .repo/local_manifests https://raw.githubusercontent.com/
|
||||
|
||||
repo sync
|
||||
```
|
||||
## Build
|
||||
### Run CompuLab Linux Yocto Project setup
|
||||
* Initialize the build environment:
|
||||
```
|
||||
MACHINE=${COMPULAB_MACHINE} DISTRO=fsl-imx-xwayland source compulab-setup-env -b build
|
||||
```
|
||||
|
||||
## Build image
|
||||
```
|
||||
bitbake -k core-image-full-cmdline
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user