KOA
January 27, 2025, 1:29am
1
It is also know as Gemtek MX-W1700k.
Cpu
Serial is populated accessible as mentioned in blog.
512 MB of storage
2 GB of RAM
2x 10 Gbe
2x 1 Gbe LAN
Tri-band WiFi 7 radios
o 2.4 GHz: 4x4 (Tx/Rx) 4096 QAM 40 MHz, up to 1376 Mbps
o 5GHz: 4x4 (Tx/Rx) 4096 QAM 160 MHz, up to 5.76 Gbps
o 6GHz: 4x4+1 (Tx/Rx) 4096 QAM 320 MHz backhauled, up to 10
Gbps
†Currently runs customized OpenWRT v21.02.1.
PR for the target already merged.
main
← dangowrt:airoha-6.6
opened 01:41PM - 07 May 24 UTC
Use `scripts/kernel_bump.sh` to bump kernel version for the airoha target to Lin… ux 6.6.
Also refresh config and added `KERNEL_TESTING_PATCHVER`.
There are a few good deals of this AP.
Is it possible to get Openwrt on it. I can help getting serial access etc.
Can we ask Gemtek to release sources?
@frollic is this good enough deal if supported for usd 36?
Root access
I've managed to get root on the stock firmware:
Connect via SSH using internal pre-populated headers. Starting from resistor R1317:
TX - GND - 3.3V - N/A - RX.
Boot router and enter failsafe mode: press f + return when prompted.
Mount rootfs: mount_root.
Set a new root password: passwd.
Open axon_platform_manager and set sshServerEnable, localAccessEnable and remoteAccessEnable to 1:
In axon_platform_manager, search for SSH. You'll see something like Enabled%25252c1%25252cSSH%Drop a few times…
PR
main
← andrewjlamarche:w1700k
opened 02:09AM - 06 Feb 25 UTC
This commit adds support for Gemtek (Centurylink/Lumen/Quantum Fiber)
W1700K.
…
Device specification
--------------------
SoC Type: Airoha AN7581
RAM: ESMT M16U8G16512A (2GB)
Flash: Winbond 25N04KVZEIR (512MB)
Ethernet: 2x gigabit via AN7581, 2x 10g via RTL8261N
Wi-Fi: MT7996 - BE19000
LEDs: 1 LED, power/status
Button: Reset
USB ports: None
Bootloader: U-Boot 2014.04-rc1 (Jun 12 2024 - 08:14:34) AXON 2.0
This device is pretty useless with the stock firmware and wastes a lot of space on the flash. As a non/subscriber, there is no apparent way to configure any settings. Therefore, the partitions have been restructured to make better use of the space and also utilizes UBI for the rootfs and overlay. As a result, reverting to the stock firmware is not documented here, though it should be possible by writing back the vendor firmware to 0x600000 and restoring the default bootcmd to `flash imgread 2048`.
See the commit for full install instructions.
Lights
Flashing Method
main
← andrewjlamarche:w1700k
This commit adds support for Gemtek (Centurylink/Lumen/Quantum Fiber)
W1700K.
D… evice specification
--------------------
SoC Type: Airoha AN7581
RAM: ESMT M16U8G16512A (2GB)
Flash: Winbond 25N04KVZEIR (512MB)
Ethernet: 2x gigabit via AN7581, 2x 10g via RTL8261N
Wi-Fi: MT7996 - BE19000
LEDs: 1 LED, power/status
Button: Reset
USB ports: None
Bootloader: U-Boot 2014.04-rc1 (Jun 12 2024 - 08:14:34) AXON 2.0
This device is pretty useless with the stock firmware and wastes a lot
of space on the flash. Therefore, the partitions have been restructured
to make better use of the space and also utilized UBI for the rootfs and
overlay. As a result, reverting to the stock firmware is not documented
here, though it is possible by writing back the vendor firmware to
0x600000 and restoring the default bootcmd to `flash imgread 2048`.
The following steps can be used to install OpenWrt.
Connect to serial console. There is a Torx T10 screw underneath the QR
code printed onto the label. Then, pry between the gray and white
plastic, starting by the ports on the back. There are clips arount the
entire device. Starting closest to the screw next to the UART header,
TX - GND - VCC - N/A - RX. The bootloader can be interrupted by
pressing any key.
Configuring Bootloader:
The bootloader's default bootcmd will only run a signed image. However,
we can still bootm our own image from flash.
- setenv bootflag 0
- setenv one flash read 0x600000 0x1000000 \$loadaddr
- setenv two "; bootm"
- setenv bootcmd "$one$two"
- setenv one
- setenv two
- saveenv
Rooting Stock FW:
- Boot the router and watch serial console until presented with failsafe
mode. Enter it (f + enter).
- mount_root
- Change the root password (passwd).
- Open /etc/config/axon_platform_manager and set sshServerEnable,
localAccessEnable and remoteAccessEnable to 1.
- Search for "SSH". You'll find a long string with 3 matches such as
Enabled%25252c1%25252cSSH%Drop. Change and instances of "Disabled"
preceeding SSH to "Enabled" and any instances of "Drop" to "Accept"
that follow SSH. Same for "Local SSH" and "Remote SSH".
- Set /etc/config/dropbear to:
config dropbear
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option Port '22'
- Reboot.
- Connect 10g WAN port to existing network and SSH in with the password
you set.
Backing up stock firmware partitions:
- SSH into rooted stock fw.
- dd off each /dev/mtdX partition and save to your computer
Booting OpenWrt initramfs:
- Set your computer's IP address to 192.168.0.205.
- Run a TFTP server providing the initramfs image.
- Power on the device and enter U-Boot menu.
- tftpboot 0x89000000 openwrt-airoha-an7581-airoha_an7581-gemtek-w1700k-initramfs-uImage.itb
* Note: The ethernet driver is flaky and may drop packets before loading
the initramfs. A small initramfs is recommended, and it may take
several tries to successfully load the image via TFTP.
- The sysupgrade image can be flashed now.
Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
4 Likes
At $36 it's a steal, if support/ed/able/.
KOA
January 27, 2025, 6:20am
3
Is it supportable in theory?
depends on how locked down it is, and if the SoC support is in mainline ...
KOA
January 27, 2025, 10:19am
5
Do those two PR which have been merged count?
KOA
January 27, 2025, 1:52pm
8
so it mean this target is supportable?
supportable <> flashable.
KOA
January 27, 2025, 1:56pm
10
this is the first step. at the price I am getting this USD 25, I think I can get a unit to help developers.
USD 25
2x 10G ports
Tri-band Wifi 7
Wifi 6Ghz radio.
what else do you want at this price?
This is a super interesting device. Going to see if I can scoop one from eBay.
KOA
January 27, 2025, 2:32pm
13
it is only possible if developers get a hand on it.
Very supportable. Extract the FDTB and make a DTS(I) for this device, then a Makefile profile. It currently runs OpenWRT so you can probably get away with making a vanilla sysupgrade and init.
Might require a few boots to figure out what works and what doesn't. Spend time to compare its DTS with those in openwrt to figure out how they differ - the link identifies its chipset as an7581, but it's not an eval board.
Be mindful of other hardware refreshes. The depicted silk-screens suggest other hardware versions exist.
You might also do well to request the GPL sources for it.
1 Like
KOA
January 27, 2025, 2:36pm
15
GPL sources have already been requested.
It will depend on https://github.com/openwrt/openwrt/pull/17140 as well, since this board uses 2x RTL8261 PHY for the 10g ports.
KOA
January 27, 2025, 4:42pm
17
I am waiting for shipping on my router. I will try to help with the development.
I don't have hardware yet, but I've started a very WIP branch. I'm not sure yet how to work in the RTL8261N PHYs, but I'll get there eventually. Same with wireless.
2 Likes
KOA
January 28, 2025, 3:51am
19
You have bought the hardware? Mine is awaiting shipment
Yes, should be here in a week or so.
1 Like
KOA
January 28, 2025, 2:19pm
21
that would be great. Mine will reach around mid-February.