immortalwrt/package/boot
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
..
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: update to git HEAD 2021-05-09 20:49:53 +08:00
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: Add hash for aarch64 cm3-gcc 2021-09-21 23:50:49 +08:00
arm-trusted-firmware-rockchip atf-rockchip: update to 2.3 2020-07-18 13:24:44 +08:00
arm-trusted-firmware-rockchip-vendor arm-trusted-firmware-rockchip-vendor: workaround for VARIANT issue 2021-08-13 00:36:15 +08:00
arm-trusted-firmware-sunxi sunxi: add support for OrangePi 3 2021-06-20 13:12:45 +08:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: add patch to pass LDFLAGS 2021-02-11 12:09:41 +08:00
at91bootstrap at91bootstrap: Fix compile with binutils 2.36 2021-08-21 12:15:52 +08:00
aw-el2-barebone sunxi: add support for OrangePi 3 2021-06-20 13:12:45 +08:00
fconfig treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-08 12:11:32 +08:00
grub2 grub2: update to 2.06 2021-06-22 15:35:29 +08:00
imx-bootlets imx-bootlets: refresh patches 2021-02-25 12:02:55 +08:00
kexec-tools kexec-tools: add patch to fix issue with appended DTB and zImage on ARM 2021-05-23 23:28:54 +08:00
kobs-ng
mt7623n-preloader mediatek: mt7623n-preloader: add preloader for Banana Pi R64 2020-09-20 11:36:49 +08:00
tfa-layerscape tfp-layerscape: update to LSDK-20.12 2021-09-23 23:48:05 +08:00
uboot-at91 treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-envtools ath79: add support for Dongwon T&I DW02-412H 2021-11-20 00:10:22 +08:00
uboot-fritz4040 treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-imx6 treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-kirkwood uboot-kirkwood: refresh patches 2021-06-07 23:25:28 +08:00
uboot-lantiq treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-layerscape uboot-layerscape: fix dtc compilation on host gcc 10 2021-08-09 12:10:23 +08:00
uboot-mediatek u-boot.mk: fix pkg-config usage 2021-10-28 23:56:57 +08:00
uboot-mvebu u-boot.mk: always link host libraries static 2021-10-28 23:57:23 +08:00
uboot-mxs u-boot.mk: always link host libraries static 2021-10-28 23:57:23 +08:00
uboot-omap treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-oxnas treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-rockchip treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-sunxi Merge Mainline 2021-10-27 12:18:41 +08:00
uboot-tegra treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-zynq u-boot.mk: always link host libraries static 2021-10-28 23:57:23 +08:00