Difference between revisions of "RK3328"

From Rockchip open source Document
Jump to: navigation, search
 
(50 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  
 +
{{Infobox SoC
 +
| title = RK3328
 +
| image = [[File:rk3328_soc.png|250px]]
 +
| manufacturer = Rockchip
 +
| process = 28nm
 +
| cpu = Quad-Core ARM Cortex-A53
 +
| ltwo =
 +
| extensions =
 +
| memory = DDR3/DDR3L/LPDDR3/DDR4
 +
| gpu = Mali-450MP4
 +
| vpu = 4K VP9 and 4K 10bits H265/H264 video decode, up to 60fps
 +
| apu =
 +
| 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
 +
| other =
 +
| release_date = December 2016
 +
| website = http://www.rock-chips.com/a/en/products/RK33_Series/2017/0118/829.html | Product Page
 +
}}  
  
 +
 
  
 
+
 
 
 
 
 
 
 
  
 
= Overview =
 
= Overview =
Line 14: Line 32:
  
 
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. 
 +
 +
[[File:3328.png|RTENOTITLE]]
  
  
 
= RK3328 SoC Features =
 
= RK3328 SoC Features =
  
 +
{| border="0" cellpadding="1" cellspacing="1" style="width: 972px;"
 +
|-
 +
| style="width: 530px;" |
 
*CPU:  
 
*CPU:  
**ARM Cortex-A53 Quad-Core    
+
**ARM Cortex-A53 Quad-Core   
 +
**32KB L1 I cache and D cache for each CPU
 +
**256KB L2 cache 
 +
*Internal SRAM
 +
**32KB total    
 
*GPU  
 
*GPU  
** Mali-450MP4
+
** Mali-450MP2
 
**Comply with Open GL ES1.1/2.0   
 
**Comply with Open GL ES1.1/2.0   
 
*Multi-Media:  
 
*Multi-Media:  
Line 38: Line 65:
 
**100M Ethernet w/ built-in PHY  
 
**100M Ethernet w/ built-in PHY  
 
**Built-in CVBS and audio DAC  
 
**Built-in CVBS and audio DAC  
**8 channels I2S IO and 8 chanel digital PDM input (for MIC array)
+
**8 channels I2S IO and 8 chanel digital PDM input (for MIC array)  
  
= History =
+
| style="width: 429px;" |  
 +
|}
  
 
 
 
 
 
  
 
= 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]
[[RK3228H_datasheet|RK3228H datasheet]]
+
#[[Media:Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf|Rockchip RK3328TRM V1.1-Part1-20170321.pdf]]
 +
#[[Media:Rk3328_hardware_reference.zip|Rk3328 hardware reference.zip]]  
  
 
 
 
 
Line 55: Line 83:
 
= Software =
 
= Software =
  
 +
See [http://opensource.rock-chips.com/wiki_Linux_user_guide Linux User Guide] setup LInux OS generally;
  
== Borad configuration ==
+
See [http://opensource.rock-chips.com/wiki_U-Boot U-Boot] guide to develop U-Boot;
  
{| border="1" cellpadding="1" cellspacing="1"
+
See [http://opensource.rock-chips.com/wiki_Rockchip_Kernel Rockchip kernel] to develop kernel;
|-
 
| '''board'''
 
| '''kernel'''
 
| '''uboot'''
 
| '''dts'''
 
|-
 
| RK_EVB_RK3228H_BOX_RK805_DDR3
 
| rockchip_linux_defconfig
 
| rk3328_linux_defconfig
 
| rk3328r-linux.dts
 
|}
 
  
 
+
See [http://opensource.rock-chips.com/wiki_Buildroot buildroot and] [http://opensource.rock-chips.com/wiki_Debian debian to] develop and rootfs.
  
 
 
 
 
Line 77: Line 95:
 
== Chip configuration ==
 
== Chip configuration ==
  
{| border="1" cellpadding="1" cellspacing="1"
+
{| border="1" cellpadding="1" cellspacing="1" class="table_style"
 
|-
 
|-
| '''chip'''
+
! '''chip'''
| '''Kernel eMMC index'''
+
! '''Kernel eMMC index'''
| '''Kernel SD index'''
+
! '''Kernel SD index'''
| '''Uboot eMMC index'''
+
! '''Uboot eMMC index'''
| '''Uboot SD index'''
+
! '''Uboot SD index'''
| '''Baud speed'''
+
! '''Baud speed'''
 
|-
 
|-
| RK3399
+
| RK3328
| 1
+
| 2
 
| 0
 
| 0
 
| 0
 
| 0
Line 93: Line 111:
 
| 1500000
 
| 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
 
<pre>repo init -u https://github.com/rockchip-linux/manifests https://github.com/rockchip-linux/manifests -m rk3399.xml
 
repo sync
 
</pre>
 
 
== How to build the sources ==
 
 
=== Build Environment ===
 
 
You need a 64-bit&nbsp;Ubuntu. Note: old versions&nbsp;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&nbsp;ARM cross-compile tool chain and compile kernel relative&nbsp;software package:&nbsp;
 
 
$ sudo apt-get install gcc-arm-linux-gnueabihf&nbsp;gcc-aarch64-linux-gnu device-tree-compiler lzop libncurses5-dev libssl1.0.0 libssl-dev
 
 
=== Installing the build tools and download source ===
 
 
Please follow&nbsp;[http://rockchip.wikidot.com/linux-user-guide linux user guide]&nbsp;to install the build tools and download source.
 
 
&nbsp;
 
 
=== Building kernel ===
 
 
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 ===
 
 
For RK3399 optimized SDK (rkproduct uboot)
 
<pre>CROSS_COMPILE=aarch64-linux-gnu- make rk3399_linux_defconfig all</pre>
 
 
=== Building rootfs ===
 
 
 
==== Debian ====
 
 
You&nbsp;can download the prebuilt image directly.
 
 
[http://pan.baidu.com/s/1eSE1tfW Baidu Pan]、[https://drive.google.com/folderview?id=0BwAJtUrQohwXdGRVYTAwdlJDOUU&usp=sharing Google Drive]
 
 
or you could use the&nbsp;[https://github.com/rockchip-linux/rk-rootfs-build rootfs-build-script]&nbsp;from Rockchip to build rootfs yourselves.
 
 
==== Yocto ====
 
 
If you want to use Yocto to build your rootfs see&nbsp;[http://rockchip.wikidot.com/yocto-user-guide yocto-user-guide]&nbsp;for detail.
 
 
==== Buildroot ====
 
 
If you want to use Buildroot to build your rootfs see&nbsp;[http://rockchip.wikidot.com/buildroot-user-guide buildroot-user-guide]&nbsp;for detail.
 
 
&nbsp;
 
  
 
&nbsp;
 
&nbsp;
 
= Devices =
 
 
If you need the rk3399-excavator&nbsp;board, please communicate through&nbsp;the following&nbsp;contact information.
 
<pre>Telephone: 4007700590    Email: service@rock-chips.com</pre>
 
 
 
 
= See also =
 
 
[[RK3288|RK3288]]
 
 
[[RK3399|RK3399]]
 
 
= Owners of the SoC on IRC =
 
 
= Commuity Support =
 
 
  
 
= References =
 
= References =
  
1.https://en.wikipedia.org/wiki/ARM_Cortex-A53
+
1.[https://en.wikipedia.org/wiki/ARM_Cortex-A53 https://en.wikipedia.org/wiki/ARM_Cortex-A53]
 
 
= Exteneral Links =
 
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 
  
 
&nbsp;
 
&nbsp;

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