Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ramips: mt7621: add support for Zbtlink ZBT-WG1608 32M #10434

Closed
wants to merge 1 commit into from

Conversation

AZUSAHMR
Copy link
Contributor

#9317

Add support for flash 32M variant of this router

@aparcar aparcar added the new device pull request with new device label Aug 11, 2022
@mrkiko
Copy link
Contributor

mrkiko commented Aug 12, 2022

Looks OK to me.

@AZUSAHMR AZUSAHMR force-pushed the master branch 2 times, most recently from b97d6eb to 22c6d1b Compare August 12, 2022 16:54
define Device/zbtlink_zbt-wg1608-32m
$(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x1fb0000 = 32448 KiB, not 16064k.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed it.

#include "mt7621_zbtlink_zbt-wg1608.dtsi"

/ {
compatible = "zbtlink,zbt-wg1608-32m", "zbtlink,zbt-wg1608-16m", "zbtlink,zbt-wg1608", "mediatek,mt7621-soc";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"zbtlink,zbt-wg1608-16m", "zbtlink,zbt-wg1608", is redundant I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it. Thanks.

};

&firmware {
reg = <0x50000 0x1fb0000>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually 32M Flash will cause reboot failure, need to add broken-flash-reset; see 74516f4. It depends on the actual situation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This device is using W25Q256JV, but using the WSON-8 package without a hardware RESET pin. I added broken-flash-reset;.

@hauke hauke added the target/ramips pull request/issue for ramips target label Aug 13, 2022
Zbtlink ZBT-WG1608 is a Wi-Fi router intendent to use with WWAN (4G/5G)
modems.

Specifications:
* SoC: MediaTek MT7621A
* RAM: 256/512 MiB
* Flash: 16/32 MiB (SPI NOR)
* Wi-Fi:
  * MediaTek MT7603E : 2.4Ghz
  * MediaTek MT7613BE : 5Ghz
* Ethernet: 10/100/1000 Mbps Ethernet x5 ports (4xLAN + WAN)
* M.2: 1x slot with USB&SIM
  * EM7455/EM12-G/EM160R/RM500Q-AE
* USB: 1x 3.0 Type-A port
* External storage: 1x microSD (SDXC) slot
* UART: console (115200 baud)
* LED:
  * 1 power indicator
  * 1 WLAN 2.4G controlled (wlan 2G)
  * 3 SoC controlled (wlan 5G, wwan, internet)
  * 5 per Eth phy (4xLAN + WAN)

MAC Addresses:
* LAN    : f8:5e:3c:xx:xx:e0 (Factory, 0xe000 (hex))
* WAN    : f8:5e:3c:xx:xx:e1 (Factory, 0xe006 (hex))
* 2.4 GHz: f8:5e:3c:xx:xx:de (Factory, 0x0004 (hex))
* 5 GHz  : f8:5e:3c:xx:xx:df (Factory, 0x8004 (hex))

Installation:
* Vendor's firmware is OpenWrt (LEDE) based, so the sysupgrade image can
  be directly used to install OpenWrt. Firmware must be upgraded using the
  'force' and 'do not save configuration' command line options (or
  correspondig web interface checkboxes) since the vendor firmware is from
  the pre-DSA era.

Recovery Mode:
 * Press reset button, power up the device, wait for about 10sec.
 * Upload sysupgrade image through the firmware recovery mode web page at
  192.168.1.1.

Signed-off-by: Kim DoHyoung <azusahmr@k-on.kr>
@981213
Copy link
Member

981213 commented Jun 20, 2023

Merged into my staging tree at: https://git.openwrt.org/?p=openwrt/staging/981213.git
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device pull request with new device target/ramips pull request/issue for ramips target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants