RK3399
Contents
Overview
Cortex-A72
SoC Features
History
Documentation
Software
Borad configuration
board | kernel | uboot | dts |
rk3399-excavator | rockchip_linux_defconfig | rk3399_linux_defconfig | rk3399-sapphire-excavator-linux.dts |
Chip configuration
chip | Kernel eMMC index | Kernel SD index | Uboot eMMC index | Uboot SD index | Baud speed |
RK3399 | 1 | 0 | 0 | 1 | 1500000 |
How to get the sources
The rockchip linux SDK source tree is located in multi Git repository hosted by Github. The SDK uses repo to sync down source code. Beside the generic community Linux support, we have chip optimized Linux SDK and it's also opensource and can get source from github.
RK3399 optimized Debian & Buildroot
repo init -u https://github.com/rockchip-linux/manifests https://github.com/rockchip-linux/manifests -m rk3399.xml repo sync
How to build the sources
Build Environment
You need a 64-bit Ubuntu. Note: old versions Ubuntu maybe have compatibility issues.
Use below commands to install Ubuntu packages:
$ sudo apt-get install git gnupg flex bison gperf build-essential \
zip tar curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 cmake tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 lzop
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gn
u/libGL.so
Install ARM cross-compile tool chain and compile kernel relative software package:
$ sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu device-tree-compiler lzop libncurses5-dev libssl1.0.0 libssl-dev
Installing the build tools and download source
Please follow linux user guide to install the build tools and download source.
Building kernel
For ARM V8 (RK3399 optimized SDK)
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- rockchip_linux_defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- rk3399-sapphire-excavator-linux.img -j4
Building uboot
For RK3399 optimized SDK (rkproduct uboot)
CROSS_COMPILE=aarch64-linux-gnu- make rk3399_linux_defconfig all
Building rootfs
Debian
Yu can download the prebuilt image directly.
or you could use the rootfs-build-script from Rockchip to build rootfs yourselves.
Yocto
If you want to use Yocto to build your rootfs see yocto-user-guide for detail.
Buildroot
If you want to use Buildroot to build your rootfs see buildroot-user-guide for detail.
Devices
If you need the rk3399-excavator board, please communicate through the following contact information.
Telephone: 4007700590 Email: service@rock-chips.com
See also
Owners of the SoC on IRC
Commuity Support
References
Exteneral Links