rt-thread-official/bsp/rockchip/rk3568
Bernard Xiong 98e0c58527
Add ADT Kconfig and fix MMU kconfig issue in Cortex-A (#6901)
* Add ADT Kconfig and fix MMU kconfig issue in Cortex-A

* [BSP] enable ADT
2023-02-06 01:11:04 +08:00
..
applications [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
driver [rt-smart] kernel virtual memory management layer (#6809) 2023-01-08 21:08:55 -05:00
.config Add ADT Kconfig and fix MMU kconfig issue in Cortex-A (#6901) 2023-02-06 01:11:04 +08:00
Kconfig sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
README.md [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
README_zh.md [bsp][readme] 增加scons --exec-path=xxx 命令的使用说明 2022-10-10 09:42:44 +08:00
SConscript [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
SConstruct [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722) 2022-03-29 11:08:25 +08:00
link.lds format link scripts 2023-01-08 22:52:13 -05:00
rtconfig.h Add ADT Kconfig and fix MMU kconfig issue in Cortex-A (#6901) 2023-02-06 01:11:04 +08:00
rtconfig.py [smart/aarch64] code sync (#6750) 2022-12-20 17:49:37 +08:00

README.md

RK3568 BSP Introduction

中文页 | English

1. Introduction

RK3568 is a general-purpose SOC, quad-core 64-bit Cortex-A55 processor, with 22nm lithography process, has frequency up to 2.0GHz and Mali G52 GPU, support 4K decoding and 1080P encoding. Support mangy interfaces such as SATA/PCIE/USB3.0, an 0.8T NPU for lightweight AI applications. Support dual Gigabit Ethernet ports, LPDDR4 memory, etc.

This project ported RT-Thread on RK3568, you can use the RADXA ROCK 3A version of the RK3568 in low-priced, which can even replace the Raspberry Pi 4B.

2. Compiling

Usage ARM Developer GNU ToolChain, it support Linux and Windows:

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads/

Download the xxx-aarch64-none-elf of x86_64 hosted platform, set the RTT_EXEC_PATH is system environment after decompress the binary.

Enter directory rt-thread/bsp/qemu-virt64-aarch64 and input:

scons

3. Execution

RK3568 has different Kernel install methods according to different boardsit, recommend to install into the SD card: (Official|RADXA ROCK 3A).

After install Kernel, storage the rtthread.bin to EFI partition (the second partition), and add this line in the front of boot.cmd in this partition:

fatload mmc 1:1 0x208000 /rtthread.bin;dcache flush;go 0x208000

After modifying the script, build a binary script boot.scr in this partition:

# Install the uboot-mkimage package on Linux, or use MSYS2 to install the u-boot-tools package on Windows
mkimage -C none -A arm -T script -d boot.cmd boot.scr

According to different boards, the serial port can support up to UART0~9, this project uses UART2 (Official|RADXA ROCK 3A) by default, the baud rate is 1500000, please make sure that the serial port used supports this baud rate.

heap: [0x002663f0 - 0x042663f0]

 \ | /
- RT -     Thread Operating System
 / | \     4.1.0 build Mar 19 2022 17:17:29
 2006 - 2022 Copyright by RT-Thread team
Hi, this is RT-Thread!!
msh />

4. Condition

Driver Condition Remark
UART Support UART0~9