From c688ed20f0e3c5e643e367360c25db18ac2b7d55 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 18 Sep 2024 04:39:51 +0800 Subject: [PATCH] update --- .../patches/10-re-cp-03.patch | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/devices/mediatek_filogic/patches/10-re-cp-03.patch b/devices/mediatek_filogic/patches/10-re-cp-03.patch index e64140395bfe..d7ad631b4ceb 100644 --- a/devices/mediatek_filogic/patches/10-re-cp-03.patch +++ b/devices/mediatek_filogic/patches/10-re-cp-03.patch @@ -30,4 +30,22 @@ + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata endef TARGET_DEVICES += jdcloud_re-cp-03 - \ No newline at end of file + + +--- a/target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata ++++ b/target/linux/mediatek/filogic/base-files/etc/hotplug.d/firmware/11-mt76-caldata +@@ -51,6 +51,14 @@ case "$FIRMWARE" in + ;; + esac + ;; ++"mediatek/mt7986_eeprom_mt7976_dual.bin") ++ case "$board" in ++ glinet,gl-mt6000|\ ++ jdcloud,re-cp-03) ++ caldata_extract_mmc "factory" 0x0 0x1000 ++ ;; ++ esac ++ ;; + *) + exit 1 + ;; \ No newline at end of file