boards/arm64: add RK3588S and Orange Pi 5 Pro support#19489
Merged
Conversation
Add RK3588 chip selection, GICv3 and MMU boot hooks, PSCI support, and an inherited 16550 console. Signed-off-by: Emre Cecanpunar <emreleno@gmail.com>
emomaxd
requested review from
acassis,
jerpelea,
lupyuen,
pussuw and
raiden00pl
as code owners
July 20, 2026 15:28
xiaoxiang781216
previously approved these changes
Jul 20, 2026
Contributor
|
Awesome! Can you change the commit message topics more in line with:
|
linguini1
reviewed
Jul 20, 2026
emomaxd
force-pushed
the
rk3588-orangepi5pro
branch
from
July 20, 2026 16:56
70e720d to
96ce4f7
Compare
Contributor
Author
|
Thanks! I'm working on docs currently. |
emomaxd
force-pushed
the
rk3588-orangepi5pro
branch
from
July 20, 2026 17:12
96ce4f7 to
bfef949
Compare
linguini1
previously approved these changes
Jul 20, 2026
Add NSH and OSTest configurations, the DRAM linker script, and the minimal board initialization and reset hooks for RK3588S. Signed-off-by: Emre Cecanpunar <emreleno@gmail.com>
Document the RK3588S firmware handoff, memory and console settings, build configurations, boot procedure, and hardware validation. Signed-off-by: Emre Cecanpunar <emreleno@gmail.com>
emomaxd
force-pushed
the
rk3588-orangepi5pro
branch
from
July 20, 2026 18:12
bfef949 to
afd94c7
Compare
acassis
approved these changes
Jul 20, 2026
Contributor
Author
|
Thanks for the feedback! I've updated the docs following the template at Specifically:
Also reworded the commit topics to |
linguini1
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add initial NuttX support for the Rockchip RK3588S and Orange Pi 5 Pro.
The port boots through U-Boot, enters NuttX at EL2, switches to EL1 and reaches NSH. It includes the ARM64 boot path, GICv3 setup, the ARM generic timer, a UART2 console with polling transmit, PSCI reset, NSH and OSTest configurations, and board documentation.
The initial MMU setup uses identity mappings, as existing ARM64 ports such as BCM2711 do. Only the required UART2, GIC and DRAM regions are mapped.
The RAM mapping is intentionally limited to a 512 MiB window starting at
0x02080000. This is not a hardware limit. It is a conservative range inside the first DRAM bank reported by U-Boot on the tested 4 GiB board and stays below the U-Boot runtime and FDT locations observed during testing. Reading the firmware-provided memory and reserved-memory ranges from the DTB can be added separately.DRAM training, UART2 clock and pin setup, and boot media access remain firmware responsibilities. The initial port does not parse the DTB or include peripheral drivers or SMP support.
Impact
This adds a new ARM64 SoC and board. Existing configurations are unchanged.
Testing
Tested on a 4 GiB Orange Pi 5 Pro with an AArch64 bare-metal toolchain.
orangepi-5-pro:nshwith Make and CMake/Ninja, and bootednuttx.binwith U-Bootbootiuname, procfs and memory informationsleep 5and/proc/uptimerebootorangepi-5-pro:ostest; it completed with status 0calib_udelay; it reportedCONFIG_BOARD_LOOPSPERMSEC=116422with R-squared 1.0000git diff --checkNSH boot
OSTest
Board