From eb11cd9ea3822b34df6260b1dd40fc4f0866b804 Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Fri, 11 Dec 2020 23:14:58 +0900 Subject: ramips: add support for ELECOM WRC-2533GHBK-I MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ELECOM WRC-2533GHBK-I is a 2.4/5 GHz band 11ac (Wi-Fi 5) router, based on MT7621A. Specification: - SoC : MediaTek MT7621A - RAM : DDR3 128 MiB - Flash : SPI-NOR 16 MiB - WLAN : 2.4/5 GHz 4T4R (2x MediaTek MT7615) - Ethernet : 10/100/1000 Mbps x5 - Switch : MediaTek MT7530 (SoC) - LED/keys : 4x/3x (2x buttons, 1x slide-switch) - UART : through-hole on PCB - J4: 3.3V, RX, GND, TX from SoC side - 57600n8 - Power : 12VDC, 1.5A Flash instruction using factory image: 1. Boot WRC-2533GHBK-I normally 2. Access to "http://192.168.2.1/" and open firmware update page ("ファームウェア更新") 3. Select the OpenWrt factory image and click apply ("適用") button 4. Wait ~150 seconds to complete flashing MAC addresses: LAN : BC:5C:4C:xx:xx:89 (Config, ethaddr (text)) WAN : BC:5C:4C:xx:xx:88 (Config, wanaddr (text)) 2.4GHz : BC:5C:4C:xx:xx:8A (Factory, 0x4 (hex)) 5GHz : BC:5C:4C:xx:xx:8B (Factory, 0x8004 (hex)) Signed-off-by: INAGAKI Hiroshi Reviewed-by: Sungbo Eo --- include/image-commands.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/image-commands.mk b/include/image-commands.mk index 70fa0b8357a..07a96920aee 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -157,7 +157,7 @@ endef define Build/elecom-product-header $(eval product=$(word 1,$(1))) - $(eval fw=$(word 2,$(1))) + $(eval fw=$(if $(word 2,$(1)),$(word 2,$(1)),$@)) ( \ echo -n -e "ELECOM\x00\x00$(product)" | dd bs=40 count=1 conv=sync; \ -- cgit v1.2.3