Debian

From Rockchip open source Document
Jump to: navigation, search

Introduction

Rockchip offers the support for Debian, a various of packages now adding support to build as Debian package. The rootfs is based on Linaro Releases. Add the support of low level graphics and video acceleration. It include libmali, xserver, gstreamer-rockchip etc.

 

 

Build Rootfs

In your linux SDK root directory. enter to rootfs directory. 

cd rootfs

Build base debian system.

ARCH=armhf ./mk-base-debian.sh

It will generate linaro-stretch-alip-xxxxx-1.tar.gz in rootfs directory(xxxxx is the time stamp). 

Build debug version rk-debian rootfs.

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

Pack rootfs image for flashing.

./mk-image.sh

It will generate linaro-rootfs.img in rootfs directory. 

See rootfs-build-script for more detail. 

Develop in this rootfs

Evaluation

There are some scripts that will help you evaluate rockchip platform.

https://github.com/rockchip-linux/rk-rootfs-build/tree/master/overlay-debug/usr/local/bin

Video decode

https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay-debug/usr/local/bin/test_dec-gst.sh

Player

https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay-debug/usr/local/bin/test_dec-qt.sh

MIPI Camera(rockchip-isp1)

https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay-debug/usr/local/bin/test_camera.sh

MIPI Camera(rk-isp10)

https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay-debug/usr/local/bin/test_camera-rkisp10.sh

USB Camera

https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay-debug/usr/local/bin/test_camera-uvc.sh