summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorAlexey Belyaev <spider@spider.vc>2017-04-28 00:02:05 +0600
committerMathias Kresin <dev@kresin.me>2017-05-10 08:45:12 +0200
commita7cbf59e0e04a24b91a112e9b2e1a72ed5b4c1f6 (patch)
tree3db09931e0d2fc603c7b55d0a9963262c84163e4 /target/linux/ramips/base-files/lib
parent54ea0f45c8b375ff29478c1f0d659d1548e89fc9 (diff)
downloadmtk-20170518-a7cbf59e0e04a24b91a112e9b2e1a72ed5b4c1f6.zip
mtk-20170518-a7cbf59e0e04a24b91a112e9b2e1a72ed5b4c1f6.tar.gz
mtk-20170518-a7cbf59e0e04a24b91a112e9b2e1a72ed5b4c1f6.tar.bz2
ramips: add new device ZyXEL Keenetic as kn
This device exactly same as NBG-419N but with USB port and USB Led. Specification: - SoC: Ralink RT3052 (MIPS24Kc) @384MHz - RAM: 32 MiB - Flash: 8 MiB - WLAN: WiSoC 2T2R/300Mbps (2.4GHz) - LAN: 4x100M - WAN: 1x100M - USB: 1x2.0 Installation via serial console (57600 8N1) from TFTP server - rename the firmware to something shorter, for example "sysupgrade.bin" (max. 32 chars) - copy firmware TFTP server's directory - when you power on device, and see U-Boot log, immediatly push "2" once. - You will see this message: 2: System Load Linux Kernel then write to Flash via TFTP. Warning!! Erase Linux in Flash then burn new one. Are you sure? - Push "y", and enter: device IP, then TFTP server's IP, and then image firmware file name. The firmware will be downloaded within ~30 seconds and flashed to the device (It will take about 2 minutes). Signed-off-by: Alexey Belyaev <spider@spider.vc> [squash commits, compact commit message, fix compatible string, remove superfluous pinmuxes] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 87cb7ff..506a982 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -670,6 +670,9 @@ ramips_board_detect() {
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;
+ *"ZyXEL Keenetic")
+ name="kn"
+ ;;
*"ZyXEL Keenetic Omni")
name="kn_rc"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index adad8da..0390093 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -76,6 +76,7 @@ platform_check_image() {
jhr-n805r|\
jhr-n825r|\
jhr-n926r|\
+ kn|\
kn_rc|\
kn_rf|\
kng_rc|\