openwrt/target/linux/mediatek/image
David Bauer 194e85e7db mediatek: add support for Ubiquiti UniFi 6 LR
Hardware
--------

MediaTek MT7622
512MB DDR3 RAM
64M SPI-NOR Flash (Winbond W25Q512JV)
MediaTek MT7622 802.11bgn 4T4R WMAC
MediaTek MT7915 802.11ax 4T4R
Marvell AQR1112 100/1000/2500 NBase-T PHY
Holtek HT32F52241 LED controller
Reset Switch

UART
----

CPU UART0 at the pinout next to the Holtek MCU.

Pinout (first pin next to SoC / MCU)

0 3V3
1 RX
2 TX
3 GND

Settings are 115200 8N1.

Opening the case
----------------

Opening the case is not a nice task, as itis glued together. Insert a
flat knife between the front and back casing below the ethernet port.
Open up a gap this way and insert a flat scredriver, remove the knife.

Work your way around the casing by applying force to seperate the front
and back casing. This losens the glue and opens the plastic clips. Be
gentle, as these clips are very cheap and break quickly.

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

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

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

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

   $ cat /proc/mtd

4. Set the bootselect flag to boot from kernel0

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

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

   $ dd if=openwrt.bin of=/dev/mtdblock8
   $ dd if=openwrt.bin of=/dev/mtdblock9

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

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 634c13c186)
2021-02-18 12:14:34 +01:00
..
Config.in mediatek: mt7623: add full system image for UniElec U7623 2020-07-26 17:08:31 +08:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
gen_mt7622_emmc_img.sh mediatek: make emmc image generation work on mt7622 2020-06-07 17:52:21 +02:00
gen_mt7623_emmc_img.sh mediatek: mt7623: fix sysupgrade from vendor OpenWrt on UniElec U7623 2020-07-26 16:42:35 +08:00
gen_mtk_mmc_img.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
gen_scatterfile.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
mt7622.mk mediatek: add support for Ubiquiti UniFi 6 LR 2021-02-18 12:14:34 +01:00
mt7623.mk mediatek: mt7623: add full system image for UniElec U7623 2020-07-26 17:08:31 +08:00
mt7623a_unielec_u7623-uEnv.txt mediatek: mt7623: add full system image for UniElec U7623 2020-07-26 17:08:31 +08:00
mt7623n_bpir2-uEnv.txt mediatek: add SD card image creation for Banana Pi R2 2020-07-08 23:22:30 +02:00
mt7629.mk mediatek: fix image building 2020-05-04 16:28:46 +02:00