summaryrefslogtreecommitdiffstats
path: root/master/kkmoon
diff options
context:
space:
mode:
Diffstat (limited to 'master/kkmoon')
-rw-r--r--master/kkmoon47
1 files changed, 47 insertions, 0 deletions
diff --git a/master/kkmoon b/master/kkmoon
new file mode 100644
index 0000000..3fb9095
--- /dev/null
+++ b/master/kkmoon
@@ -0,0 +1,47 @@
+diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
+index 75cccae..e87014f 100755
+--- a/target/linux/ramips/base-files/etc/board.d/02_network
++++ b/target/linux/ramips/base-files/etc/board.d/02_network
+@@ -48,6 +48,7 @@ ramips_setup_interfaces()
+ ht-tm02|\
+ microwrt|\
+ ncs601w|\
++ tp-c516w|\
+ w150m|\
+ wnce2001|\
+ zte-q7)
+diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
+index d242235..3261cef 100755
+--- a/target/linux/ramips/base-files/lib/ramips.sh
++++ b/target/linux/ramips/base-files/lib/ramips.sh
+@@ -259,6 +259,9 @@ ramips_board_detect() {
+ *"NCS601W")
+ name="ncs601w"
+ ;;
++ *"TP-C516W")
++ name="tp-c516w"
++ ;;
+ *"NW718")
+ name="nw718"
+ ;;
+diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
+index c24d220..ffff29f 100644
+--- a/target/linux/ramips/image/Makefile
++++ b/target/linux/ramips/image/Makefile
+@@ -193,6 +193,7 @@ BuildFirmware/Default4M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(
+ # $(4) = uImage header name field
+ ralink_default_fw_size_8M=8060928
+ BuildFirmware/Default8M/squashfs=$(call BuildFirmware/OF,$(1),$(2),$(3),$(ralink_default_fw_size_8M),$(4))
++BuildFirmware/Default8M/jffs2=$(call BuildFirmware/OF,$(1),$(2),$(3),$(ralink_default_fw_size_8M),$(4))
+ BuildFirmware/Default8M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3),$(4))
+ BuildFirmware/Tplink/squashfs=$(call BuildFirmware/OF/tplink,$(1),$(2),$(3),$(4))
+ BuildFirmware/Tplink/initramfs=$(call BuildFirmware/OF/tplink/initramfs,$(1),$(2),$(3),$(4))
+@@ -569,6 +570,8 @@ Image/Build/Profile/MZKW300NH2=$(call BuildFirmware/Edimax/$(1),$(1),mzk-w300nh2
+
+ Image/Build/Profile/NCS601W=$(call BuildFirmware/Default8M/$(1),$(1),ncs601W,NCS601W)
+
++Image/Build/Profile/TP-C516W=$(call BuildFirmware/Default8M/$(1),$(1),tp-c516w,TP-C516W)
++
+ nw718_mtd_size=3801088
+ Image/Build/Profile/NW718=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),nw718m,NW718,$(nw718_mtd_size),ARA1B4NCRNW718;1,factory)
+