Skip to content

openaia/debmodel

Repository files navigation

OpenAIA Debmodel

Build instruction for OpenAIA Debmodel image in docker container.

Clone source

$ mkdir debmodel-openaia && cd debmodel-openaia
$ git clone [email protected]:edgeble/debos.git
$ git clone [email protected]:edgeble/debmodel.git

Download artifacts

$ cd debos && ./download-artifacts.sh && cd -
$ cd debmodel && ./download-artifacts.sh && cd -

Build OpenAIA Debmodel

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/edgeble/easy-dock/debian:bookworm-v1 sudo debos --memory=8Gb -t buildnr:b0 debmodel/recipe.yaml

Program

We can program microSD or eMMC, assume /dev/sdX is microSD detected in host,

$ sudo bmaptool copy --bmap ncm6b-openaia-deb11-b0.bmap ncm6b-openaia-deb11-b0.img.gz /dev/sdX