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: add support for ZyXEL LTE5398-M904 #13594

Closed
wants to merge 1 commit into from

Conversation

mkrle
Copy link
Contributor

@mkrle mkrle commented Oct 2, 2023

ZyXEL LTE5398-M904 is a dual band 802.11ac indoor LTE/3G CPE with an FXS port.

Specifications:

  • SoC: Mediatek MT7621AT
  • RAM: 256 MB
  • Flash: 128MB NAND (MX30LF1G18AC)
  • WiFi: MediaTek MT7603 2.4G + MediaTek MT7615 5G
  • Switch: 2 GbE ports MT7530
  • LTE/3G: Quectel EG18-EA LTE-A Cat. 18
  • SIM: 1 micro-SIM card slot
  • Buttons: Reset, WPS
  • LEDs: power (G/B), internet (G), LTE (R/G/Orange), WiFi (G), voice (G)
  • VoIP: 1 FXS RJ11 port
  • Power: 12V, 2A

UART serial console:

57600,8N1
Unpopulated header J5:

[o] GND
[ ] key - no pin
[o] RX
[o] TX
[o] 3.3V Vcc

Installation:

Noting the differences specified below, follow the steps from: 2449a63 (ramips: mt7621: Add support for ZyXEL NR7101, 2021-04-19)

  • Default OEM firmware IP is 192.168.1.1
  • SSH is on port 22
  • Bootloader TFTP server IP is 10.10.10.13

Unsupported:

  • FXS/Voice

Please note that this PR depends on openwrt/firmware-utils#17 being merged and firmware-tools version bumped to include it in order to build the final stage images.

@github-actions github-actions bot added core packages pull request/issue for core (in-tree) packages target/ramips pull request/issue for ramips target labels Oct 2, 2023
@compact21
Copy link

since I'm not a programmer, but I'm interested in your porting of this router to Openwrt, I can somehow help you...

@mkrle
Copy link
Contributor Author

mkrle commented Oct 10, 2023

since I'm not a programmer, but I'm interested in your porting of this router to Openwrt, I can somehow help you...

Thanks for reaching out @compact21. At this point I'm waiting for the maintainers to review the code changes and don't need any help. If you have any other questions maybe we can use the forum thread, I'll post there.

Copy link

@compact21 compact21 left a comment

Choose a reason for hiding this comment

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

modify

/linux/ramips/mt7621/base-files/etc/board.d/02_network

from zyxel,nt7101
to zyxel,nr7101

view
f6d394e
https://forum.openwrt.org/t/zyxel-nr7101-not-responding-after-flashing-initramfs/174409/8

@mkrle
Copy link
Contributor Author

mkrle commented Oct 15, 2023

modify

/linux/ramips/mt7621/base-files/etc/board.d/02_network

from zyxel,nt7101 to zyxel,nr7101

view f6d394e https://forum.openwrt.org/t/zyxel-nr7101-not-responding-after-flashing-initramfs/174409/8

That's not caused by this PR, and it's already fixed as mentioned in the forum topic.

@compact21
Copy link

compact21 commented Oct 15, 2023

modify
/linux/ramips/mt7621/base-files/etc/board.d/02_network
from zyxel,nt7101 to zyxel,nr7101
view f6d394e https://forum.openwrt.org/t/zyxel-nr7101-not-responding-after-flashing-initramfs/174409/8

That's not caused by this PR, and it's already fixed as mentioned in the forum topic.

ok

@github-actions github-actions bot added target/bcm53xx pull request/issue for bcm53xx target target/bcm47xx pull request/issue for bcm47xx target target/bcm27xx pull request/issue for bcm27xx target build/scripts/tools pull request/issues for build, scripts and tools related changes target/ipq806x pull request/issue for ipq806x target kernel pull request/issue with Linux kernel related changes target/lantiq pull request/issue for lantiq target toolchain pull request/issue with toolchain related changes target/ipq40xx pull request/issue for ipq40xx target target/ath79 pull request/issue for ath79 target target/mediatek pull request/issue for mediatek target target/gemini pull request/issue for gemini target target/oxnas pull request/issue for oxnas target target/realtek pull request/issue for realtek target target/bcm4908 pull request/issue for bcm4908 target GitHub/CI pull requests/issues for GitHub, CI and related stuff target/armsr pull request/issue for armsr target target/qualcommax pull request/issue for qualcommax target labels Oct 16, 2023
@mkrle mkrle marked this pull request as draft October 16, 2023 15:05
@github-actions github-actions bot removed the target/bcm53xx pull request/issue for bcm53xx target label Oct 16, 2023
@github-actions github-actions bot removed target/bcm47xx pull request/issue for bcm47xx target target/bcm27xx pull request/issue for bcm27xx target build/scripts/tools pull request/issues for build, scripts and tools related changes target/ipq806x pull request/issue for ipq806x target kernel pull request/issue with Linux kernel related changes target/lantiq pull request/issue for lantiq target toolchain pull request/issue with toolchain related changes target/ipq40xx pull request/issue for ipq40xx target target/ath79 pull request/issue for ath79 target target/mediatek pull request/issue for mediatek target target/gemini pull request/issue for gemini target target/oxnas pull request/issue for oxnas target target/realtek pull request/issue for realtek target target/bcm4908 pull request/issue for bcm4908 target GitHub/CI pull requests/issues for GitHub, CI and related stuff target/armsr pull request/issue for armsr target target/qualcommax pull request/issue for qualcommax target labels Oct 16, 2023
@mkrle mkrle force-pushed the lte5398-m904 branch 2 times, most recently from 719ee73 to 69d655b Compare October 16, 2023 20:55
@mkrle
Copy link
Contributor Author

mkrle commented Oct 16, 2023

I have modified the DTS to adopt changes done in commits:
fb4cea4 (ramips: convert MT7603 EEPROM to NVMEM format, 2023-10-02)
65cd6a6 (ramips: convert MT7613 and MT7615 EEPROM to NVMEM format for MT7621, 2023-10-02)

@mkrle mkrle marked this pull request as ready for review October 16, 2023 21:00
ZyXEL LTE5398-M904 is a dual band 802.11ac indoor LTE/3G CPE with an FXS
port.

Specifications:

* SoC: Mediatek MT7621AT
* RAM: 256 MB
* Flash: 128MB NAND (MX30LF1G18AC)
* WiFi: MediaTek MT7603 2.4G + MediaTek MT7615 5G
* Switch: 2 GbE ports MT7530
* LTE/3G: Quectel EG18-EA LTE-A Cat. 18
* SIM: 1 micro-SIM card slot
* Buttons: Reset, WPS
* LEDs: power (G/B), internet (G), LTE (R/G/Orange), WiFi (G), voice (G)
* VoIP: 1 FXS RJ11 port
* Power: 12V, 2A

UART serial console:

57600,8N1
Unpopulated header J5:

 [o] GND
 [ ] key - no pin
 [o] RX
 [o] TX
 [o] 3.3V Vcc

Installation:

* Log in as root using ssh to 192.168.1.1
* scp OpenWrt initramfs-recovery.bin image to root@192.168.1.1:/tmp/
* Prepare bootloader config by running:
   nvram setro uboot DebugFlag 0x1
   nvram setro uboot CheckBypass 0
   nvram commit
* Run "mtd_write -w write /tmp/initramfs-recovery.bin Kernel" and reboot
* Wait for OpenWrt to boot and ssh to root@192.168.1.1
* Run sysupgrade with OpenWrt squashfs-sysupgrade.bin image

For mode details about flashing see:
2449a63 (ramips: mt7621: Add support for ZyXEL NR7101, 2021-04-19)

Unsupported:

* FXS/Voice

Signed-off-by: Milan Krstic <milan.krstic@gmail.com>
@hauke
Copy link
Member

hauke commented Oct 29, 2023

Thank you for your pull request, it was applied to master in 17465fc.

@hauke hauke closed this Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages target/ramips pull request/issue for ramips target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants