Build instruction for OpenAIA Debmodel image in docker container.
$ mkdir debmodel-openaia && cd debmodel-openaia
$ git clone [email protected]:openaia/debos.git
$ git clone [email protected]:openaia/debmodel.git
$ cd debos && ./download-artifacts.sh && cd -
$ cd debmodel && ./download-artifacts.sh && cd -
Install the docker at host.
Build OpenAIA Debmodel for 6TOPS,
$ docker run -ti --privileged --net host -v `pwd`:/home/build/shared -w /home/build/shared ghcr.io/openaia/easy-build/build-debos:bookworm-v0.1 sudo debos --memory=8Gb -t imgname:6tops debmodel/recipe.yaml
We can program microSD or eMMC, assume /dev/sdX is microSD detected in host,
$ sudo bmaptool copy --bmap openaia-bullseye-6tops.bmap openaia-bullseye-6tops.img.gz /dev/sdX