Porting guide ar71xx to ath79?


#873

Hi all,

I've raised a pull request with a port to ath79 for my D-Link DIR-825-C1 (Link). I included support for DIR-835-A1 as well, as it's included also in the "mach" file for ar71xx.

The two routers are similar, except for some LEDs. Anyway, I don't have an 835 myself, so I would be glad if somebody could test this. I'd be interested in knowing if it works in general (it should) and especially if the interfaces get the correct MAC addresses and if the LEDs are fine.

I don't know if anybody still uses this router. I've seen some forum posts that suggest some do (hello @terry98 and @br14).

It'd be cool if I could get some feedback on the DIR-835-A1. My mail address is in the pull request.

Thanks!
Seb


#874

FYI

I have created a new target page to reflect the status of ar71xx->ath79 migration:
https://openwrt.org/docs/techref/targets/ar71xx-ath79 - shows ar71xx-ath79 only (=migrated devices)

The already existing pages for ar71xx + ath79 have been modified to show both, ar71xx + ath79:
https://openwrt.org/docs/techref/targets/ar71xx - shows ath79 + ar71xx
https://openwrt.org/docs/techref/targets/ath79 - shows ath79 + ar71xx

I updated the status of the devices listed further above accordingly.

For already existing (ar71xx-) devices, you can update the status yourself by editing the respective dataentry:

  • Set target = ath79 → devices with this target can be found only in ath79
  • Set target = ar71xx-ath79 → devices with this target can be found in both, ar71xx and ath79
  • Set Unsupported functions = ath79 WIP → incomplete ath79 migration; work in progress
  • Set Unsupported functions = <empty> → 100% complete ath79 migration; no manual adjustment of configuration necessary when migrating from ar71xx to ath79

#875

please backup those mtd partitions, especially art !!!
the PR is here
if you don't know how to build them I can link you an image, but it would be better to build it yourself, also please have a functioning serial ttl connected to the board (you can find in the wiki what pins you need to use and connect)

maybe others can review this on flash layout calculations

Regards