openwrt/target/linux
David Bauer 194e85e7db mediatek: add support for Ubiquiti UniFi 6 LR
Hardware
--------

MediaTek MT7622
512MB DDR3 RAM
64M SPI-NOR Flash (Winbond W25Q512JV)
MediaTek MT7622 802.11bgn 4T4R WMAC
MediaTek MT7915 802.11ax 4T4R
Marvell AQR1112 100/1000/2500 NBase-T PHY
Holtek HT32F52241 LED controller
Reset Switch

UART
----

CPU UART0 at the pinout next to the Holtek MCU.

Pinout (first pin next to SoC / MCU)

0 3V3
1 RX
2 TX
3 GND

Settings are 115200 8N1.

Opening the case
----------------

Opening the case is not a nice task, as itis glued together. Insert a
flat knife between the front and back casing below the ethernet port.
Open up a gap this way and insert a flat scredriver, remove the knife.

Work your way around the casing by applying force to seperate the front
and back casing. This losens the glue and opens the plastic clips. Be
gentle, as these clips are very cheap and break quickly.

Installation
------------

1. Connect to the booted device at 192.168.1.20 using username/password
   "ubnt".

2. Transfer the OpenWrt sysupgrade image to the device using SCP.

3. Check the mtd partition number for bs / kernel0 / kernel1

   $ cat /proc/mtd

4. Set the bootselect flag to boot from kernel0

   $ dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock6

5. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1

   $ dd if=openwrt.bin of=/dev/mtdblock8
   $ dd if=openwrt.bin of=/dev/mtdblock9

6. Reboot the device. It should boot into OpenWrt.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 634c13c186)
2021-02-18 12:14:34 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
armvirt target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 ath79: fix factory image generation for Netgear and Zyxel boards 2021-02-14 19:21:38 +01:00
bcm27xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
bcm47xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
bcm53xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
bcm63xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
bcm4908 bcm4908: fix GPIOs support by limiting them to 64 2021-02-15 22:18:50 +01:00
gemini target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
generic kernel: 5.4: fix .patch file extension 2021-02-17 01:32:28 +01:00
imx6 Revert "imx6: bootscript-apalis: make it working on v2021.01 release" 2021-02-14 23:28:07 +01:00
ipq40xx ipq40xx: remove generic profile 2021-01-27 21:31:20 +01:00
ipq806x ipq806x: replace full-text BSC license by SPDX identifier 2021-02-05 18:28:30 +01:00
kirkwood target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
lantiq lantiq: fritz7320: enable USB power supply 2021-02-18 00:14:51 +01:00
layerscape kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek mediatek: add support for Ubiquiti UniFi 6 LR 2021-02-18 12:14:34 +01:00
mpc85xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mvebu mvebu: espressobin: drop COMPHY removement patch 2021-02-14 09:34:57 +01:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
octeontx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
omap target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
oxnas target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
pistachio target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
ramips ramips: mark toggle input on EX6150 as a switch 2021-02-15 00:00:38 +01:00
realtek realtek: add support for Netgear GS108T v3 2021-02-12 08:52:41 +01:00
rockchip target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
sunxi target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
tegra target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
zynq target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00