A set of shell scripts that will build GNU/Linux distribution rootfs image for rockchip platform.
- Debian Stretch (X11)
Debian Buster (Wayland)
Building a base debian system by ubuntu-build-service from linaro.
sudo apt-get install binfmt-support qemu-user-static
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f
RELEASE=stretch TARGET=desktop ARCH=armhf ./mk-base-debian.sh
Building the rk-debian rootfs:
RELEASE=stretch ARCH=armhf ./mk-rootfs.sh
Building the rk-debain rootfs with debug:
VERSION=debug ARCH=armhf ./mk-rootfs-stretch.sh && ./mk-image.sh
Creating the ext4 image(linaro-rootfs.img):
./mk-image.sh
Please apply those patches to release code base before rebuilding!