[openwrt/openwrt] rockchip: explicitly specify pine64_rockpro64 supported devices

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 21 04:54:35 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c592afed4d41165563da07d67eebbe76594bf2af

commit c592afed4d41165563da07d67eebbe76594bf2af
Author: Sam Hegarty <hegarty.sam at gmail.com>
AuthorDate: Sun Apr 20 21:16:37 2025 +1200

    rockchip: explicitly specify pine64_rockpro64 supported devices
    
    The board name that goes into /etc/board.json and is used by sysupgrade
    for image verifications gets determined by the below command:
    
      `strings /proc/device-tree/compatible | head -1`
    
    as per package/base-files/files/lib/preinit/02_sysinfo
    
    On more recent firmware version for the Pine64 RockPro64 v2.1 devices the
    first entry is 'pine64,rockpro64-v2.1' however the metadata in the
    sysupgrade image only specifies 'pine64,rockpro64' as supported and image
    verification will fail.
    
    This change makes it so the image metadata will contain both
    'pine64,rockpro64' and 'pine64,rockpro64-v2.1' allowing image verification
    to pass on both older and more recent firmware versions.
    
    Signed-off-by: Sam Hegarty <hegarty.sam at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18542
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/rockchip/image/armv8.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk
index 204aba450d..4dbd98432d 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -135,6 +135,7 @@ define Device/pine64_rockpro64
   DEVICE_VENDOR := Pine64
   DEVICE_MODEL := RockPro64
   SOC := rk3399
+  SUPPORTED_DEVICES += pine64,rockpro64-v2.1
 endef
 TARGET_DEVICES += pine64_rockpro64
 




More information about the lede-commits mailing list