From 7950e1b9f47417bcd4b80e4361dfc6dccb000ba7 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Thu, 21 Jun 2018 00:56:38 +0800 Subject: 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 --- target/linux/ramips/image/mt7620.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ramips/image/mt7620.mk') diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 8081d90..b6499c8 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 -- cgit v1.1