OpenWrt with Asus low-end routers

As it turned out, some of the low-end Asus routers are not supported by OpenWrt (and/or LEDE). Also, due to wonders of the marketing department, the boards are shared between some of these, i.e.:

– Asus RT-N12+ == RT-N11P == RT-N12E b1
– Asus RT-N12+ V3 == RT-N300 B1
– Asus RT-N12E c1 == ???

(You can spend some time on wikidevi to map these, use the FCC ID as a confirmation for a match).

These are usually built on a flavour of Ralink MIPS boards (MT7620a/n, MT7628), so can be easily supported with a standard DTS added, the difference is mostly around LED configs, buttons, and USB enabled/disabled.

To cover the first set, a patch was sent as an example:

https://git.lede-project.org/?p=source.git;a=commit;h=58e0673900ea585b03d3cc2f8917667faa3f977f

If you want to add one yourself, files that need changes:

modified: target/linux/ramips/base-files/etc/board.d/01_leds
modified: target/linux/ramips/base-files/etc/board.d/02_network
modified: target/linux/ramips/base-files/lib/ramips.sh
modified: target/linux/ramips/base-files/lib/upgrade/platform.sh
modified: target/linux/ramips/image/mt7620.mk

… and copy the DTS in target/linux/ramips/dts from the closest sibling. You can use the “rt-n12p” device target as an example.

-w-

Leave a Reply