From 93570e4796d279fd5186bb82282116a4fd4f0536 Mon Sep 17 00:00:00 2001 From: ophub <68696949+ophub@users.noreply.github.com> Date: Fri, 5 Jul 2024 17:55:48 +0800 Subject: [PATCH] Add support for e52c(rk3588s) --- luci-app-amlogic/Makefile | 2 +- luci-app-amlogic/root/usr/sbin/openwrt-update-rockchip | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/luci-app-amlogic/Makefile b/luci-app-amlogic/Makefile index c8b96c14..3f2adbf6 100644 --- a/luci-app-amlogic/Makefile +++ b/luci-app-amlogic/Makefile @@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-amlogic -PKG_VERSION:=3.1.236 +PKG_VERSION:=3.1.237 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 License diff --git a/luci-app-amlogic/root/usr/sbin/openwrt-update-rockchip b/luci-app-amlogic/root/usr/sbin/openwrt-update-rockchip index 7299c6cd..d4977fdc 100755 --- a/luci-app-amlogic/root/usr/sbin/openwrt-update-rockchip +++ b/luci-app-amlogic/root/usr/sbin/openwrt-update-rockchip @@ -206,6 +206,14 @@ case $MYDEVICE_NAME in fi SOC="rock5c" ;; + "Radxa E52C") + if [ -n "${CURRENT_FDTFILE}" ]; then + MYDTB_FDTFILE="${CURRENT_FDTFILE}" + else + MYDTB_FDTFILE="rk3588s-radxa-e52c.dtb" + fi + SOC="e52c" + ;; *) #default if [ -f "/etc/flippy-openwrt-release" ]; then source /etc/flippy-openwrt-release 2>/dev/null