immortalwrt/target/linux/ath79/image
Jihoon Han af5a11485a ath79: add support for Dongwon T&I DW02-412H
Dongwon T&I DW02-412H is a 2.4/5GHz band 11ac (WiFi-5) router, based on
Qualcomm Atheros QCA9557.

Specifications
--------------

- SoC: Qualcomm Atheros QCA9557-AT4A
- RAM: DDR2 128MB
- Flash: SPI NOR 2MB (Winbond W25Q16DVSSIG / ESMT F25L16PA(2S)) +
         NAND 64/128MB
- WiFi:
  - 2.4GHz: QCA9557 WMAC
  - 5GHz: QCA9882-BR4A
- Ethernet: 5x 10/100/1000Mbps
  - Switch: QCA8337N-AL3C
- USB: 1x USB 2.0
- UART:
  - JP2: 3.3V, TX, RX, GND (3.3V is the square pad) / 115200 8N1

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

1.  Connect a serial interface to UART header and
    interrupt the autostart of kernel.
2.  Transfer the factory image via TFTP and write it to the NAND flash.
3.  Update U-Boot environment variable.
    > tftpboot 0x81000000 <your image>-factory.img
    > nand erase 0x1000000
    > nand write 0x81000000 0x1000000 ${filesize}
    > setenv bootpart 2
    > saveenv

Revert to stock firmware
--------------

1.  Revert to stock U-Boot environment variable.
    > setenv bootpart 1
    > saveenv

MAC addresses as verified by OEM firmware
--------------

   WAN: *:XX (label)
   LAN: *:XX + 1
  2.4G: *:XX + 3
    5G: *:XX + 4

The label MAC address was found in art 0x0.

Credits
--------------

Credit goes to the @manatails who first developed how to port OpenWRT
to this device and had a significant impact on this patch.

And thanks to @adschm and @mans0n for guiding me to revise the code
in many ways.

Signed-off-by: Jihoon Han <rapid_renard@renard.ga>
Reviewed-by: Sungbo Eo <mans0n@gorani.run>
Tested-by: Sungbo Eo <mans0n@gorani.run>
2021-11-20 00:10:22 +08:00
..
bin ath79: update upsteam 2019-12-02 05:55:49 -08:00
lzma-loader ath79: lzma-loader: allow setting custom kernel magic 2021-04-08 23:11:52 +08:00
common-buffalo.mk ath79: use common device definition for Buffalo devices 2020-09-17 11:47:27 +08:00
common-mikrotik.mk treewide: call check-size before append-metadata 2021-07-11 12:13:31 +08:00
common-netgear.mk treewide: call check-size before append-metadata 2021-07-11 12:13:31 +08:00
common-senao.mk ath79: add recipe for common setup with loader-okli-compile 2021-10-09 00:04:10 +08:00
common-tp-link.mk treewide: call check-size before append-metadata 2021-07-11 12:13:31 +08:00
common-yuncore.mk ath79: update upsteam 2019-12-02 05:55:49 -08:00
generic-tp-link.mk ath79: add support for TP-Link CPE710-v1 2021-09-27 23:56:37 +08:00
generic-ubnt.mk ath79: add support for Ubiquiti PowerBeam M2 (XW) 2021-08-23 12:04:27 +08:00
generic.mk ath79: add support for Letv LBA-047-CH 2021-11-02 00:05:19 +08:00
Makefile ath79: add recipe for common setup with loader-okli-compile 2021-10-09 00:04:10 +08:00
mikrotik.mk ath79: mikrotik: enable SFP on RB921GS-5HPacD (mANTBox 15s) 2021-11-02 00:08:49 +08:00
nand.mk ath79: add support for Dongwon T&I DW02-412H 2021-11-20 00:10:22 +08:00
tiny-netgear.mk ath79: netgear: trim down uImage customisations 2020-11-28 18:53:21 +08:00
tiny-tp-link.mk ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
tiny.mk treewide: call check-size before append-metadata 2021-07-11 12:13:31 +08:00