on
07-12-2025
10:55 AM
- edited on
10-07-2025
03:47 AM
by
ZenBot
[AIOT] How to Build Tinker Board 3 Debian Image
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world
Reference: https://docs.docker.com/engine/install/ubuntu/
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
Reference: https://docs.docker.com/engine/install/linux-postinstall/
repo init -u https://github.com/TinkerBoard-Linux/rockchip-linux-manifest.git -b linux5.10-rk356x
./docker_builder/docker-builder-run.sh
Once the above is done, you are in the shell of the newly started Docker container as the following. You can start to issue commands as usual.
Options to run docker: --privileged --rm -it --volume /mnt/2T-disk/linux5.10-rk356x_0620:/source
your_usernmae@292c696527f6:/source$
./build.sh rockchip_rk3566_tinker_board_3_debain_defconfig
./build.sh
It will generate a file which named sdcard_full.img and located at [source tree]/rockdev/sdcard_full.img
./build.sh rockchip_rk3566_tinker_board_3_yocto_defconfig
./build.sh
It will generate a file which named sdcard_full.img and located at [source tree]/rockdev/sdcard_full.img
./build.sh uboot
It will generate a file which named uboot.img and located at [source tree]/u-boot/uboot.img
./build.sh kernel
It will generate a file which named boot.img and located at [source tree]/kernel/boot.img
./build.sh debian
It will generate a file which named linaro-rootfs.img and located at [source tree]/debian/linaro-rootfs.img
./build.sh yocto
It will generate a file which named linaro-rootfs.img and located at [source tree]/ yocto/build/latest/rootfs.img