openwrt/target/linux/ramips
Sven Wegener 820f0c07c5 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>
2022-09-11 20:26:42 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: add support for Ubiquiti UniFi FlexHD 2022-09-11 20:26:42 +01:00
files/drivers ramips: ethernet: ralink: add led_source dts-binding 2022-05-01 13:40:13 +09:00
image ramips: add support for Ubiquiti UniFi FlexHD 2022-09-11 20:26:42 +01:00
mt76x8 ramips: add config-5.15 for mt76x8 subtarget 2022-09-11 02:49:28 +01:00
mt7620 ramips: add config-5.15 for mt7620 subtarget 2022-09-10 22:52:20 +01:00
mt7621 ramips: add support for Ubiquiti UniFi FlexHD 2022-09-11 20:26:42 +01:00
patches-5.10 kernel: bump 5.10 to 5.10.134 2022-07-29 23:03:41 +02:00
patches-5.15 kernel: mtk_eth_soc: fix hw hash reporting for MT7986 2022-09-07 04:21:41 +01:00
rt288x ramips: add config-5.15 for rt288x subtarget 2022-09-11 02:49:28 +01:00
rt305x ramips: add config-5.15 for rt305x subtarget 2022-09-11 02:49:28 +01:00
rt3883 ramips: add config-5.15 for rt3883 subtarget 2022-09-11 02:49:28 +01:00
Makefile ramips: add linux 5.15 support for mt7621 2022-03-27 21:36:40 +02:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00