immortalwrt/target/linux
Elbert Mai f79f8c5df8
mediatek: filogic: add support for Ubiquiti UniFi 6 Plus (U6+)
Ubiquiti U6+ is a dual-band WiFi 6 PoE access point.
It is a drop-in upgrade of the U6 lite.

Specifications
---

- SoC: MediaTek MT7981A dual-core ARM Cortex-A53 1.3 GHz
- RAM: 256 MB DDR3-2133 RAM
- Flash: 16 MB SPI NOR and 4 GB eMMC
- LAN: 1x Gigabit Ethernet with 802.3af/at support
- WLAN: MediaTek MT7976C 2x2 MIMO dual-band WiFi 6
- LEDs: 1x blue and 1x white
- Buttons: 1x reset button

Installation
---

1. Power device using a PoE injector or switch
2. Connect via Ethernet to the device with static IP 192.168.1.2
3. SSH into the device with password: ubnt

        $ ssh ubnt@192.168.1.20

4. Unlock kernel partitions for writing

        $ echo 5edfacbf > /proc/ubnthal/.uf

5. Confirm correct partitions

        $ grep PARTNAME /sys/block/mmcblk0/mmcblk0p6/uevent
        PARTNAME=kernel0
        $ grep PARTNAME /sys/block/mmcblk0/mmcblk0p7/uevent
        PARTNAME=kernel1
        $ grep PARTNAME /sys/block/mmcblk0/mmcblk0p8/uevent
        PARTNAME=bs

6. Set and confirm bootloader environment

        $ fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr); fdt rm /signature; bootubnt"
        $ fw_setenv bootcmd_real "run boot_openwrt"
        $ fw_printenv

7. Copy sysupgrade image to /tmp/openwrt.bin via scp
8. Copy kernel and rootfs to mmcblk0p6 and mmcblk0p7, respectively

        $ tar xf /tmp/openwrt.bin sysupgrade-ubnt_unifi-6-plus/kernel -O | dd of=/dev/mmcblk0p6
        $ tar xf /tmp/openwrt.bin sysupgrade-ubnt_unifi-6-plus/root -O | dd of=/dev/mmcblk0p7

9. Ensure device boots from mmcblk0p6

        $ echo -ne "\x00\x00\x00\x00\x2b\xe8\x4d\xa3" > /dev/mmcblk0p8

10. Reboot the device

        $ reboot

Signed-off-by: Elbert Mai <code@elbertmai.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit 75ee5546e9)
2023-11-27 22:25:59 +08:00
..
airoha kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
apm821xx Merge Official sOURCE 2023-10-23 20:17:09 +08:00
archs38
armsr Merge Official sOURCE 2023-10-23 20:17:09 +08:00
at91
ath25 Merge Official Source 2023-09-27 10:14:47 +08:00
ath79 Merge Official Source 2023-11-22 13:55:05 +08:00
bcm27xx Merge Official Source 2023-11-22 13:55:05 +08:00
bcm47xx Merge Official Source 2023-10-11 09:20:52 +08:00
bcm53xx Merge Official Source 2023-11-04 12:58:38 +08:00
bcm63xx Merge Official Source 2023-08-13 10:38:44 +08:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-29 13:00:28 +01:00
bmips Merge Official Source 2023-08-13 10:38:44 +08:00
gemini
generic Merge Official Source 2023-11-22 13:55:05 +08:00
imx kernel: backport NVMEM patches queued for the v6.5 2023-07-10 12:54:53 +02:00
ipq40xx Merge Official Source 2023-11-04 12:58:38 +08:00
ipq806x Merge Official Source 2023-11-04 12:58:38 +08:00
ipq807x Merge Official Source 2023-11-04 12:58:38 +08:00
kirkwood
lantiq Merge Official Source 2023-11-22 13:55:05 +08:00
layerscape treewide: fix shell errors during dump stage 2023-11-13 14:02:38 +01:00
malta
mediatek mediatek: filogic: add support for Ubiquiti UniFi 6 Plus (U6+) 2023-11-27 22:25:59 +08:00
mpc85xx Merge Official Source 2023-11-04 12:58:38 +08:00
mvebu Merge Official Source 2023-09-25 22:46:45 +08:00
mxs mxs: rework image generation 2023-07-06 17:04:13 +02:00
octeon kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
octeontx kernel: bump 5.15 to 5.15.138 2023-11-19 14:44:36 +01:00
omap
oxnas Merge Official Source 2023-10-11 09:20:52 +08:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-11-02 09:45:08 +01:00
qoriq
ramips Merge Official Source 2023-11-13 12:40:17 +08:00
realtek realtek: add support for HPE 1920-8g-poe+ (65W) 2023-10-14 20:15:05 +02:00
rockchip rockchip: require image metadata 2023-11-27 22:11:20 +08:00
sifiveu Merge Official Source 2023-06-17 18:28:30 +08:00
sunxi sunxi: fixes led for nanopi boards 2023-10-31 00:44:03 +01:00
tegra
uml Merge Official Source 2023-09-27 10:14:47 +08:00
x86 Merge Official Source 2023-09-19 10:07:18 +08:00
zynq
Makefile