aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
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/base-files/lib/upgrade/platform.sh
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/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index c2617b1a74..ffdc5e73e0 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -122,6 +122,7 @@ platform_check_image() {
oy-0001|\
pbr-d1|\
pbr-m1|\
+ phicomm,k2g|\
psg1208|\
psg1218a|\
psg1218b|\