Adding OpenWrt support for Engenius EAP1250

I came to learn from reading this that the OpenWrt-supported Engenius EAP1300 is "identical except for where RJ45 port is" to the Engenius EAP1250.

I have an EAP1250 which I would like to flash to OpenWrt. Would adding support be trivial?

I tried the EAP1300 firmware without any luck with sysupgrade, and I wasn't sure which partition to target with a mtd write command in the absense of linux or firmware -- output below.

Thanks in advance for any help!

cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "0:SBL1"
mtd1: 00020000 00010000 "0:MIBIB"
mtd2: 00060000 00010000 "0:QSEE"
mtd3: 00010000 00010000 "0:CDT"
mtd4: 00010000 00010000 "0:DDRPARAMS"
mtd5: 00010000 00010000 "0:APPSBLENV"
mtd6: 00080000 00010000 "0:APPSBL"
mtd7: 00010000 00010000 "0:ART"
mtd8: 00080000 00010000 "userconfig"
mtd9: 00400000 00010000 "0:HLOS"
mtd10: 01a00000 00010000 "rootfs"
mtd11: 00a30000 00010000 "rootfs_data"

Hey there, I have added 6 older Engenius boards to the project, 4 of them are still pending review. This is a much newer one so there's probably a lot of differences.

First, open the board, remove shields if there are any (like a tin lid), record the model of every chip (SOC, WLAN, RAM, FLASH, external ethernet switch if there is one).
Never assume hardware will be the same as another model.

(btw the people in the mailing list were mistaken, IPQ chips are Qualcomm not Broadcom)

Here's a general list of the other things you need to get started

FCC ID (I am guessing this is the device)
(unfortunately the FCC photos for this one are really bad)

kernel log (dmesg or copy serial output)
(only the serial console output can tell you which partition is being booted)

uboot environment
(either printenv from uboot or fw_printenv after booted)

dump of the ART partition
hexdump -C /dev/mtd7

GPIO numbers and ethernet PLL registers


(PLL registers need more explaining later, and I don't know how it works for IPQ SOCs)

Also,

Make a full backup of the flash

see if there is a file in the OEM software like
/etc/fwupgrade.sh

If it is really the same as EAP1300, use this commit for reference

However I can tell right away that partitions are different.
In this case I am guessing mtd9 is kernel and mtd10 is rootfs

Thanks so much for such a thorough response!

This is my first time doing something like this: should I create a wiki entry for the device and populate the details there or just reply to this thread?

both?

here first though