Skip to content

[READY] docs: Add new hardware docs for OpenWrt One #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openwrt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The SCaLE network teams build of openwrt for the APs for the conference.
- [Build Openwrt](./docs/BUILD.md)
- [Dynamic Network Config](./docs/DYNAMIC_CONFIG.md)
- [mt7622 Linksys E8450/Belkin RT3200](./docs/MT7622.md)
- [mt7981x OpenWrt One](./docs/MT7981X.md)
- [TPLink c2600](./docs/IPQ806X.md)
- [WNDR 3700,3800,3800ch](./docs/AR71XX.md)
- [Network Load Testing](./docs/LOADTEST.md)
Expand Down
56 changes: 56 additions & 0 deletions openwrt/docs/MT7981X.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# OpenWrt One (mt7981x)

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

## Prerequisites:

- Connect the AP using a data USB-C cable to the USB-C console port (on the front of the AP)
- Find what tty interface the console is located, usually `/dev/ttyACM0` or `/dev/ttyUSB0`
- (Use dmesg with sudo to find what tty interface is using)
- Connect to the console using `screen /dev/ttyACM0 115200`
- (Ensure you run `usrmod -a -G dialout $USER` as sudo, logout then reboot)

## Mass device flashing:

See [Massflash](./MASSFLASH.md)

## Firmware upgrade by USB:

- The file MUST be named or the flash update WON'T WORK.
"openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb".
- The NAND/NOR boot switch must be in the 'NAND' position.
- Insert USB stick into the Type-A USB port on the front of the device.
- Press and hold 'RESET' button while powering up device (USB-C or POE).
- Continue holding 'RESET' until amber LED is blinking.
- Wait for the middle 'OK' light to go green (or wait 1 minute).

## Firmware recovery:

If the device fails to boot or has become unresponsive:

- Place the following files on the USB stick:
openwrt-mediatek-filogic-openwrt_one-snand-preloader.bin"
openwrt-mediatek-filogic-openwrt_one-factory.ubi"
(The 2 above files must be named exactly, or recovery won't work!)
- Insert USB stick on the front of device.
- Flip the "NAND/NOR" boot switch to the 'NOR' position.
- Press and hold the front button while powering up device (USB-C or POE).
- Wait for the middle 'OK' light to go green (or wait 1 minute).

## SCaLE version check

Login using the serial terminal and use `cat /proc/scale-version` to verify the correct version used.

## Pull LLDP

Use `lldpcli show nei`

```
System name: name of switch plugged
Port ID: what port is connected to the switch
Port description:
(cf-conference center)
(ex-expo floor)
(infraSLOW & infraFAST)
If it displays any other info - may connected to PCC network
```
Loading