Page 2 of 2
Re: Questions about building
Posted: Thu Dec 10, 2015 6:17 pm
by Lantis
Not sure what went wrong mate.
were you doing anything else special at the make custom screen?
I can try and do a build and see where it gets to.
Re: Questions about building
Posted: Thu Dec 10, 2015 11:21 pm
by kenjitamura
Sorry to hijack the thread but I had a quick question about what is required to build for a router not officially supported by gargoyle but is supported by OpenWRT?
One in question is a WDR-3500v1 and my build finished successfully but I want to verify if there was more I should have done before generating a plausible test image.
All I did was add the line
-tl-wdr3500-v1-squashfs
to /targets/ar71xx/profiles/usb/profile_images
and the lines
"tl-wdr3500-v1-squashfs-factory.bin",
"tl-wdr3500-v1-squashfs-sysupgrade.bin",
to /dev-utils/gen-js.pl
bump the version of dosfstools with commands
grep -i -rl 'dosfstools' | xargs sed -i -e 's/3.0.27/3.0.28/g'
grep -i -rl '2e31e7bdf92998e41ed17de505a4a552' | xargs sed -i -e 's/2e31e7bdf92998e41ed17de505a4a552/64e3b3a59b51d2a97d7ac38b23a124bb/g'
and finally run the command
make -j6 FULL_BUILD=true ar71xx.usb
But I'm skeptical this was enough to generate the right image for my WDR-3500.
Re: Questions about building
Posted: Fri Dec 11, 2015 1:28 am
by Lantis
that sounds perfectly fine to me

Re: Questions about building
Posted: Fri Dec 11, 2015 9:14 am
by uysiquebien
It keeps failing at the same exact spot and my image is not being generated.
Anyway I think the problem is different, since a lot of models are actually failing with the next error:
Code: Select all
[mktplinkfw] *** error: images are too big
Makefile:2153: recipe for target 'install' failed
What exactly can be done? I should remove packages? What packages? Last time I built Gargoyle myself it didn't even come with wireless-tools because they didn't fit. Now what is there to be removed?
Also I can't do "make custom" anymore, it does not even show me the "make menuconfig" menu, it just builds. How do I get to that configuration menu again without rebuilding for the umpteenth time?