PFP9W.net Permanent Floating Plan 9 Workshop

mt7628

This is a Linksys E2500 WiFi router using the Mediatek MT7628 CPU. The MT7628 is very similar to the MT7688, so the same kernal runs on both. It is a Mips 24KEc based CPU running little-endian.

Currently, the UART, Ethernet, and I²C bus are working. This Linksys router does not have pins for I²C available, but I have other MT7688 devices that do. I have an experimental driver for the Ethernet switch. And a WiFi driver that so far can load the firmware.

I orininally started working on a port of 9front to the MT7688 to use the Onion Omega 2 boards for various IoT and sensor network projects. However, it is easier to develop on WiFi routers since they tend to come configured to allow installing a kernel over Ethernet. It is the usual method for install things like OpenWRT.


## Starting application at 0x80020000 ...
127 holes free
0x004f3030 0x01d76000 25702352
25702352 bytes free
Plan 9 
cpu0: 580MHz mips 24KEc l v2 5 rev 1, no fpu
cpu0: 32 tlb entries, using 4K pages
cpu0: l1 i cache: 512 sets 4 ways 32 bytes/line
cpu0: l1 d cache: 256 sets 4 ways 32 bytes/line
cpu0: cycle counter res = 2
count=532820EB compare=533D5232 580
(m)status 1000010000000000
caches configured as write-through
128M memory: 30M kernel data, 98M user, 1122M swap
#l0: ether7688: 100Mbps port 0xB0100000 irq 5 ea d8	ec5e1577a5
frc0 check = 80020c3c
mt7688.bootfs: Sun May 11 04:18:06 GMT 2025
fingerprint: 398df0e5d031c6b68f99987cb059c5ff84ba4523
reset switch
reset eth and ephy
#l0: phy0 id 03a29410 oui e8a5