Custom firmware for Asus RT/DSL-N** Routers ? Let's talk about it!

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

GNUton

Regular Contributor
Hi there,
A while ago I tried to build the "unloved" Asus firmware for MediaTek based router.
At that time I faced a lot of issues and even if it was building on my machine it was not building on the cloud.
After so long time, a few days back I tried once again and I have correctly built the latest Asus firmware for dsl-n14u on CircleCI.

If you are interested in developing this firmware please join this thread or ping me via DM.
As for now, I do not have clear plans on how far I will go with this project since I do not own any of these devices yet and I do this for pure fun.

If you wanna have a look at the latest code please check https://github.com/gnuton/asus-mediatek-fw/tree/mainline

The first thing I would love to get is support for other supported routers.. PRs are welcome!
 

Meow Meow

New Around Here
Hey GNUton, thanks for the info in the other thread, and I appreciate it! I'd love to get this going for the DSL-AC52U router.

I see your repo, but I'm not sure where to go from there. I am a developer but I haven't performed any custom firmware dev before. Might be a slow process, but if you bare with me, I can get up to speed pretty quickly. :)
 

GNUton

Regular Contributor
Hi,
There is another developer which is interested in this firmware too. I think we should be in sync... let's use this thread for now. But we should get a better way... maybe gitter?

As for the repository is it organized:
MASTER BRANCH - contains pretty much docs
MAINLINE BRANCH - contains code common to all devices. Currently it builds only for n14u.
DSL-N14U - builds for dsl-n14u
DSL-AC52U - builds for AC52U.

If you wanna get your hand dirty u can start to understand why the branch doesn't compile https://circleci.com/gh/gnuton/asus-mediatek-fw/106 there are missing symbols... or something needs to be fixed.
 

Meow Meow

New Around Here
Hey sounds good! I just noticed these (like the others), apparently Email notifications aren't being sent to me on thread replies, even with the thread being watched. I'll be more responsive knowing this now. Also, getting on Gitter now!
 

Rad0van

New Around Here
Replied on gitter as well. Intrested in pursuing this - I have DSL-AC56U.

Both DSL-AC52U as well as mainline fail compiling for my device with floowing error. That leaves me clueless because I cannot find those includes anywhere...

Code:
make[3]: Entering directory '/home/rex/Programming/asus/gnuton/asus-mediatek-fw/apps/public/linux-atm/lib'
mips-linux-uclibc-gcc -mips32r2 -msoft-float -DVERSION=\"cat ../VERSION\" -I../lib -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Os -c -o text2atm.o text2atm.c
In file included from ../lib/stdint.h:9,
from atm.h:9,
from text2atm.c:12:
/usr/include/stdint.h:26:36: error: bits/libc-header-start.h: No such file or directory
/usr/include/stdint.h:34:30: error: bits/stdint-intn.h: No such file or directory
/usr/include/stdint.h:37:31: error: bits/stdint-uintn.h: No such file or directory
In file included from ../lib/stdint.h:9,
from atm.h:9,
from text2atm.c:12:
/usr/include/stdint.h:43: error: expected '=', ',', ';', 'asm' or 'attribute' before 'int_least8_t'
/usr/include/stdint.h:44: error: expected '=', ',', ';', 'asm' or 'attribute' before 'int_least16_t'
/usr/include/stdint.h:45: error: expected '=', ',', ';', 'asm' or 'attribute' before 'int_least32_t'
/usr/include/stdint.h:46: error: expected '=', ',', ';', 'asm' or 'attribute' before 'int_least64_t'
/usr/include/stdint.h:49: error: expected '=', ',', ';', 'asm' or 'attribute' before 'uint_least8_t'
/usr/include/stdint.h:50: error: expected '=', ',', ';', 'asm' or 'attribute' before 'uint_least16_t'
/usr/include/stdint.h:51: error: expected '=', ',', ';', 'asm' or 'attribute' before 'uint_least32_t'
/usr/include/stdint.h:52: error: expected '=', ',', ';', 'asm' or 'attribute' before 'uint_least64_t'
/usr/include/stdint.h:101: error: expected '=', ',', ';', 'asm' or 'attribute' before 'intmax_t'
/usr/include/stdint.h:102: error: expected '=', ',', ';', 'asm' or 'attribute' before 'uintmax_t'
/usr/include/stdint.h:276:17: error: missing binary operator before token "("
In file included from atm.h:11,
from text2atm.c:12:
/opt/trendchip/mips-linux-uclibc/usr/include/linux/atm.h:210: error: expected specifier-qualifier-list before 'uint32_t'
In file included from text2atm.c:13:
atmsap.h:43: error: expected declaration specifiers or '...' before 'uint8_t'
atmsap.h:43: error: expected declaration specifiers or '...' before 'uint16_t'
make[3]: [<builtin>: text2atm.o] Error 1
make[3]: Leaving directory '/home/rex/Programming/asus/gnuton/asus-mediatek-fw/apps/public/linux-atm/lib'
make[2]: [../Rules.make:119: all] Error 2
make[2]: Leaving directory '/home/rex/Programming/asus/gnuton/asus-mediatek-fw/apps/public/linux-atm/lib'
make[1]: [Makefile:86: libatm] Error 2
make[1]: Leaving directory '/home/rex/Programming/asus/gnuton/asus-mediatek-fw/apps/public/br2684ctl'
make: [Project/MakeFile_Main:912: br2684ctl] Error 2
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top