Difference between revisions of "RK3399"

From Rockchip open source Document
Jump to: navigation, search
Line 62: Line 62:
  
 
== How to build the sources ==
 
== How to build the sources ==
 +
  
 
=== Build Environment ===
 
=== Build Environment ===
  
 
Please use GCC 5
 
Please use GCC 5
<pre><code>$ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler gcc-aarch64-linux-gnu    mtools parted</code></pre>
+
<pre>$ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler gcc-aarch64-linux-gnu    mtools parted</pre>
  
 
=== Installing the build tools and download source ===
 
=== Installing the build tools and download source ===

Revision as of 02:19, 3 March 2017

Overview

Cortex-A7

SoC Features

 

History

 

Documentation

 


Software

Borad configuration

board kernel uboot dts
rk3399-excavator rockchip_linux_defconfig rk3399_linux_defconfig && evb-rk3399_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 or 115200

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

<code>repo init -u [https://github.com/rockchip-linux/manifests https://github.com/rockchip-linux/manifests] -m rk3399.xml
repo sync</code>

How to build the sources

Build Environment

Please use GCC 5

$ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler gcc-aarch64-linux-gnu     mtools parted

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)

<code>CROSS_COMPILE=aarch64-linux-gnu- make rk3399_linux_defconfig all</code>

Building rootfs

Debian

Yu can download the prebuilt image directly.

Baidu PanGoogle Drive

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 go 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