Skip to content

Commit 908c829

Browse files
map-bhauke
authored andcommitted
layerscape: armv8_64b: traverse ten64-mtd fix ASU support
The profiles.json[1] in generated and used during ASU sysupgrades takes DEVICE_NAME as profile name which break ASU sysupgrades, use BOARD_NAME which serves the same goal as overwriting DEVICE_NAME, allowing sysupgrade-tar's checks be succesfully passed using the old name used in older installations. Without affecting the generated profiles.json, thus recovering ASU support. *Keep the non-stardand device name with suffix "-mtd"(replaced underscore by hyphen) to remark that this device is also supported in the armsr (armvirt) target as originally intented[2]. *I think I have fully checked the sysupgrade path to confirm this change does not have side effects. [1]: https://downloads.openwrt.org/releases/25.12.0/targets/layerscape/armv8_64b/profiles.json [2]: openwrt/openwrt#12828 Fixes: af0546d ("layerscape: armv8_64b: add Traverse Ten64 NAND variant") Fixes: openwrt/asu#1583 Reported-by: DanaGoyette (github) Co-developed-by: Eric Fahlgren <ericfahlgren@gmail.com> Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com> Link: openwrt/openwrt#22359 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent 79c0127 commit 908c829

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

target/linux/layerscape/image/armv8_64b.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,10 @@ define Device/fsl_lx2160a-rdb-sdboot
375375
endef
376376
TARGET_DEVICES += fsl_lx2160a-rdb-sdboot
377377

378-
define Device/traverse_ten64_mtd
378+
define Device/traverse_ten64-mtd
379379
DEVICE_VENDOR := Traverse
380380
DEVICE_MODEL := Ten64 (NAND boot)
381-
DEVICE_NAME := ten64-mtd
381+
BOARD_NAME := ten64-mtd
382382
DEVICE_PACKAGES += \
383383
uboot-envtools \
384384
kmod-rtc-rx8025 \
@@ -404,5 +404,5 @@ define Device/traverse_ten64_mtd
404404
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 600
405405
SUPPORTED_DEVICES = traverse,ten64
406406
endef
407-
TARGET_DEVICES += traverse_ten64_mtd
407+
TARGET_DEVICES += traverse_ten64-mtd
408408

0 commit comments

Comments
 (0)