Skip to content
master
Go to file
Code

Latest commit

Change-Id: Ifea61437e951f80da0da3461c8c96b963ef587a3
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
0a5af5b

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Introduction

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

Available Distro

  • Debian 10 (Buster-X11 and Wayland)~~
sudo apt-get install binfmt-support qemu-user-static
sudo dpkg -i ubuntu-build-service/packages/*
sudo apt-get install -f

Usage for 32bit Debian 10 (Buster-32)

Building a base debian system by ubuntu-build-service from linaro.

	RELEASE=buster TARGET=desktop ARCH=armhf ./mk-base-debian.sh

Building the rk-debian rootfs:

	RELEASE=buster ARCH=armhf ./mk-rootfs.sh

Building the rk-debain rootfs with debug:

	VERSION=debug ARCH=armhf ./mk-rootfs-buster.sh

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

	./mk-image.sh

Usage for 64bit Debian 10 (Buster-64)

Building a base debian system by ubuntu-build-service from linaro.

	RELEASE=buster TARGET=desktop ARCH=arm64 ./mk-base-debian.sh

Building the rk-debian rootfs:

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

Building the rk-debain rootfs with debug:

	VERSION=debug ARCH=arm64 ./mk-rootfs-buster.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!

FAQ

  • noexec or nodev issue noexec or nodev issue /usr/share/debootstrap/functions: line 1450: ../rootfs/ubuntu-build-service/stretch-desktop-arm64/chroot/test-dev-null: Permission denied E: Cannot install into target ... mounted with noexec or nodev

Solution: mount -o remount,exec,dev xxx (xxx is the mount place), then rebuild it.

About

rootfs build scripts for rockchip platform

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.