armbian-build/patch
Igor Velkov ecd55f4ba5 atf: rk3399: fix PL330 DMA controller initialization
Mainline TF-A doesn't initialize SGRF_SOC_CON8-CON15 which control
DMAC0 and DMAC1 configuration. Without this, the PL330 DMA controllers
cannot be accessed from Linux and PERIPH_ID reads as 0x0.

The fix configures SGRF registers to set DMAC manager threads to
running state and non-secure mode, then pulses DMAC reset to apply
the new configuration.

Based on community reverse-engineering:
- https://lists.denx.de/pipermail/u-boot/2023-April/514267.html
- https://gist.github.com/CrystalGamma/a68333fa4c9fda7eb6c09d30ad4937fe

Tested on Helios64 (RK3399).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 11:36:06 +01:00
..
atf atf: rk3399: fix PL330 DMA controller initialization 2026-01-25 11:36:06 +01:00
crust
kernel sm8550: Add patches for 6.18 2026-01-25 11:35:47 +01:00
misc orangepizero2: fix bluetooth in edge kernel 2026-01-13 20:38:30 +01:00
u-boot Delete patch/u-boot/v2026.01/board_nanopi-r5c/nanopi-r5c_kaslrseed.patch 2026-01-25 11:33:12 +01:00