rk3399 u-boot docs - arm tf-a compilation failure
andrew at internet-e-mail.com
andrew at internet-e-mail.com
Wed Apr 1 19:37:37 CEST 2026
Building TF-A (per https://docs.u-boot.org/en/latest/board/rockchip/rockchip.html#building) fails with the following error.
LD /home/andrew/arm-u-boot/trusted-firmware-a/build/rk3399/release/bl31/bl31.elf
/usr/lib/gcc-cross/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/bin/ld: /home/andrew/arm-u-boot/trusted-firmware-a/build/rk3399/release/bl31/bl31.elf section `.pmusram' will not fit in region `PMUSRAM'
/usr/lib/gcc-cross/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/bin/ld: region `PMUSRAM' overflowed by 3928 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:1031: /home/andrew/arm-u-boot/trusted-firmware-a/build/rk3399/release/bl31/bl31.elf] Error 1
I'm using a VM freshly installed with ubuntu 24.04 and crossbuild-essential-arm64 gcc-arm-none-eabi binutils-arm-none-eabi. I'd appreciate any pointers.
Andrew
More information about the U-Boot
mailing list