1.3 KiB
1.3 KiB
Ion Mobility Yocto Manifest
Yocto repository to build and deploy a root filesystem image for Ion Mobility.
Prerequisites
You must have all prerequisites for Yocto, plus the repo
command.
TODO Determine prerequisites for Yocto.
You must also install Google repo
, which can be as simple as:
$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
$ chmod a+rx ~/.bin/repo
Getting Started
- Clone the repository and sync it:
$ mkdir yocto
$ cd yocto
$ repo init -u ssh://git@github.com/Ion-Mobility-Systems/yocto-manifest.git -b main -m ion-mobility-yocto-gatesgarth.xml
$ repo sync
- Enter the Yocto environment. This must be done every time you start to work on Yocto.
$ ./enter-env.sh
The first time you do this, you will be prompted to accept the NXP EULA.
When you are in the environment, the string (yocto)
is prefixed to your prompt.
- Build an image. This can be done by building any available image. For example,
ion-demo-image
:
$ bitbake ion-demo-image
The resulting image file in tmp/deploy/images/gridania-evt2-soc
may be written to an SD card or otherwise inspected.