aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-06-21 00:56:38 +0800
committerMathias Kresin <dev@kresin.me>2018-06-21 22:00:02 +0200
commited40173dfcbc8a870d1747dea3f9a265d0205369 (patch)
treefe5359f4869f0974cd8f29ef12d4eb30c119385e /target/linux/ramips/image
parentf9a42ae2d707b63b2bbe72945a2816da7d4fe30c (diff)
downloadupstream-ed40173dfcbc8a870d1747dea3f9a265d0205369.tar.gz
upstream-ed40173dfcbc8a870d1747dea3f9a265d0205369.tar.bz2
upstream-ed40173dfcbc8a870d1747dea3f9a265d0205369.zip
ramips: Add support for Phicomm K2G
Specification: - SoC: MediaTek MT7620A - Flash: 8 MB - RAM: 64 MB - Ethernet: 4 FE ports and 1 GE port (RTL8211F on port 5) - Wireless radio: MT7620 for 2.4G and MT7612E for 5G, both equipped with external PA. - UART: 1 x UART on PCB - 57600 8N1 Flash instruction: The U-boot is based on Ralink SDK so we can flash the firmware using UART: 1. Configure PC with a static IP address and setup an TFTP server. 2. Put the firmware into the tftp directory. 3. Connect the UART line as described on the PCB. 4. Power up the device and press 2, follow the instruction to set device and tftp server IP address and input the firmware file name. U-boot will then load the firmware and write it into the flash. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt7620.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 8081d906f6..b6499c8806 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -431,6 +431,14 @@ define Device/psg1218b
endef
TARGET_DEVICES += psg1218b
+define Device/phicomm_k2g
+ DTS := K2G
+ IMAGE_SIZE := 7552k
+ DEVICE_TITLE := Phicomm K2G
+ DEVICE_PACKAGES := kmod-mt76x2
+endef
+TARGET_DEVICES += phicomm_k2g
+
define Device/rp-n53
DTS := RP-N53
DEVICE_TITLE := Asus RP-N53