summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image/mt7621.mk
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2018-05-16 21:42:48 +0900
committerJohn Crispin <john@phrozen.org>2018-06-08 09:56:27 +0200
commita32c06f44d6340fd25d1eb276f62b8494de9f462 (patch)
tree97695ed41d05b2ec8f4c8643dbe255c4801960cd /target/linux/ramips/image/mt7621.mk
parent0e9927d157f0e98303279d1049aa02ac43a49e0b (diff)
downloadmtk-20170518-a32c06f44d6340fd25d1eb276f62b8494de9f462.zip
mtk-20170518-a32c06f44d6340fd25d1eb276f62b8494de9f462.tar.gz
mtk-20170518-a32c06f44d6340fd25d1eb276f62b8494de9f462.tar.bz2
ramips: add support for I-O DATA WN-GX300GR
I-O DATA WN-GX300GR is a 2.4 GHz band 11n router, based on MediaTek MT7621S. Specification: - MT7621S (1-Core, 2-Threads) - 64 MB of RAM - 8 MB of Flash (SPI) - 2T2R 2.4 GHz - 5x 10/100/1000 Mbps Ethernet - 2x LEDs, 4x keys (2x buttons, 1x slide switch) - UART header on PCB - Vcc, GND, TX, RX from ethernet port side - baudrate: 115200 bps (U-Boot, OpenWrt) Flash instruction using initramfs image: 1. Connect serial cable to UART header 2. Rename OpenWrt initramfs image for WN-GX300GR to "uImageWN-GX300GR" and place it in the TFTP directory 3. Set the IP address of the computer to 192.168.99.8, connect to the LAN port of WN-GX300GR, and start the TFTP server on the computer 4. Connect power cable to WN-GX300GR and turn on the router 5. Press "1" key on the serial console to interrupt boot process on U-Boot, press Enter key 3 times and start firmware download via TFTP 6. WN-GX300GR downloads initramfs image and boot with it 7. On the initramfs image, execute "mtd erase firmware" to erase stock firmware and execute sysupgrade with sysupgrade image for WN-GX300GR 8. Wait ~150 seconds to complete flasing Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r--target/linux/ramips/image/mt7621.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index b20f359..5bbdd20 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -114,6 +114,14 @@ define Device/hc5962
endef
TARGET_DEVICES += hc5962
+define Device/iodata_wn-gx300gr
+ DTS := WN-GX300GR
+ IMAGE_SIZE := 7798784
+ DEVICE_TITLE := I-O DATA WN-GX300GR
+ DEVICE_PACKAGES := kmod-mt7603 wpad-mini
+endef
+TARGET_DEVICES += iodata_wn-gx300gr
+
define Device/k2p
DTS := K2P
IMAGE_SIZE := $(ralink_default_fw_size_16M)