What's new

amcfwm - AsusWRT-Merlin Custom Firmware Manager

  • 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!

I've pushed v1.0.2

Code:
386.x branch support (alpha)
 
Just now installing in my Windows 10 Ubuntu subsystem. Seems pretty amazing so far. Many thanks for you creating this!!!
 
How long should updating the build tree take?

--- 11:44 - Global cleanup...
--- 11:44 - Preparing trees

*** 11:44 - Cleaning up rt-ax58u...
*** 11:44 - Updating rt-ax58u tree...
 
@Adamm - you made it amazingly simple. Both AC86U and AC68U completed the 386.1 alpha2 build alright. The latter is already loaded and running.
Thank you!
 
Just now installing in my Windows 10 Ubuntu subsystem. Seems pretty amazing so far. Many thanks for you creating this!!!
How long should updating the build tree take?

--- 11:44 - Global cleanup...
--- 11:44 - Preparing trees

*** 11:44 - Cleaning up rt-ax58u...
*** 11:44 - Updating rt-ax58u tree...

The whole process takes about 1 hour on my NAS which has an Intel i3-8100T, so depending on your CPU etc this will vary. Also note that this script was designed and tested only on full Ubuntu installations and not WSL, so additional steps/packages may be required.
 
The whole process takes about 1 hour on my NAS which has an Intel i3-8100T, so depending on your CPU etc this will vary. Also note that this script was designed and tested only on full Ubuntu installations and not WSL, so additional steps/packages may be required.
Oddly, I have the same CPU as you do! Will let it run a couple hours.
 
The whole process takes about 1 hour on my NAS which has an Intel i3-8100T, so depending on your CPU etc this will vary. Also note that this script was designed and tested only on full Ubuntu installations and not WSL, so additional steps/packages may be required.
Oddly i havent plunged into updating mine yet but i will shortly just to see how it does..
 
How long should updating the build tree take?

--- 11:44 - Global cleanup...
--- 11:44 - Preparing trees

*** 11:44 - Cleaning up rt-ax58u...
*** 11:44 - Updating rt-ax58u tree...
took me 10 minutes to update build tree
Code:
--- 14:37 - Global cleanup...
--- 14:37 - Preparing trees

*** 14:37 - Cleaning up rt-ax88u...
*** 14:37 - Updating rt-ax88u tree...
*** 14:47 - rt-ax88u code ready.
--- 14:47 - All trees ready!

--- 14:47 - Launching all builds
*** 14:47 - Starting building rt-ax88u...
--- 14:47 - All builds launched, please wait...
 
For a general consensus, I would have to say updating the build tree takes 10 minutes per tree
Code:
--- 14:55 - Global cleanup...
--- 14:55 - Preparing trees

*** 14:55 - Cleaning up rt-ac68u...
*** 14:55 - Updating rt-ac68u tree...
*** 15:05 - rt-ac68u code ready.

*** 15:05 - Cleaning up rt-ac3100...
*** 15:05 - Updating rt-ac3100 tree...
*** 15:15 - rt-ac3100 code ready.

*** 15:15 - Cleaning up rt-ac5300...
*** 15:15 - Updating rt-ac5300 tree...
*** 15:26 - rt-ac5300 code ready.
 
I am getting the following error trying to build the RT-AX58U image (these are the only errors I notice in rt-ax58u-output.txt). What is "Error 2"? What is the best course to correct this error?

THE ERRORS from rt-ax58u-output.txt:
make[5]: *** [Makefile:586: scripts] Error 2
make[5]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x/kernel/linux-4.1'
make[4]: *** [Bcmkernel.mk:107: default] Error 2
make[4]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x/build'
make[3]: *** [build/Makefile:428: kernelbuild] Error 2
make[3]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x'
make[2]: *** [Makefile:586: all] Error 2
make[2]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x'
make[1]: *** [Makefile:5014: bin] Error 2
make[1]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x'
make: *** [Makefile:5197: rt-ax58u] Error 2
 
I am getting the following error trying to build the RT-AX58U image (these are the only errors I notice in rt-ax58u-output.txt). What is "Error 2"? What is the best course to correct this error?

THE ERRORS from rt-ax58u-output.txt:
make[5]: *** [Makefile:586: scripts] Error 2
make[5]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x/kernel/linux-4.1'
make[4]: *** [Bcmkernel.mk:107: default] Error 2
make[4]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x/build'
make[3]: *** [build/Makefile:428: kernelbuild] Error 2
make[3]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x'
make[2]: *** [Makefile:586: all] Error 2
make[2]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x'
make[1]: *** [Makefile:5014: bin] Error 2
make[1]: Leaving directory '/home/bob/amng.ax58/release/src-rt-5.02axhnd.675x'
make: *** [Makefile:5197: rt-ax58u] Error 2
From my understanding you can only build the alphas for RT-AC68U, RT-AC86U, RT-AC5300, and RT-AX88U at this time.
 
This is from my builds so far, I tried RT-AC3100, AC88U,AX58U, and AX56U all with "failed" status on my first go around. So far I was only able to build RT-AC86U, AC68U,AC5300, and AX88U.
This was a recent test to see how long it would take on Ubuntu. My first attempt was on WSL.
Code:
--- 20:50 - Global cleanup...
--- 20:50 - Preparing trees

*** 20:50 - Cleaning up rt-ac68u...
*** 20:50 - Updating rt-ac68u tree...
*** 20:54 - rt-ac68u code ready.

*** 20:54 - Cleaning up rt-ac5300...
*** 20:54 - Updating rt-ac5300 tree...
*** 20:58 - rt-ac5300 code ready.

*** 20:58 - Cleaning up rt-ax88u...
*** 20:58 - Updating rt-ax88u tree...
*** 21:03 - rt-ax88u code ready.
--- 21:03 - All trees ready!

--- 21:03 - Launching all builds
*** 21:03 - Starting building rt-ac68u...
*** 21:03 - Starting building rt-ac5300...
*** 21:03 - Starting building rt-ax88u...
--- 21:03 - All builds launched, please wait...
*** 21:50 - Done building rt-ac68u!
*** 21:52 - Done building rt-ac5300!
*** 22:06 - Done building rt-ax88u!
 
This is from my builds so far, I tried RT-AC3100, AC88U,AX58U, and AX56U all with "failed" status on my first go around. So far I was only able to build RT-AC86U, AC68U,AC5300, and AX88U.
This was a recent test to see how long it would take on Ubuntu. My first attempt was on WSL.
Code:
--- 20:50 - Global cleanup...
--- 20:50 - Preparing trees

*** 20:50 - Cleaning up rt-ac68u...
*** 20:50 - Updating rt-ac68u tree...
*** 20:54 - rt-ac68u code ready.

*** 20:54 - Cleaning up rt-ac5300...
*** 20:54 - Updating rt-ac5300 tree...
*** 20:58 - rt-ac5300 code ready.

*** 20:58 - Cleaning up rt-ax88u...
*** 20:58 - Updating rt-ax88u tree...
*** 21:03 - rt-ax88u code ready.
--- 21:03 - All trees ready!

--- 21:03 - Launching all builds
*** 21:03 - Starting building rt-ac68u...
*** 21:03 - Starting building rt-ac5300...
*** 21:03 - Starting building rt-ax88u...
--- 21:03 - All builds launched, please wait...
*** 21:50 - Done building rt-ac68u!
*** 21:52 - Done building rt-ac5300!
*** 22:06 - Done building rt-ax88u!


Yep, that looks about right. Mine took the same amount of time for my AX88U.

Thank you @Adamm!
 
I tried this script. I'm getting a failure on compiling for the AC86U.

--- 18:12 - Global cleanup...
--- 18:12 - Preparing trees

*** 18:12 - Cleaning up rt-ac86u...
*** 18:12 - Updating rt-ac86u tree...
*** 18:20 - rt-ac86u code ready.
--- 18:20 - All trees ready!

--- 18:20 - Launching all builds
*** 18:20 - Starting building rt-ac86u...
--- 18:20 - All builds launched, please wait...
!!! 18:22 - rt-ac86u build failed!
!!! 18:22 - /home/asus-merlin/amcfwm/rt-ac86u-output.txt

LD drivers/usb/host/built-in.o
LD [M] drivers/usb/host/xhci-hcd.o
LD [M] drivers/usb/host/xhci-plat-hcd.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
LD fs/ubifs/ubifs.o
LD fs/ubifs/built-in.o
LD fs/built-in.o
make[4]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd/kernel/linux-4.1'
make.hndrt:360: recipe for target 'inner_kernelbuild' failed
make[3]: *** [inner_kernelbuild] Error 2
make[3]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd'
make.hndrt:357: recipe for target 'kernelbuild' failed
make[2]: *** [kernelbuild] Error 2
make[2]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd'
Makefile:4999: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd'
Makefile:5193: recipe for target 'rt-ac86u' failed
make: *** [rt-ac86u] Error 2
 
I tried this script. I'm getting a failure on compiling for the AC86U.

--- 18:12 - Global cleanup...
--- 18:12 - Preparing trees

*** 18:12 - Cleaning up rt-ac86u...
*** 18:12 - Updating rt-ac86u tree...
*** 18:20 - rt-ac86u code ready.
--- 18:20 - All trees ready!

--- 18:20 - Launching all builds
*** 18:20 - Starting building rt-ac86u...
--- 18:20 - All builds launched, please wait...
!!! 18:22 - rt-ac86u build failed!
!!! 18:22 - /home/asus-merlin/amcfwm/rt-ac86u-output.txt

LD drivers/usb/host/built-in.o
LD [M] drivers/usb/host/xhci-hcd.o
LD [M] drivers/usb/host/xhci-plat-hcd.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
LD fs/ubifs/ubifs.o
LD fs/ubifs/built-in.o
LD fs/built-in.o
make[4]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd/kernel/linux-4.1'
make.hndrt:360: recipe for target 'inner_kernelbuild' failed
make[3]: *** [inner_kernelbuild] Error 2
make[3]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd'
make.hndrt:357: recipe for target 'kernelbuild' failed
make[2]: *** [kernelbuild] Error 2
make[2]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd'
Makefile:4999: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/asus-merlin/amng.ac86/release/src-rt-5.02hnd'
Makefile:5193: recipe for target 'rt-ac86u' failed
make: *** [rt-ac86u] Error 2

I figured it out. I was missing the BC package. I created a docker image and run with a container to compile the firmware.
 
Thank you @Adamm for this great resource! It's great to see this script getting a lot more visibility during our wait for the migration to the 386 code branch.

A had a question for the seasoned linux veterans in this forum: I am using WSL2 with Ubuntu 20.04 LTS. After some tweaking and setup found here (https://github.com/RMerl/asuswrt-merlin.ng/wiki/Compiling-under-WSL2) I finally got the script to build the 68U firmware without errors! I opted not to setup the ssh output to my router, so I was hoping to figure out where the outputted compile build would be found within the linux file architecture?
 
Thank you @Adamm for this great resource! It's great to see this script getting a lot more visibility during our wait for the migration to the 386 code branch.

A had a question for the seasoned linux veterans in this forum: I am using WSL2 with Ubuntu 20.04 LTS. After some tweaking and setup found here (https://github.com/RMerl/asuswrt-merlin.ng/wiki/Compiling-under-WSL2) I finally got the script to build the 68U firmware without errors! I opted not to setup the ssh output to my router, so I was hoping to figure out where the outputted compile build would be found within the linux file architecture?

Under settings;

Code:
[2]  --> Stage Location             | /home/skynet/images
 

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