Skip to content

Commit 839b879

Browse files
committed
docs: Add new hardware docs for the OpenWrt One AP
1 parent 2e73d91 commit 839b879

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

openwrt/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The SCaLE network teams build of openwrt for the APs for the conference.
99
- [Build Openwrt](./docs/BUILD.md)
1010
- [Dynamic Network Config](./docs/DYNAMIC_CONFIG.md)
1111
- [mt7622 Linksys E8450/Belkin RT3200](./docs/MT7622.md)
12+
- [mt7981x OpenWrt One](./docs/MT7981X.md)
1213
- [TPLink c2600](./docs/IPQ806X.md)
1314
- [WNDR 3700,3800,3800ch](./docs/AR71XX.md)
1415
- [Network Load Testing](./docs/LOADTEST.md)

openwrt/docs/MT7981X.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# OpenWrt One (mt7981x)
2+
3+
**IMPORTANT: Prepare an empty FAT32 formatted flash drive with a Master Boot Record (MBR) partition table. If there are any other files in the USB drive, or has a GUID Partition Table (GPT), it won't work.**
4+
5+
## Prerequisites:
6+
7+
- Connect the AP using a data USB-C cable to the USB-C console port (on the front of the AP)
8+
- Find what tty interface the console is located, usually `/dev/ttyACM0` or `/dev/ttyUSB0`
9+
- (Use dmesg with sudo to find what tty interface is using)
10+
- Connect to the console using `screen /dev/ttyACM0 115200`
11+
- (Ensure you run `usrmod -a -G dialout $USER` as sudo, logout then reboot)
12+
13+
## Mass device flashing:
14+
15+
See [Massflash](./MASSFLASH.md)
16+
17+
## Firmware upgrade by USB:
18+
19+
- The file MUST be named or the flash update WON'T WORK.
20+
"openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb".
21+
- The NAND/NOR boot switch must be in the 'NAND' position.
22+
- Insert USB stick into the Type-A USB port on the front of the device.
23+
- Press and hold 'RESET' button while powering up device (USB-C or POE).
24+
- Continue holding 'RESET' until amber LED is blinking.
25+
- Wait for the middle 'OK' light to go green (or wait 1 minute).
26+
27+
## Firmware recovery:
28+
29+
If the device fails to boot or has become unresponsive:
30+
31+
- Place the following files on the USB stick:
32+
openwrt-mediatek-filogic-openwrt_one-snand-preloader.bin"
33+
openwrt-mediatek-filogic-openwrt_one-factory.ubi"
34+
(The 2 above files must be named exactly, or recovery won't work!)
35+
- Insert USB stick on the front of device.
36+
- Flip the "NAND/NOR" boot switch to the 'NOR' position.
37+
- Press and hold the front button while powering up device (USB-C or POE).
38+
- Wait for the middle 'OK' light to go green (or wait 1 minute).
39+
40+
## SCaLE version check
41+
42+
Login using the serial terminal and use `cat /proc/scale-version` to verify the correct version used.
43+
44+
## Pull LLDP
45+
46+
Use `lldpcli show nei`
47+
48+
```
49+
System name: name of switch plugged
50+
Port ID: what port is connected to the switch
51+
Port description:
52+
(cf-conference center)
53+
(ex-expo floor)
54+
(infraSLOW & infraFAST)
55+
If it displays any other info - may connected to PCC network
56+
```

0 commit comments

Comments
 (0)