Difference between revisions of "RK3328"

From Rockchip open source Document
Jump to: navigation, search
 
(67 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  
*[https://linux-sunxi.org/A31#Overview 1 Overview]  
+
{{Infobox SoC
**[https://linux-sunxi.org/A31#Cortex-A7 1.1 Cortex-A7]
+
| title = RK3328
**[https://linux-sunxi.org/A31#A31s 1.2 A31s] 
+
| image = [[File:rk3328_soc.png|250px]]
*[https://linux-sunxi.org/A31#A31_SoC_Features 2 A31 SoC Features]
+
| manufacturer = Rockchip
*[https://linux-sunxi.org/A31#History 3 History]
+
| process = 28nm
*[https://linux-sunxi.org/A31#Documentation 4 Documentation]
+
| cpu = Quad-Core ARM Cortex-A53
*[https://linux-sunxi.org/A31#Software 5 Software]
+
| ltwo =
**[https://linux-sunxi.org/A31#Original_SDKs 5.1 Original SDKs]
+
| extensions =
**[https://linux-sunxi.org/A31#GPL_Violations 5.2 GPL Violations]
+
| memory = DDR3/DDR3L/LPDDR3/DDR4
***[https://linux-sunxi.org/A31#a31_hummbingbird_V3.3_v2_kfb_0k_SDK 5.2.1 a31_hummbingbird_V3.3_v2_kfb_0k SDK]
+
| gpu = Mali-450MP4
****[https://linux-sunxi.org/A31#kernel 5.2.1.1 kernel]
+
| vpu = 4K VP9 and 4K 10bits H265/H264 video decode, up to 60fps
****[https://linux-sunxi.org/A31#u-boot 5.2.1.2 u-boot] 
+
| apu =
***[https://linux-sunxi.org/A31#a31_V4.5_MerriiLinux_Humming_SDK 5.2.2 a31_V4.5_MerriiLinux_Humming SDK]
+
| video = HDMI 2.0a,
****[https://linux-sunxi.org/A31#kernel_2 5.2.2.1 kernel]
+
| audio = 8 channels I2S/PDM
****[https://linux-sunxi.org/A31#u-boot_2 5.2.2.2 u-boot] 
+
| storage = 4x SD Card, eMMC
***[https://linux-sunxi.org/A31#a31_v4.5_hummingbird_kfb_ok_SDK 5.2.3 a31_v4.5_hummingbird_kfb_ok SDK]
+
| usb = 1* USB2.0 otg, 1* USB 2.0 Host, 1* USB 3.0 Host
****[https://linux-sunxi.org/A31#kernel_3 5.2.3.1 kernel]
+
| other =
****[https://linux-sunxi.org/A31#u-boot_3 5.2.3.2 u-boot]     
+
| release_date = December 2016
*[https://linux-sunxi.org/A31#Devices 6 Devices]
+
| website = http://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html | Product Page
*[https://linux-sunxi.org/A31#See_also 7 See also]
+
}}  
*[https://linux-sunxi.org/A31#Owners_of_the_SoC_on_IRC 8 Owners of the SoC on IRC]
+
 
*[https://linux-sunxi.org/A31#Community_Support 9 Community Support]
+
 
*[https://linux-sunxi.org/A31#References 10 References]
+
 
*[https://linux-sunxi.org/A31#External_links 11 External links]
+
 
  
 
= Overview =
 
= Overview =
  
RK3328 consists of Quad-core A53 application processor .
+
RK3328 offers a high-integration and power efficiency SOC for 4K HDR OTT/IPTV. It support HDR10 ,HLG HDR , 4K 10bits 30fps H.264 video decoder and 4K 10bits 60fps H265 video decoder.Comply with lots of high-performance interface,such as multi-channel display with HDMI2.0a, TV Encoder, the Quad-core GPU can acheive high-resolution display and game.
 +
 
 +
== Cortex-A53 ==
  
 
Quad-core Cortex-A53 is integrated with separate Neon and FPU coprocessor, also with shared L2 Cache. 
 
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. <!--[if gte mso 9]><xml>
+
[[File:3328.png|RTENOTITLE]]
<o:OLEObject Type="Embed" ProgID="Visio.Drawing.11" ShapeID="_x0000_i1025"
 
  DrawAspect="Content" ObjectID="_1550067703">
 
</o:OLEObject>
 
</xml><![endif]--> <!--[if gte mso 9]><xml>
 
<o:OLEObject Type="Embed" ProgID="Visio.Drawing.11" ShapeID="_x0000_i1025"
 
  DrawAspect="Content" ObjectID="_1550067703">
 
</o:OLEObject>
 
</xml><![endif]-->
 
  
&nbsp;
 
  
== Cortex-A53 ==
+
= RK3328 SoC Features =
 
 
&nbsp;
 
 
 
= SoC Features =
 
  
 +
{| border="0" cellpadding="1" cellspacing="1" style="width: 972px;"
 +
|-
 +
| style="width: 530px;" |
 
*CPU:  
 
*CPU:  
**ARM Cortex-A53&nbsp;Quad-Core&nbsp;   
+
**ARM Cortex-A53&nbsp;Quad-Core&nbsp;  
 +
**32KB L1&nbsp;I cache and D cache for each CPU
 +
**256KB L2 cache 
 +
*Internal SRAM
 +
**32KB total    
 
*GPU  
 
*GPU  
 
**&nbsp;Mali-450MP2  
 
**&nbsp;Mali-450MP2  
Line 62: Line 58:
 
**HDMI 2.0a for 4K@60Hz with HDCP 1.4/2.2  
 
**HDMI 2.0a for 4K@60Hz with HDCP 1.4/2.2  
 
**Support conversion between Rec.2020 and Rec.709   
 
**Support conversion between Rec.2020 and Rec.709   
*Camera:
 
 
*Memory:  
 
*Memory:  
 
**LPDDR3/DDR3/DDR3L/DDR4  
 
**LPDDR3/DDR3/DDR3L/DDR4  
 
**eMMC 4.51,SDCard, SPI Flash   
 
**eMMC 4.51,SDCard, SPI Flash   
*PMIC:
+
*External interface
*Embedded Controller:
+
**USB 2.0 x2 and USB 3.0 x1
*Audio:
+
**100M Ethernet w/ built-in PHY
*OS:
+
**Built-in CVBS and audio DAC
History
+
**8 channels I2S IO and 8 chanel digital PDM input (for MIC array) 
  
 +
| style="width: 429px;" | &nbsp;
 +
|}
  
 +
&nbsp;
  
Documentation
+
= Documentation =
  
 +
#[http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3328_Datasheet_V1.1-20170309.pdf Rockchip_RK3328_Datasheet_V1.1-20170309.pdf]
 +
#[http://opensource.rock-chips.com/images/d/d5/RK3328_Linux-Debian_V1.1_Development_Guide-20170711.pdf RK3328_Linux-Debian_V1.1_Development_Guide-20170711.pdf]
 +
#[[Media:Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf|Rockchip RK3328TRM V1.1-Part1-20170321.pdf]]
 +
#[[Media:Rk3328_hardware_reference.zip|Rk3328 hardware reference.zip]]
  
 +
&nbsp;
  
 +
= Software =
  
 +
See&nbsp;[http://opensource.rock-chips.com/wiki_Linux_user_guide Linux User Guide]&nbsp;setup LInux OS generally;
  
 +
See&nbsp;[http://opensource.rock-chips.com/wiki_U-Boot U-Boot]&nbsp;guide to develop U-Boot;
  
 +
See&nbsp;[http://opensource.rock-chips.com/wiki_Rockchip_Kernel Rockchip kernel]&nbsp;to develop kernel;
  
Software
+
See&nbsp;[http://opensource.rock-chips.com/wiki_Buildroot buildroot and]&nbsp;[http://opensource.rock-chips.com/wiki_Debian debian&nbsp;to]&nbsp;develop and rootfs.
  
Borad configuration
+
&nbsp;
  
board kernel uboot dts
+
== Chip configuration ==
rk3399-excavator rockchip_linux_defconfig rk3399_linux_defconfig rk3399-sapphire-excavator-linux.dts
 
  
 +
{| border="1" cellpadding="1" cellspacing="1" class="table_style"
 +
|-
 +
! '''chip'''
 +
! '''Kernel eMMC index'''
 +
! '''Kernel SD index'''
 +
! '''Uboot eMMC index'''
 +
! '''Uboot SD index'''
 +
! '''Baud speed'''
 +
|-
 +
| RK3328
 +
| 2
 +
| 0
 +
| 0
 +
| 1
 +
| 1500000
 +
|}
  
 +
&nbsp;
  
 +
= References =
  
Chip configuration
+
1.[https://en.wikipedia.org/wiki/ARM_Cortex-A53 https://en.wikipedia.org/wiki/ARM_Cortex-A53]
  
chip Kernel eMMC index Kernel SD index Uboot eMMC index Uboot SD index Baud speed
+
&nbsp;
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.
 
 
 
Baidu Pan、Google 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 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
 

Latest revision as of 01:38, 23 March 2022

RK3328
Rk3328 soc.png
Manufacturer Rockchip
Process 28nm
CPU Quad-Core ARM Cortex-A53
Memory DDR3/DDR3L/LPDDR3/DDR4
GPU Mali-450MP4
VPU 4K VP9 and 4K 10bits H265/H264 video decode, up to 60fps
Connectivity
Video HDMI 2.0a,
Audio 8 channels I2S/PDM
Storage 4x SD Card, eMMC
USB 1* USB2.0 otg, 1* USB 2.0 Host, 1* USB 3.0 Host
Release Date December 2016
Website

Product Page

 

 

 

Overview

RK3328 offers a high-integration and power efficiency SOC for 4K HDR OTT/IPTV. It support HDR10 ,HLG HDR , 4K 10bits 30fps H.264 video decoder and 4K 10bits 60fps H265 video decoder.Comply with lots of high-performance interface,such as multi-channel display with HDMI2.0a, TV Encoder, the Quad-core GPU can acheive high-resolution display and game.

Cortex-A53

Quad-core Cortex-A53 is integrated with separate Neon and FPU coprocessor, also with shared L2 Cache. 

RTENOTITLE


RK3328 SoC Features

  • CPU:
    • ARM Cortex-A53 Quad-Core 
    • 32KB L1 I cache and D cache for each CPU
    • 256KB L2 cache
  • Internal SRAM
    • 32KB total
  • 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
  • Memory:
    • LPDDR3/DDR3/DDR3L/DDR4
    • eMMC 4.51,SDCard, SPI Flash
  • External interface
    • USB 2.0 x2 and USB 3.0 x1
    • 100M Ethernet w/ built-in PHY
    • Built-in CVBS and audio DAC
    • 8 channels I2S IO and 8 chanel digital PDM input (for MIC array)
 

 

Documentation

  1. Rockchip_RK3328_Datasheet_V1.1-20170309.pdf
  2. RK3328_Linux-Debian_V1.1_Development_Guide-20170711.pdf
  3. Rockchip RK3328TRM V1.1-Part1-20170321.pdf
  4. Rk3328 hardware reference.zip

 

Software

See Linux User Guide setup LInux OS generally;

See U-Boot guide to develop U-Boot;

See Rockchip kernel to develop kernel;

See buildroot and debian to develop and rootfs.

 

Chip configuration

chip Kernel eMMC index Kernel SD index Uboot eMMC index Uboot SD index Baud speed
RK3328 2 0 0 1 1500000

 

References

1.https://en.wikipedia.org/wiki/ARM_Cortex-A53