Difference between revisions of "RK3328"
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Overview = | = Overview = | ||
Line 70: | Line 45: | ||
*Audio: | *Audio: | ||
*OS: | *OS: | ||
− | |||
+ | = History = | ||
+ | | ||
− | Documentation | + | = Documentation = |
+ | | ||
+ | | ||
+ | | ||
+ | = Software = | ||
+ | == Borad configuration == | ||
+ | {| border="1" cellpadding="1" cellspacing="1" | ||
+ | |- | ||
+ | | '''board''' | ||
+ | | '''kernel''' | ||
+ | | '''uboot''' | ||
+ | | '''dts''' | ||
+ | |- | ||
+ | | rk3399-excavator | ||
+ | | rockchip_linux_defconfig | ||
+ | | rk3399_linux_defconfig | ||
+ | | rk3399-sapphire-excavator-linux.dts | ||
+ | |} | ||
− | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | | ||
+ | == Chip configuration == | ||
− | + | {| border="1" cellpadding="1" cellspacing="1" | |
+ | |- | ||
+ | | '''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 == | |
− | |||
− | 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. | + | 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 | RK3399 optimized Debian & Buildroot | ||
− | + | <pre>repo init -u https://github.com/rockchip-linux/manifests https://github.com/rockchip-linux/manifests -m rk3399.xml | |
− | repo init -u https://github.com/rockchip-linux/manifests https://github.com/rockchip-linux/manifests -m rk3399.xml | ||
repo sync | repo sync | ||
− | + | </pre> | |
− | + | == How to build the sources == | |
− | + | === Build Environment === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | You need a 64-bit Ubuntu. Note: old versions Ubuntu maybe have compatibility issues.<br/> Use below commands to install Ubuntu packages:<br/> $ sudo apt-get install git gnupg flex bison gperf build-essential \<br/> zip tar curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \<br/> libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \<br/> libgl1-mesa-dev g++-multilib mingw32 cmake tofrodos \<br/> python-markdown libxml2-utils xsltproc zlib1g-dev:i386 lzop<br/> $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gn<br/> 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 [http://rockchip.wikidot.com/linux-user-guide linux user guide] to install the build tools and download source. | ||
+ | | ||
− | Building kernel | + | === Building kernel === |
For ARM V8 (RK3399 optimized SDK) | For ARM V8 (RK3399 optimized SDK) | ||
+ | <pre>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</pre> | ||
− | + | === Building uboot === | |
− | |||
− | Building uboot | ||
For RK3399 optimized SDK (rkproduct uboot) | For RK3399 optimized SDK (rkproduct uboot) | ||
+ | <pre>CROSS_COMPILE=aarch64-linux-gnu- make rk3399_linux_defconfig all</pre> | ||
− | + | === Building rootfs === | |
− | Building rootfs | ||
− | Debian | + | ==== Debian ==== |
Yu can download the prebuilt image directly. | Yu can download the prebuilt image directly. | ||
− | Baidu | + | [http://pan.baidu.com/s/1eSE1tfW Baidu Pan]、[https://drive.google.com/folderview?id=0BwAJtUrQohwXdGRVYTAwdlJDOUU&usp=sharing Google Drive] |
+ | |||
+ | or you could use the [https://github.com/rockchip-linux/rk-rootfs-build rootfs-build-script] from Rockchip to build rootfs yourselves. | ||
+ | |||
+ | ==== Yocto ==== | ||
+ | |||
+ | If you want to use Yocto to build your rootfs see [http://rockchip.wikidot.com/yocto-user-guide yocto-user-guide] for detail. | ||
+ | |||
+ | ==== Buildroot ==== | ||
− | + | If you want to use Buildroot to build your rootfs see [http://rockchip.wikidot.com/buildroot-user-guide buildroot-user-guide] for detail. | |
− | + | | |
− | + | | |
− | + | = Devices = | |
− | If you | + | If you need the rk3399-excavator board, please communicate through the following contact information. |
+ | <pre>Telephone: 4007700590 Email: service@rock-chips.com</pre> | ||
+ | = See also = | ||
+ | = Owners of the SoC on IRC = | ||
+ | = Commuity Support = | ||
+ | = References = | ||
− | + | = Exteneral Links = | |
− | + | | |
− | + | | |
− | |||
− | + | | |
− | + | | |
− | + | | |
− | + | |
Revision as of 02:10, 7 March 2017
Contents
Overview
RK3328 consists of Quad-core A53 application processor .
Quad-core Cortex-A53 is integrated with separate Neon and FPU coprocessor, also with shared L2 Cache.
Lots of high-performance interface to get very flexible solution, such as multi-channel display with HDMI2.0a, TV Encoder. TrustZone and crypto hardware are integrated for security. 32bits DDR3/DDR3L/DDR4/LPDDR3 provides high memory bandwidths.
Cortex-A53
SoC Features
- CPU:
- ARM Cortex-A53 Quad-Core
- GPU
- Mali-450MP2
- Comply with Open GL ES1.1/2.0
- Multi-Media:
- 4K VP9 and 4K 10bits H265/H264 video decode, up to 60fps
- 1080P other video decoders (VC-1, MPEG-1/2/4, VP8)
- 1080P video encoder for H.264 and H.265
- Support HDR10 ,HLG HDR , Support conversion between SDR and HDR
- Display:
- HDMI 2.0a for 4K@60Hz with HDCP 1.4/2.2
- Support conversion between Rec.2020 and Rec.709
- Camera:
- Memory:
- LPDDR3/DDR3/DDR3L/DDR4
- eMMC 4.51,SDCard, SPI Flash
- PMIC:
- Embedded Controller:
- Audio:
- OS:
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