mirror of https://github.com/hak5/openwrt.git
ramips: add support for ELECOM WRC-2533GST2
ELECOM WRC-2533GST2 is a 2.4/5 GHz band 11ac (Wi-Fi 5) router, based on MT7621A. Specification: - SoC : MediaTek MT7621A - RAM : DDR3 256 MiB - Flash : SPI-NOR 32 MiB - WLAN : 2.4/5 GHz 4T4R (2x MediaTek MT7615) - Ethernet : 10/100/1000 Mbps x5 - Switch : MediaTek MT7530 (SoC) - LED/keys : 4x/6x (2x buttons, 1x slide-switch) - UART : through-hole on PCB - J4: 3.3V, GND, TX, RX from ethernet port side - 57600n8 - Power : 12VDC, 1.5A Flash instruction using factory image: 1. Boot WRC-2533GST2 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 Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>master
parent
39f2f9b1bf
commit
3a8d65010d
|
@ -7,3 +7,35 @@
|
||||||
compatible = "elecom,wrc-1900gst", "mediatek,mt7621-soc";
|
compatible = "elecom,wrc-1900gst", "mediatek,mt7621-soc";
|
||||||
model = "ELECOM WRC-1900GST";
|
model = "ELECOM WRC-1900GST";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&partitions {
|
||||||
|
partition@50000 {
|
||||||
|
compatible = "denx,uimage";
|
||||||
|
label = "firmware";
|
||||||
|
reg = <0x50000 0xb00000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@b50000 {
|
||||||
|
label = "tm_pattern";
|
||||||
|
reg = <0xb50000 0x380000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@ed0000 {
|
||||||
|
label = "tm_key";
|
||||||
|
reg = <0xed0000 0x80000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@f50000 {
|
||||||
|
label = "art_block";
|
||||||
|
reg = <0xf50000 0x30000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@f80000 {
|
||||||
|
label = "user_data";
|
||||||
|
reg = <0xf80000 0x80000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -6,3 +6,35 @@
|
||||||
compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc";
|
compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc";
|
||||||
model = "ELECOM WRC-2533GST";
|
model = "ELECOM WRC-2533GST";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&partitions {
|
||||||
|
partition@50000 {
|
||||||
|
compatible = "denx,uimage";
|
||||||
|
label = "firmware";
|
||||||
|
reg = <0x50000 0xb00000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@b50000 {
|
||||||
|
label = "tm_pattern";
|
||||||
|
reg = <0xb50000 0x380000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@ed0000 {
|
||||||
|
label = "tm_key";
|
||||||
|
reg = <0xed0000 0x80000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@f50000 {
|
||||||
|
label = "art_block";
|
||||||
|
reg = <0xf50000 0x30000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@f80000 {
|
||||||
|
label = "user_data";
|
||||||
|
reg = <0xf80000 0x80000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include "mt7621_elecom_wrc-gst.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
compatible = "elecom,wrc-2533gst2", "mediatek,mt7621-soc";
|
||||||
|
model = "ELECOM WRC-2533GST2";
|
||||||
|
};
|
||||||
|
|
||||||
|
&partitions {
|
||||||
|
partition@50000 {
|
||||||
|
compatible = "denx,uimage";
|
||||||
|
label = "firmware";
|
||||||
|
reg = <0x50000 0x1800000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@1850000 {
|
||||||
|
label = "tm_pattern";
|
||||||
|
reg = <0x1850000 0x400000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@1c50000 {
|
||||||
|
label = "tm_key";
|
||||||
|
reg = <0x1c50000 0x100000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@1d50000 {
|
||||||
|
label = "nvram";
|
||||||
|
reg = <0x1d50000 0xb0000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
|
partition@1e00000 {
|
||||||
|
label = "user_data";
|
||||||
|
reg = <0x1e00000 0x200000>;
|
||||||
|
read-only;
|
||||||
|
};
|
||||||
|
};
|
|
@ -129,7 +129,7 @@
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <40000000>;
|
spi-max-frequency = <40000000>;
|
||||||
|
|
||||||
partitions {
|
partitions: partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -151,36 +151,6 @@
|
||||||
reg = <0x40000 0x10000>;
|
reg = <0x40000 0x10000>;
|
||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@50000 {
|
|
||||||
compatible = "denx,uimage";
|
|
||||||
label = "firmware";
|
|
||||||
reg = <0x50000 0xb00000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@b50000 {
|
|
||||||
label = "tm_pattern";
|
|
||||||
reg = <0xb50000 0x380000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@ed0000 {
|
|
||||||
label = "tm_key";
|
|
||||||
reg = <0xed0000 0x80000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@f50000 {
|
|
||||||
label = "art_block";
|
|
||||||
reg = <0xf50000 0x30000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
|
|
||||||
partition@f80000 {
|
|
||||||
label = "user_data";
|
|
||||||
reg = <0xf80000 0x80000>;
|
|
||||||
read-only;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -307,6 +307,18 @@ define Device/elecom_wrc-2533gst
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += elecom_wrc-2533gst
|
TARGET_DEVICES += elecom_wrc-2533gst
|
||||||
|
|
||||||
|
define Device/elecom_wrc-2533gst2
|
||||||
|
$(Device/uimage-lzma-loader)
|
||||||
|
IMAGE_SIZE := 24576k
|
||||||
|
DEVICE_VENDOR := ELECOM
|
||||||
|
DEVICE_MODEL := WRC-2533GST2
|
||||||
|
IMAGES += factory.bin
|
||||||
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||||
|
elecom-gst-factory WRC-2533GST2 0.00
|
||||||
|
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware wpad-basic
|
||||||
|
endef
|
||||||
|
TARGET_DEVICES += elecom_wrc-2533gst2
|
||||||
|
|
||||||
define Device/firefly_firewrt
|
define Device/firefly_firewrt
|
||||||
IMAGE_SIZE := 16064k
|
IMAGE_SIZE := 16064k
|
||||||
DEVICE_VENDOR := Firefly
|
DEVICE_VENDOR := Firefly
|
||||||
|
|
Loading…
Reference in New Issue