bse-docker container for build imx8mm-bse OS image
-
to install docker.io, please reference this article. And to add your account into docker group and launch docker
sudo groupadd docker # for create docker group
sudo usermod -aG docker <your account> # add your account into docker group
sudo systemctl enable docker
sudo systemctl start docker
sudo reboot # reminds: please reboot the host
-
clone this repository on your local development host
-
build the docker image
cd bse-docker
./build_container.sh # the step will build a docker image on local host and create ./works folder for place your source code
or pull image from github packages
docker pull docker.pkg.github.com/aaeon-kunyi/bse-docker/bse-build-dev:latest
docker tag docker.pkg.github.com/aaeon-kunyi/bse-docker/bse-build-dev bse-build-dev:1.0
-
put ** 'debian-bse_20201211.tgz' ** into ./works and decompress it
tar zxvf debian-bse_20201211.tgz
MACHINE=imx8mm-bse ./aaeon_make_debian.sh -c deploy
-
run the docker image for build imx8mm-bse OS root filesystem and bootloader
./run_container.sh # the step will start a container
sudo MACHINE=imx8mm-bse ./aaeon_make_debian.sh -c all
-
due to docker container limitation, we need exit container environment firt then to generation image
exit # for exit container
cd works # into works folder
sudo MACHINE=imx8mm-bse ./aaeon_make_debian.sh -c rescu
cd ..
-
to check ./output folder
ls ./output
# will show the below on screen
fw_printenv Image.gz imx8mm-bse.dtb imx8mm-bse_setup.img imx-boot-sd.bin rootfs.tar.gz