uboot-mediatek: add build for Ubiquiti Networks UniFi 6 LR
authorDaniel Golle <daniel@makrotopia.org>
Fri, 2 Apr 2021 11:05:15 +0000 (12:05 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 9 Apr 2021 15:04:46 +0000 (16:04 +0100)
commite9ad412049c3d4d2e5bbd6993e4cc9922a8a27a9
tree65e090ec9f5497445aeab649887d65f98abef9ca
parentd37aaf3ee29df0c6eea960e51ca64fd27e425598
uboot-mediatek: add build for Ubiquiti Networks UniFi 6 LR

Add U-Boot build for the Ubiquiti Networks UniFi 6 LR access point.
This allows updating the bootchain to modern ARM Trusted Firmware 2.4
and U-Boot 2021.04 while keeping as much of the existing flash layout
as possible (u-boot-env, factory and eeprom partitions are retained),
gaining robust recovery vs. production dual-boot mechanism.
Add info for the Winbond W25Q512JV SPI NOR flash used in the device
and wait for GPIOs to settle after reset before checking for reset
button.
I2C connected LED controller is not supported yet.
Writing large amounts of data to SPI flash currently doesn't work due
to watchdog timeout causing reset before data write completes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/uboot-mediatek/Makefile
package/boot/uboot-mediatek/patches/300-mt7622-generic-reset-button-ignore-env.patch
package/boot/uboot-mediatek/patches/350-add-support-for-Winbond-W25Q512JV.patch [new file with mode: 0644]
package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch [new file with mode: 0644]