[openwrt/openwrt] tegra: add 6.12 as testing kernel

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 12 15:52:49 PDT 2025


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

commit 1d3cfe8eb077a95addd57ff7aeaf4c6fb3d993b4
Author: Tomasz Maciej Nowak <tmn505 at gmail.com>
AuthorDate: Wed Jun 18 18:59:35 2025 +0200

    tegra: add 6.12 as testing kernel
    
    Introduce LED migration script as the names have changed.
    
    Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
    Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250618170045.473711-8-tmn505@terefe.re/
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/tegra/Makefile                              |  1 +
 .../tegra/base-files/etc/uci-defaults/04_led_migration   | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Makefile
index b917ea909d..9e1bf15e7f 100644
--- a/target/linux/tegra/Makefile
+++ b/target/linux/tegra/Makefile
@@ -13,6 +13,7 @@ CPU_SUBTYPE := vfpv3-d16
 SUBTARGETS := generic
 
 KERNEL_PATCHVER := 6.6
+KERNEL_TESTING_PATCHVER := 6.12
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/tegra/base-files/etc/uci-defaults/04_led_migration b/target/linux/tegra/base-files/etc/uci-defaults/04_led_migration
new file mode 100644
index 0000000000..20bfab2633
--- /dev/null
+++ b/target/linux/tegra/base-files/etc/uci-defaults/04_led_migration
@@ -0,0 +1,16 @@
+. /lib/functions.sh
+. /lib/functions/migrations.sh
+
+board=$(board_name)
+
+case "$board" in
+compulab,trimslice)
+	migrate_leds "trimslice:green:right=green:indicator-2" "trimslice:green:left=green:indicator-3"
+	;;
+esac
+
+remove_devicename_leds
+
+migrations_apply system
+
+exit 0




More information about the lede-commits mailing list