ROC-RK3328-CC Buy Specs

Firefly first ultra-small open-source main board, unique USB3.0 and DDR4 to make its performance faster and more stable. The ultra-affordable ROC-RK3328-CC is your first choice for exploring the programming world.

¬¬

Build Ubuntu Rfs

Update time:2017-12-29 Views:4039

Prepare

download rootfs source code

git clone https://github.com/FireflyTeam/rk-rootfs-build.git

After downloading, GNU / Linux distributed rootfs.img can be compiled through a series of shell scripts.

Compile the Root File System

  • Build a basic Debian system through the ubuntu-build-service:

sudo apt-get install binfmt-support qemu-user-static
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f
VERSION=stretch TARGET=desktop ARCH=armhf ./mk-base-debian.sh
  • Compile Debian rootfs

VERSION=stretch ARCH=armhf ./mk-rootfs.sh
  • Create ext4 image( linaro-rootfs.img )

./mk-image.sh

Burning Partition Images

After the compiled script is executed, linaro-rootfs.img will be generated in the out/ directory.

Please see 《Flash Image》 to write the unified firmware or partition images.