rootfs build scripts for rockchip platform
GLSL Shell Makefile Python
Switch branches/tags
Nothing to show
Clone or download
Caesar-github readme.md: fixes the typo
Change-Id: Id89b91409bf9dacf119c13b72ae154887498b52e
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Latest commit 37a2a52 Jul 19, 2018

readme.md

Introduction

A set of shell scripts that will build GNU/Linux distribution rootfs image for rockchip platform.

Available Distro

  • Debian Stretch (X11)
  • Debian Buster (Wayland)

Usage for 32bit Debian

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

Creating the ext4 image(linaro-rootfs.img):

./mk-image.sh

Usage for 64bit Debian

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=arm64 ./mk-base-debian.sh

Building the rk-debian rootfs:

RELEASE=stretch ARCH=arm64 ./mk-rootfs.sh

Building the rk-debain rootfs with debug:

VERSION=debug ARCH=arm64 ./mk-rootfs-stretch-arm64.sh

Creating the ext4 image(linaro-rootfs.img):

./mk-image.sh

Cross Compile for ARM Debian

Docker + Multiarch

Package Code Base

Please apply those patches to release code base before rebuilding!