From: Tianling Shen Date: Mon, 5 Aug 2024 08:10:42 +0000 (+0800) Subject: uboot-rockchip: add ROCK 5A support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d44fcee73c30b5a867f98e9945b966292cee4dc7;p=openwrt%2Fstaging%2Fwigyori.git uboot-rockchip: add ROCK 5A support Add support for the Radxa ROCK 5A board. Signed-off-by: Tianling Shen Link: https://github.com/openwrt/openwrt/pull/16149 Signed-off-by: Hauke Mehrtens --- diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile index d127d7108d..3cd5818ac7 100644 --- a/package/boot/uboot-rockchip/Makefile +++ b/package/boot/uboot-rockchip/Makefile @@ -213,22 +213,33 @@ define U-Boot/rock-3a-rk3568 radxa_rock-3a endef + # RK3588 boards -define U-Boot/Default/rk3588 +define U-Boot/rk3588/Default BUILD_SUBTARGET:=armv8 DEPENDS:=+PACKAGE_u-boot-$(1):trusted-firmware-a-rk3588 ATF:=rk3588_bl31_v1.45.elf TPL:=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin endef + +# RK3588S boards + define U-Boot/nanopi-r6s-rk3588s - $(U-Boot/Default/rk3588) + $(U-Boot/rk3588/Default) NAME:=NanoPi R6S BUILD_DEVICES:= \ friendlyarm_nanopi-r6s endef +define U-Boot/rock5a-rk3588s + $(U-Boot/rk3588/Default) + NAME:=ROCK 5A + BUILD_DEVICES:= \ + radxa_rock-5a +endef + UBOOT_TARGETS := \ nanopc-t4-rk3399 \ nanopi-r4s-rk3399 \ @@ -250,7 +261,8 @@ UBOOT_TARGETS := \ nanopi-r5s-rk3568 \ radxa-e25-rk3568 \ rock-3a-rk3568 \ - nanopi-r6s-rk3588s + nanopi-r6s-rk3588s \ + rock5a-rk3588s UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes