openwrt/target/linux
Sven Wegener f54d4ea0bb ramips: add support for Ubiquiti UniFi FlexHD
Hardware
--------

- SoC: MediaTek MT7621AT with 128 MiB RAM and 32 MiB Flash
- Wi-Fi: MediaTek MT7603 (b/g/n, 2x2) and MediaTek MT7615 (ac, 4x4)
- Bluetooth: CSR8811 (internal USB, install kmod-bluetooth)

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

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

2. Update the bootloader environment.

   $ fw_setenv devmode TRUE
   $ fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr);
     fdt rm /signature; bootubnt"
   $ fw_setenv bootcmd "run boot_openwrt"

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

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

   $ cat /proc/mtd

5. Set the bootselect flag to boot from kernel0

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

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

   $ dd if=openwrt.bin of=/dev/mtdblock6
   $ dd if=openwrt.bin of=/dev/mtdblock7

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

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit 820f0c07c5)
2022-09-18 15:40:04 +01:00
..
apm821xx kernel: bump 5.10 to 5.10.142 2022-09-17 15:58:25 +02:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
at91 kernel: bump 5.10 to 5.10.143 2022-09-17 15:58:25 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
ath79 ath79: Make patches apply again 2022-09-18 15:40:04 +01:00
bcm27xx kernel: bump 5.10 to 5.10.143 2022-09-17 15:58:25 +02:00
bcm47xx generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
bcm53xx kernel: bump 5.10 to 5.10.142 2022-09-17 15:58:25 +02:00
bcm63xx kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
bcm4908 bcm4908: enable NVMEM U-Boot env data driver 2022-09-03 20:56:06 +02:00
bmips bmips: dgnd3700v2: fix network config 2022-06-07 21:36:58 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
generic ath79: Make patches apply again 2022-09-18 15:40:04 +01:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx kernel: bump 5.10 to 5.10.141 2022-09-17 15:58:25 +02:00
ipq806x kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
kirkwood generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
lantiq kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
layerscape kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
mediatek generic: move ledbar driver from mediatek target 2022-09-18 15:39:41 +01:00
mpc85xx mpc85xx: Drop pci aliases to avoid domain changes 2022-09-02 21:42:52 +02:00
mvebu mvebu: backport pending Turris Omnia LEDs improvements 2022-08-16 15:39:16 +02:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
octeon kernel: bump 5.10 to 5.10.138 2022-08-28 07:24:59 +02:00
octeontx kernel: bump 5.10 to 5.10.138 2022-08-28 07:24:59 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
oxnas kernel: bump 5.10 to 5.10.121 2022-06-27 22:34:07 +02:00
pistachio kernel: backport mtd dynamic partition patch 2022-09-13 14:22:36 +02:00
qoriq qoriq: enable Book-E Watchdog Timer 2022-07-01 16:42:32 +03:00
ramips ramips: add support for Ubiquiti UniFi FlexHD 2022-09-18 15:40:04 +01:00
realtek kernel: bump 5.10 to 5.10.139 2022-09-17 15:58:25 +02:00
rockchip rockchip: add system-LED aliases specific to OpenWrt 2022-09-10 13:03:20 +02:00
sunxi kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
tegra kernel: bump 5.10 to 5.10.132 2022-07-30 17:21:47 +02:00
uml generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
x86 kernel: bump 5.10 to 5.10.136 2022-08-14 21:06:53 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00