]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rockchip: explicitly specify pine64_rockpro64 supported devices 18542/head
authorSam Hegarty <hegarty.sam@gmail.com>
Sun, 20 Apr 2025 09:16:37 +0000 (21:16 +1200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Apr 2025 11:53:07 +0000 (13:53 +0200)
commitc592afed4d41165563da07d67eebbe76594bf2af
tree15c187b3bf65f3e26105f653eb44e347dc6fe9a4
parent6782d0e66fd607a3536d5fd94e998d2d700ffeaf
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18542
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/rockchip/image/armv8.mk