emomaxd opened a new pull request, #19489: URL: https://github.com/apache/nuttx/pull/19489
## 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. - Built `orangepi-5-pro:nsh` with Make and CMake/Ninja, and booted `nuttx.bin` with U-Boot `booti` - Verified UART2 transmit and receive at 1500000 baud - Reached NSH and checked `uname`, procfs and memory information - Verified the ARM generic timer with `sleep 5` and `/proc/uptime` - Verified PSCI reset with `reboot` - Built and ran `orangepi-5-pro:ostest`; it completed with status 0 - Ran `calib_udelay`; it reported `CONFIG_BOARD_LOOPSPERMSEC=116422` with R-squared 1.0000 - Built the documentation with Sphinx warnings treated as errors - Ran `git diff --check` ### NSH boot  ### OSTest  ### Board  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
