Difference between revisions of "RK3288"
Line 20: | Line 20: | ||
| website = | | website = | ||
}} | }} | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | Downloading and Building U-Boot | ||
+ | |||
+ | Before flashing U-Boot to your reference platform, you must download and build it on your Linux host system. NVIDIA offers a Git repository containing the source code for a U-Boot build suitable for L4T. | ||
+ | |||
+ | Prerequisite | ||
+ | |||
+ | Before copying U-Boot, back up all of the original U-Boot files in: | ||
+ | |||
+ | <top>/Linux_for_Tegra/bootloader/<[[../Tegra_Linux_Driver_Package_Development_Guide/Glossary/platform_or_ver.html#|platform|ver]]>/<[[../Tegra_Linux_Driver_Package_Development_Guide/Glossary/board_and_rev.html#|board_and_rev]]>/ | ||
+ | |||
+ | To download and build U-Boot | ||
+ | |||
+ | 1.Download the L4T U-Boot source code by executing the following commands: | ||
+ | |||
+ | $ git clone -n git://nv-tegra.nvidia.com/3rdparty/u-boot.git | ||
+ | |||
+ | Alternatively, you can use the source_sync.sh script in the L4T release. | ||
+ | |||
+ | If you run source_sync.sh -u without parameters, the script prompts for the <TAG_NAME>, which is provided in the Release Notes. | ||
+ | |||
+ | The "-k" option to source_sync syncs the kernel sources. A space between the -u and -k options is allowed. By default, if no option is provided, the script syncs the kernel and u-boot sources. | ||
+ | |||
+ | Also, you can run the script by passing the <TAG_NAME> as follows: | ||
+ | |||
+ | $ cd <your_L4T_root>/Linux_for_Tegra | ||
+ | |||
+ | $ ./source_sync.sh -u <TAG_NAME> | ||
| |
Revision as of 07:27, 8 March 2017
Downloading and Building U-Boot
Before flashing U-Boot to your reference platform, you must download and build it on your Linux host system. NVIDIA offers a Git repository containing the source code for a U-Boot build suitable for L4T.
Prerequisite
Before copying U-Boot, back up all of the original U-Boot files in:
<top>/Linux_for_Tegra/bootloader/<[[../Tegra_Linux_Driver_Package_Development_Guide/Glossary/platform_or_ver.html#|platform|ver]]>/<[[../Tegra_Linux_Driver_Package_Development_Guide/Glossary/board_and_rev.html#|board_and_rev]]>/
To download and build U-Boot
1.Download the L4T U-Boot source code by executing the following commands:
$ git clone -n git://nv-tegra.nvidia.com/3rdparty/u-boot.git
Alternatively, you can use the source_sync.sh script in the L4T release.
If you run source_sync.sh -u without parameters, the script prompts for the <TAG_NAME>, which is provided in the Release Notes.
The "-k" option to source_sync syncs the kernel sources. A space between the -u and -k options is allowed. By default, if no option is provided, the script syncs the kernel and u-boot sources.
Also, you can run the script by passing the <TAG_NAME> as follows:
$ cd <your_L4T_root>/Linux_for_Tegra
$ ./source_sync.sh -u <TAG_NAME>
Contents
Overview
The RK3288 offers an extensible, leading performance,long-standing heritage platform,ideally suited for set-top box solution, tablet and chromebook.The platform is integrated with a Quad-Core Cortex-A17 which up to 1.8GHz and ARM Mali-T764 which supports openGL ES1.1/2.0/3.0, openVG1.1, OpenCL and DirectX11. Abundant interfaces provide a friendly solution for product development. Futhermore, the power consumption is optimal for applications such as imaging/video, communication and broadband infrastructure,and performance audio applications.
RK3288 SoC Features
- CPU:
- Quad Core Cortex-A17 up to 1.8GHz
- 32KB L1-Cache
- 1MB L2-Cache
- GPU:
- ARM Mali-T764 GPU, with TE, ASTC, AFBC technology
- Quad core 3D Graphics engine
- Dual core 2D Graphics engine
- Comply with OpenGL ES1.1/2.0/3.0, OpenVG1.1, OpenCL, DirectX11
- Display:
- 4Kx2K@60fpsHDMI2.0
- Up to 3840X2160 display resolution
- Support dual-channel LVDS/dual-channel MIPI-DSI/eDP1.1
- Camera:
- Support up to 5M pixels
- 8bits/10bits/12bits raw data interface
- Memory:
- Dual channels 64-bit DRAM controller
- Support DDR3/DDR3L, LPDDR2, LPDDR3
- Connectivity:
- Embedded 13M ISP and MIPI-CSI2 interface
- Audio:
- I2S/PCM with 8 channels
- OS:
- Support Android 4.2 or up
History
Documentation
- Rockchip_RK3288_Datasheet_V2.2-20170301
- RK_DDR_Support_List_Ver2.24
- RKeMMCSupportList_Ver1.33_2017_02_15
Software
Borad configuration
board | kernel | uboot | dts |
RK3288_MAINBOARD_V3.0 | rockchip_linux_defconfig | rk3288_linux_defconfig | rk-linux.dts |
Chip configuration
chip | Kernel eMMC index | Kernel SD index | Uboot eMMC index | Uboot SD index | Baud speed |
RK3288 | 1 | 0 | 0 | 1 | 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
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
Firefly-RK3288
Firefly-RK3288 reload
Rock2 Square
Rock2 Full
MiQi
Popmetal
Fennec
phyCORE-RK3288
If you need this board, please contact with the following contact information.
Telephone: 4007700590 Email: service@rock-chips.com
See also
Owners of the SoC on IRC
Commuity Support
There is no support for the RK3288
References
1.http://rockchip.wikidot.com/rk3288#toc0
2.https://en.wikipedia.org/wiki/ARM_Cortex-A17
Exteneral Links
http://www.rock-chips.com/a/en/products/RK32_Series/2014/0504/484.html