ipq40xx: eap1300: add eap1300ext as alt model
authorRyan Castellucci <code@ryanc.org>
Mon, 6 May 2024 14:12:10 +0000 (15:12 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 1 Jul 2024 05:14:18 +0000 (07:14 +0200)
commita0d2ddac30f3d31f7808d1c04809de1c5770e661
tree00ad034b51b29f2e50bb98afb54110fa2c36cd15
parentef4fc5cc1da63f87eb3425f1b7737c149ea157e1
ipq40xx: eap1300: add eap1300ext as alt model

The EnGenius EAP1300 and EAP1300EXT use identical boards and firmware
(as flashed) from the vendor.

As with the EAP1300, the EAP1300EXT requires a specific firmware version
to flash OpenWRT. Unfortunately, the required firmware is truncated on
the vendor's website.

A working file can be created as follows:

```
curl \
https://www.engeniustech.com/wp_firmware/eap1300-all-v3.5.3.5_c1.9.04.bin \
| perl -pe 's/\x09EAP1300_A/\x0cEAP1300EXT_A/' \
> eap1300ext-all-v3.5.3.5_c1.9.04.bin
```

The file should have sha256:
`58a1197a426139a12b03fd432334e677124cbe3384349bd7337f2ee71f1dcfd4`.

Please see commit 2b4ac79 for further
details.

The vendor firmware must be decrypted before it can be flashed from
OpenWRT. A tool able to do that is available from:

https://github.com/ryancdotorg/enfringement/blob/main/decrypt.py

Signed-off-by: Ryan Castellucci <code@ryanc.org>
(cherry picked from commit 85f6f882232367b64c7933fb4856fdf4999c6aae)
target/linux/ipq40xx/image/generic.mk