Skip to content

Commit 5460208

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

File tree

2 files changed

+56
-0
lines changed

2 files changed

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

0 commit comments

Comments
 (0)