|
| 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 | +See [Massflash](./MASSFLASH.md) |
| 14 | + |
| 15 | +## Firmware upgrade by USB: |
| 16 | + |
| 17 | +- The file MUST be named or the flash update WON'T WORK. |
| 18 | +"openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb". |
| 19 | +- The NAND/NOR boot switch must be in the 'NAND' position. |
| 20 | +- Insert USB stick into the Type-A USB port on the front of the device. |
| 21 | +- Press and hold 'RESET' button while powering up device (USB-C or POE). |
| 22 | +- Continue holding 'RESET' until amber LED is blinking. |
| 23 | +- Wait for the middle 'OK' light to go green (or wait 1 minute). |
| 24 | + |
| 25 | +## Firmware recovery: |
| 26 | +If the device fails to boot or has become unresponsive: |
| 27 | + |
| 28 | +- Place the following files on the USB stick: |
| 29 | + openwrt-mediatek-filogic-openwrt_one-snand-preloader.bin" |
| 30 | + openwrt-mediatek-filogic-openwrt_one-factory.ubi" |
| 31 | + (The 2 above files must be named exactly, or recovery won't work!) |
| 32 | +- Insert USB stick on the front of device. |
| 33 | +- Flip the "NAND/NOR" boot switch to the 'NOR' position. |
| 34 | +- Press and hold the front button while powering up device (USB-C or POE). |
| 35 | +- Wait for the middle 'OK' light to go green (or wait 1 minute). |
| 36 | + |
| 37 | +## SCaLE version check |
| 38 | + |
| 39 | +Login using the serial terminal and use `cat /proc/scale-version` to verify the correct version used. |
| 40 | + |
| 41 | +## Pull LLDP |
| 42 | + |
| 43 | +Use `lldpcli show nei` |
| 44 | + |
| 45 | +``` |
| 46 | +System name: name of switch plugged |
| 47 | +Port ID: what port is connected to the switch |
| 48 | +Port description: |
| 49 | +(cf-conference center) |
| 50 | +(ex-expo floor) |
| 51 | +(infraSLOW & infraFAST) |
| 52 | +If it displays any other info - may connected to PCC network |
| 53 | +``` |
0 commit comments