Skip to content

aaeon-kunyi/bse-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bse-docker

bse-docker container for build imx8mm-bse OS image

  1. 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

  2. clone this repository on your local development host

    git clone https://github.com/aaeon-kunyi/bse-docker.git

  3. 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

  4. 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

  5. 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

  6. 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 ..

  7. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages