What's new

Asus gt-ac5300 gpl source Compilation

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

The GT-AC5300 build won't work properly. The binary blobs for httpd/shared/rc are different for each model, you need to use the binary blobs for the exact model you are compiling for.

Don't worry, I used GT-AC5300 source code, just uploaded only RT-AC86U source code in github.

Uhhh, should I upload whole source code for GT-AC5300 too?
All changed parts are in the patch file.
 
Last edited:
Don't worry, I used GT-AC5300 source code, just uploaded only RT-AC86U source code in github.

Uhhh, should I upload whole source code for GT-AC5300 too?
All changed parts are in the patch file.

You'll need separate binary blobs for both the RT-AC86U and GT-AC5300. I handle models by having separate folders, and copying the files from the correct folders at build time. For rc, for example:

https://github.com/RMerl/asuswrt-merlin.ng/blob/master/release/src/router/Makefile#L2579

The GPL/source code itself will be identical.
 
You'll need separate binary blobs for both the RT-AC86U and GT-AC5300.

I made firmware images in each different folders.
I wrote it in spoiler.
Folder names look same but they were different because I deleted first source code folder after that compiled second image.
[RT-AC86U]

wget https://dlcdnets.asus.com/pub/ASUS/wireless/RT-AC86U/GPL_RT_AC86U_300438432797.zip
unzip GPL_RT_AC86U_300438432797.zip
tar -xjf GPL_RT-AC86U_3.0.0.4.384.32797-g907bbdf.tar.bz2

cd ~/asuswrt
patch -p1 --dry-run < 32797-et.patch

patch -p1 < 32797-et.patch

[GT-AC5300]

wget https://dlcdnets.asus.com/pub/ASUS/wireless/GT-AC5300/GPL_GT_AC5300_300438432738.zip
unzip GPL_GT_AC5300_300438432738.zip
tar -xzf GPL_GT-AC5300_3.0.0.4.384.32738-gc9a116a.tgz

cd ~/asuswrt
patch -p1 --dry-run < 32738-et.patch

patch -p1 < 32738-et.patch
 
I made firmware images in each different folders.

Ok, I thought your github repo contained the source code to be used for both builds.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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