[OpenWrt-Devel] [PATCH] Patches to fix kernel panic in Yuncore XD3200 initial commit.

Jeff Wischkaemper jeff at wisch.org
Sat Jan 30 23:31:20 EST 2016


Signed-off-by: Jeff Wischkaemper <jeff at wisch.org>
---
 .../ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata |    2 +-
 target/linux/ar71xx/base-files/lib/ar71xx.sh                   |    2 +-
 target/linux/ar71xx/base-files/lib/upgrade/platform.sh         |    2 +-
 target/linux/ar71xx/files/arch/mips/ath79/mach-xd3200.c        |    8 +++-----
 4 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index bec21eb..2414d34 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -58,7 +58,7 @@ case "$FIRMWARE" in
 		ath10kcal_extract "art" 20480 2116
 		ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
 		;;
-	xd3200)
+	XD3200)
 		ath10kcal_extract "art" 20480 2116
 		ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) )
 		;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 883c163..479a68d 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -397,7 +397,7 @@ ar71xx_board_detect() {
 		name="ap152"
 		;;
 	*"Yuncore XD3200")
-		name="xd3200"
+		name="XD3200"
 		;;
 	*AP81)
 		name="ap81"
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 563f34b..5489140 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -185,7 +185,7 @@ platform_check_image() {
 	ap135-020 | \
 	ap147-010 | \
 	ap152 | \
-	xd3200 | \
+	XD3200 | \
 	ap96 | \
 	bxu2000n-2-a1 | \
 	db120 | \
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-xd3200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-xd3200.c
index 5c5a074..62f9284 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-xd3200.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-xd3200.c
@@ -1,9 +1,7 @@
-
 /*
 
-This file modified to support the Yuncore XD3200, which is based on
-the reference implementation of the Atheros AP152. 
-
+ * This file modified to support the Yuncore XD3200, which is based on
+ * the reference implementation of the Atheros AP152.
  * Qualcomm Atheros AP152 reference board support
  *
  * Copyright (c) 2015 Qualcomm Atheros
@@ -140,5 +138,5 @@ static void __init XD3200_setup(void)
 	ath79_register_eth(0);
 }
 
-MIPS_MACHINE(ATH79_MACH_XD3200, "xd3200", "Yuncore XD3200",
+MIPS_MACHINE(ATH79_MACH_XD3200, "XD3200", "Yuncore XD3200",
 	     XD3200_setup);
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list