Installing Openwrt on Devolo Magic 2 wifi next

It seems I was too optimistic regarding the MIPS version of the device. The binaries for it are compiled against uClibc there which is quite different than musl that is used nowadays. All ARM devices use musl also with Devolo's firmware.

Currently I'm running into a segfault when I try to run ghn_host. I probably need to make sure there is no interference and it's loading exclusively uClibc compiled libraries as shipped with the Devolo firmware.

It will require some extra tricks to get this to fully work.

Edit: these tricks are implemented now, see a more recent commit of the script linked above. Right now I'm running into the problem that I cannot seem to change the port speed to 100 Mbit/s. This is needed to initialize the G.hn chip.

Edit2: switching the port over seems to work too (see latest commit), but somehow it's not yet working. More digging into the differences between the switch handling on OpenWRT and downstream devolo OpenWRT is needed. It seems supporting the MIPS device is less trivial than I hoped. It would seem good if it would get ported to DSA too.

Hi guys, I have a related question and looking for confirmation. This topic is about the ARM Magic 2 WiFi Next, but is it correct that for the MIPS based MT-8031 Magic 2 WiFi if the PLC is configured before flashing Openwrt, the G.hn PLC works?
Thanks!

I've been experimenting a lot with the MIPS variant too, but as far as I can see the G.hn PLC in both the ARM and MIPS version is identical and needs to be initialized in the same way. Unfortunately there is still a problem preventing this from fully working. It seems to be related to ath79 networking.

I saw this note about pre-configuring the PLC too, but I don't believe this is possible.

I was experimenting some months ago though. Maybe things work better in the meantime. If there have been significant efforts on the ath79 networking it would definitely be worth a shot.

On a side-note my ARM based device has been running great with plain OpenWRT for months now.

1 Like

As the PLC is the same in the MIPS and ARM device, I am curious to know if you have G.hn running on your OpenWRT Magic 2 WiFi next.
If so, can you please share how you did this?
I have both the MIPS (MT8081) and ARM (MT8056) version.

Yes, on the next/ARM model it works fine using the packages extracted from Devolo's firmware.

I put the steps for this here: