diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-04-02 12:05:15 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-04-09 16:04:46 +0100 |
commit | e9ad412049c3d4d2e5bbd6993e4cc9922a8a27a9 (patch) | |
tree | 65e090ec9f5497445aeab649887d65f98abef9ca /package/boot/uboot-mediatek/Makefile | |
parent | d37aaf3ee29df0c6eea960e51ca64fd27e425598 (diff) | |
download | upstream-e9ad412049c3d4d2e5bbd6993e4cc9922a8a27a9.tar.gz upstream-e9ad412049c3d4d2e5bbd6993e4cc9922a8a27a9.tar.bz2 upstream-e9ad412049c3d4d2e5bbd6993e4cc9922a8a27a9.zip |
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>
Diffstat (limited to 'package/boot/uboot-mediatek/Makefile')
-rw-r--r-- | package/boot/uboot-mediatek/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile index c71ed67f58..269c9e5db5 100644 --- a/package/boot/uboot-mediatek/Makefile +++ b/package/boot/uboot-mediatek/Makefile @@ -54,6 +54,17 @@ define U-Boot/mt7622_bananapi_bpi-r64-sdmmc DEPENDS:=+trusted-firmware-a-mt7622-sdmmc-2ddr endef +define U-Boot/mt7622_ubnt_unifi-6-lr + NAME:=Ubiquiti UniFi 6 LR + UBOOT_CONFIG:=mt7622_ubnt_unifi-6-lr + BUILD_DEVICES:=ubnt_unifi-6-lr-ubootmod + BUILD_SUBTARGET:=mt7622 + UBOOT_IMAGE:=u-boot.fip + BL2_BOOTDEV:=nor + BL2_DDRBLOB:=2 + DEPENDS:=+trusted-firmware-a-mt7622-nor-2ddr +endef + define U-Boot/mt7623a_unielec_u7623 NAME:=UniElec U7623 (mt7623) BUILD_DEVICES:=unielec_u7623-emmc unielec_u7623-02-emmc-512m-legacy @@ -81,6 +92,7 @@ UBOOT_TARGETS := \ mt7622_bananapi_bpi-r64-sdmmc \ mt7622_linksys_e8450 \ mt7622_rfb1 \ + mt7622_ubnt_unifi-6-lr \ mt7623n_bpir2 \ mt7623a_unielec_u7623 \ mt7629_rfb |