Posted: Mon Feb 27, 2023 4:29 Post subject: Which toolchain is currently required?
Hi,
I'd like to make some minor modifications to the firmware, I think the firmware modification kit is not enough (for changing kernel command line parameters).
So I've downloaded the sources, but I'm unsure which toolchains are needed - the full archive extracts to more than 30GB and has EVERY architecture.
The wiki article mentions the 3.4.6 and 4.1.0 mipsl uclibc, is that still correct? I feel like that's pretty old. If yes, where do I find them, they are not obviously preset. If no, which ones from the latest toolchain archive are the correct ones? The attached screenshot is what is in the archive.
Joined: 26 Mar 2013 Posts: 1462 Location: Hung Hom, Hong Kong
Posted: Mon May 15, 2023 11:11 Post subject: Re: Which toolchain is currently required?
flyingfishfinger wrote:
So I've downloaded the sources, but I'm unsure which toolchains are needed - the full archive extracts to more than 30GB and has EVERY architecture.
The wiki article mentions the 3.4.6 and 4.1.0 mipsl uclibc, is that still correct? I feel like that's pretty old. If yes, where do I find them, they are not obviously preset. If no, which ones from the latest toolchain archive are the correct ones? The attached screenshot is what is in the archive.
"uname -a" has some information about your router's CPU?
And if you really wanna compile your firmware, learn to use the recovery mode and possibly the serial connection in your router. Your custom firmware might brick your router if not done correctly.
You also need some special instructions the last time I asked about compiling my own firmware.
You might consider cross-compiling your router's FIRMWARE using Ubuntu. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
There used to be one way to get the information via CLI (using strings?), but now only 'cat /proc/version' gives you any clue. The current toolchains in use are not the ones on the main website, I don't think. The wiki article is old and outdated. Sir egc is familiar enough with things that he can point you in the right direction. I was already scolded for offering anything of use, so not going to offer anything "questionable" in the eyes of certain folk. A forum search via the web can sometimes glean fruit:
compile own programs (more ancient history, just for fun) _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio