mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
ea8d140b25
Buffalo WSR-2533DHPLS is a 2.4/5 GHz band 11ac router, based on MediaTek MT7621A. Very similar to Buffalo WSR-2533DHPL, but with NAND, different GPIO and TRX partitions. Specification: - SoC : MediaTek MT7621AT - RAM : DDR3 256 MiB (Samsung K4B2G1646F-BYMA) - Flash : RAW-NAND 128 MiB (Winbond W29N01HV or KIOXIA TC58BVG0S3HTAI0) - WLAN : 2.4/5 GHz (2x MediaTek MT7615N) - Ethernet : 10/100/1000 Mbps - Switch : MediaTek MT7530 (SoC) 4 ports - LED/keys : 8x/6x (2x buttons, 1x slide-switch) - UART : through-hole on PCB (J4) - arrangement : 3.3V, GND, TX, RX from triangle-mark - settings : 115200n8 - Power : 12VDC 1.5A Flash instruction using factory.bin image: 1. boot WSR-2533DHPLS normally with "Router" mode 2. access to the WebI ("http://192.168.11.1/") on the device and open firmware update page ("管理" -> "ファームウェア更新") 3. select the OpenWrt factory.bin image and click update ("更新実行") button Attention: do not use "factory-uboot.bin" image 4. Wait ~120 seconds to complete flashing Flash instruction using initramfs image: 1. prepare the TFTP server with the initramfs image renamed to "linux.trx-recovery" and IP address "192.168.11.2" 2. press the "AOSS" button while powering on the WSR-2533DHPLS 3. after 10 seconds, release the "AOSS" button, WSR-2533DHPLS downloads the initramfs image and boot with it automatically 4. on the initramfs image, download the factory-uboot.bin image to the device and perform sysupgrade with it and "-F" option 5. wait ~120 seconds to complete flashing Notes: - The embedded addresses in eeprom data in Factory partition have Buffalo's OUI, but they don't match with the actual addresses assigned to wlan devices. So fixup addresses by the user-space script. root@localhost:/# hexdump -C /dev/mtdblock3 | grep "^0000[08]000\s" 00000000 15 76 a0 00 88 57 ee bc 01 a8 15 76 c3 14 00 80 |.v...W.....v....| 00008000 15 76 a0 00 88 57 ee bc 01 f8 15 76 c3 14 00 80 |.v...W.....v....| See "MAC addresses" below for actual addresses. - There are 2x factory*.bin images for different purposes. - factory.bin : for flashing on OEM WebUI - factory-uboot.bin: for flashing on OEM bootloader or initramfs image factory-uboot.bin is useful for recoverying the device, or refreshing when the kernel partition is expanded in the future. sysupgrade on this device accepts factory-uboot.bin with option "-F", but on that situation, user configurations won't be kept, so it's not for normal use. MAC addresses: LAN : 90:96:F3:xx:xx:30 (board_data, "mac" (text)) WAN : 90:96:F3:xx:xx:30 (board_data, "mac" (text)) 2.4 GHz: 90:96:F3:xx:xx:31 5 GHz : 90:96:F3:xx:xx:38 [original work] Signed-off-by: Audun-Marius Gangstø <audun@gangsto.org> [convert to ubi, fix/improve DT, add sysupgrade support] Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
83 lines
1.4 KiB
Plaintext
83 lines
1.4 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_buffalo_wsr-2533dhplx.dtsi"
|
|
|
|
/ {
|
|
compatible = "buffalo,wsr-2533dhpls", "mediatek,mt7621-soc";
|
|
model = "Buffalo WSR-2533DHPLS";
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 ubi.block=0,rootfs root=/dev/ubiblock0_0";
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
|
|
mediatek,nmbm;
|
|
/*
|
|
* - u-boot - (kernel (6MiB, in "firmware"))
|
|
* - Kernel2 - WTB
|
|
*/
|
|
mediatek,bmt-remap-range = <0x0 0x780000>,
|
|
<0x1980000 0x5b00000>;
|
|
};
|
|
|
|
&partitions {
|
|
partition@100000 {
|
|
label = "factory";
|
|
reg = <0x100000 0x80000>;
|
|
read-only;
|
|
|
|
nvmem-layout {
|
|
compatible = "fixed-layout";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
eeprom_factory_0: eeprom@0 {
|
|
reg = <0x0 0x4da8>;
|
|
};
|
|
|
|
eeprom_factory_8000: eeprom@8000 {
|
|
reg = <0x8000 0x4da8>;
|
|
};
|
|
};
|
|
};
|
|
|
|
partition@180000 {
|
|
compatible = "brcm,trx";
|
|
brcm,trx-magic = <0x534c4844>;
|
|
label = "firmware";
|
|
reg = <0x180000 0x1800000>;
|
|
};
|
|
|
|
partition@1980000 {
|
|
label = "Kernel2";
|
|
reg = <0x1980000 0x1800000>;
|
|
};
|
|
|
|
partition@3180000 {
|
|
label = "glbcfg";
|
|
reg = <0x3180000 0x200000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@3380000 {
|
|
label = "board_data";
|
|
reg = <0x3380000 0x200000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@3580000 {
|
|
label = "debug_log";
|
|
reg = <0x3580000 0x900000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@3e80000 {
|
|
label = "WTB";
|
|
reg = <0x3e80000 0x3600000>;
|
|
read-only;
|
|
};
|
|
};
|