Browse Source

lantiq: fritz 7360 v2: rename device before it will be used

Use similiar naming scheme as ath79.
Since the fritz 7360 v2 was only in the tree for 2 days, there
is no compatibility for the old image.
Users which has installed the fritz 7360 v2 before this change, must
use sysupgrade --force to skip checks on the board.

Signed-off-by: Alexander Couzens <[email protected]>
Reviewed-by: Adrian Schmutzler <[email protected]>
Alexander Couzens 5 years ago
parent
commit
0962baae4e

+ 7 - 7
target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz7360v2.dts → target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz7360-v2.dts

@@ -7,32 +7,32 @@
 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
 
 
 / {
 / {
-	compatible = "avm,fritz7360v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
+	compatible = "avm,fritz7360-v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
 	model = "AVM FRITZ!Box 7360 V2";
 	model = "AVM FRITZ!Box 7360 V2";
 };
 };
 
 
 &power_green {
 &power_green {
-	label = "fritz7360v2:green:power";
+	label = "fritz7360-v2:green:power";
 };
 };
 
 
 &power_red {
 &power_red {
-	label = "fritz7360v2:red:power";
+	label = "fritz7360-v2:red:power";
 };
 };
 
 
 &info_green {
 &info_green {
-	label = "fritz7360v2:green:info";
+	label = "fritz7360-v2:green:info";
 };
 };
 
 
 &wifi {
 &wifi {
-	label = "fritz7360v2:green:wlan";
+	label = "fritz7360-v2:green:wlan";
 };
 };
 
 
 &info_red {
 &info_red {
-	label = "fritz7360v2:red:info";
+	label = "fritz7360-v2:red:info";
 };
 };
 
 
 &dect {
 &dect {
-	label = "fritz7360v2:green:dect";
+	label = "fritz7360-v2:green:dect";
 };
 };
 
 
 &state_default {
 &state_default {

+ 7 - 7
target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz7360v2.dts → target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/vr9_avm_fritz7360-v2.dts

@@ -7,32 +7,32 @@
 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
 
 
 / {
 / {
-	compatible = "avm,fritz7360v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
+	compatible = "avm,fritz7360-v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
 	model = "AVM FRITZ!Box 7360 V2";
 	model = "AVM FRITZ!Box 7360 V2";
 };
 };
 
 
 &power_green {
 &power_green {
-	label = "fritz7360v2:green:power";
+	label = "fritz7360-v2:green:power";
 };
 };
 
 
 &power_red {
 &power_red {
-	label = "fritz7360v2:red:power";
+	label = "fritz7360-v2:red:power";
 };
 };
 
 
 &info_green {
 &info_green {
-	label = "fritz7360v2:green:info";
+	label = "fritz7360-v2:green:info";
 };
 };
 
 
 &wifi {
 &wifi {
-	label = "fritz7360v2:green:wlan";
+	label = "fritz7360-v2:green:wlan";
 };
 };
 
 
 &info_red {
 &info_red {
-	label = "fritz7360v2:red:info";
+	label = "fritz7360-v2:red:info";
 };
 };
 
 
 &dect {
 &dect {
-	label = "fritz7360v2:green:dect";
+	label = "fritz7360-v2:green:dect";
 };
 };
 
 
 &state_default {
 &state_default {

+ 2 - 2
target/linux/lantiq/image/vr9.mk

@@ -127,7 +127,7 @@ define Device/avm_fritz7360sl
 endef
 endef
 TARGET_DEVICES += avm_fritz7360sl
 TARGET_DEVICES += avm_fritz7360sl
 
 
-define Device/avm_fritz7360v2
+define Device/avm_fritz7360-v2
   $(Device/AVM)
   $(Device/AVM)
   DEVICE_MODEL := FRITZ!Box 7360
   DEVICE_MODEL := FRITZ!Box 7360
   DEVICE_VARIANT := v2
   DEVICE_VARIANT := v2
@@ -135,7 +135,7 @@ define Device/avm_fritz7360v2
   DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic kmod-usb-dwc2
   DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic kmod-usb-dwc2
   SUPPORTED_DEVICES += FRITZ7360V2
   SUPPORTED_DEVICES += FRITZ7360V2
 endef
 endef
-TARGET_DEVICES += avm_fritz7360v2
+TARGET_DEVICES += avm_fritz7360-v2
 
 
 define Device/avm_fritz7362sl
 define Device/avm_fritz7362sl
   $(Device/AVM)
   $(Device/AVM)

+ 1 - 1
target/linux/lantiq/xrx200/base-files/etc/board.d/02_network

@@ -39,7 +39,7 @@ lantiq_setup_interfaces()
 	avm,fritz3370-rev2-hynix|\
 	avm,fritz3370-rev2-hynix|\
 	avm,fritz3370-rev2-micron|\
 	avm,fritz3370-rev2-micron|\
 	avm,fritz7360sl|\
 	avm,fritz7360sl|\
-	avm,fritz7360v2|\
+	avm,fritz7360-v2|\
 	avm,fritz7362sl)
 	avm,fritz7362sl)
 		ucidef_add_switch "switch0" \
 		ucidef_add_switch "switch0" \
 			"0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0"
 			"0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0"

+ 1 - 1
target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom

@@ -17,7 +17,7 @@ case "$FIRMWARE" in
 				caldata_extract_reverse "urlader" 0x1541 0x440
 				caldata_extract_reverse "urlader" 0x1541 0x440
 				;;
 				;;
 			avm,fritz7360sl|\
 			avm,fritz7360sl|\
-			avm,fritz7360v2)
+			avm,fritz7360-v2)
 				caldata_extract "urlader" 0x985 0x1000
 				caldata_extract "urlader" 0x985 0x1000
 				;;
 				;;
 			avm,fritz7412)
 			avm,fritz7412)