Quantum Fiber W1700k support

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.

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


PR


Lights


Flashing Method
Copied from the @andrewjlamarche flashing guide.

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 utilizes 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.

If you do not wish to make a backup, skip to Configuring Bootloader for
Openwrt.

Rooting Stock FW (for making backups, recommended):
- 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 any 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.
- SSH into rooted stock fw.
- dd off each /dev/mtdX partition and save to your computer

Configuring Bootloader for OpenWrt:
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

Booting OpenWrt initramfs and installing:
- 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
- bootm 0x89000000
* 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, via LuCI or the cli.


Sysupgrade Files

New sysupgrade files

@andrewjlamarche and @hurrian builds hosted by @ShiinaYuriChan

============================================
OpenWrt Wiki

5 Likes

At $36 it's a steal, if support/ed/able/.

Is it supportable in theory?

depends on how locked down it is, and if the SoC support is in mainline ...

Do those two PR which have been merged count?

3 Likes

so it mean this target is supportable?

supportable <> flashable.

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.

openwrt support ? :slight_smile:

3 Likes

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

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.

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

You have bought the hardware? Mine is awaiting shipment

Yes, should be here in a week or so.

1 Like

that would be great. Mine will reach around mid-February.