Thanks, @Adamm its working great so far.
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...
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..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.
took me 10 minutes to update build treeHow 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...
--- 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...
--- 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.
Can someone share a RT-AC68U (386.1) build. Thanks!
From my understanding you can only build the alphas for RT-AC68U, RT-AC86U, RT-AC5300, and RT-AX88U at this time.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
--- 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!
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
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?
[2] --> Stage Location | /home/skynet/images
Under settings;
Code:[2] --> Stage Location | /home/skynet/images
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!