Page 1 of 12

Openwrt 19.07 based Gargoyle

Posted: Mon Jun 10, 2019 10:02 pm
by Lantis
Before all the posts come flooding in:
- yes I’ve seen it
- yes I’ll work on it
- no I’m not working on it yet (finishing another body of work)

I’m going to try and make this 1.13.x, and graduate 1.11.x to 1.12.x (depending on policies and thoughts from Eric).

Re: Openwrt 19.07 based Gargoyle

Posted: Fri Jul 05, 2019 5:20 am
by ispyisail
+1

Re: Openwrt 19.07 based Gargoyle

Posted: Fri Jul 05, 2019 7:37 am
by Lantis
I have started work, but it is not ready for compiling yet.
People can track it here:
https://github.com/lantis1008/gargoyle/ ... enwrt_1907

Re: Openwrt 19.07 based Gargoyle

Posted: Fri Jul 05, 2019 8:59 pm
by CBx86
Nice, guys! Thanks! :D

Re: Openwrt 19.07 based Gargoyle

Posted: Sat Jul 20, 2019 12:55 pm
by yabba235
Hi !
I waiting for this, thanks !!

Re: Openwrt 19.07 based Gargoyle

Posted: Fri Aug 30, 2019 1:22 pm
by yabba235
Hi !
Lantis, I have a question about compiling -

my process fail, I got this error:

make[3]: Leaving directory '/home/tb/gargoyle/custom-src'
export MAKEFLAGS= ;make -w -r checksum
make[3]: Entering directory '/home/tb/gargoyle/custom-src'
make[3]: Leaving directory '/home/tb/gargoyle/custom-src'
make[2]: Leaving directory '/home/tb/gargoyle/custom-src'
make[1]: Opuszczenie katalogu '/home/tb/gargoyle/custom-src'
cp: unable to create regular file '/ home / tb / gargoyle / built / custom / default /': Not a directory

Any idea what is wrong ?

I'm trying create my build for wndr3700v2 from "make custom" command :)

Look:
tb@tb-ZBOX:~/gargoyle$ ls -la
razem 180
drwxrwxr-x 22 tb tb 4096 sie 30 18:44 .
drwxr-xr-x 45 tb tb 4096 sie 30 16:39 ..
-rwxrwxr-x 1 tb tb 30499 sie 30 14:40 build.sh
drwxrwxr-x 3 tb tb 4096 sie 30 18:44 built
drwxrwxr-x 12 tb tb 4096 sie 30 14:54 compressed_css
drwxrwxr-x 21 tb tb 4096 sie 30 14:54 compressed_javascript
-rw-rw-r-- 1 tb tb 8233 lip 11 18:53 CONTRIBUTING.md
drwxrwxr-x 15 tb tb 4096 sie 30 18:12 custom-src
drwxrwxr-x 2 tb tb 4096 lip 11 18:53 dev-utils
drwxrwxr-x 6 tb tb 12288 sie 30 18:28 downloaded
drwxrwxr-x 3 tb tb 4096 lip 11 18:53 fon-flash
drwxrwxr-x 8 tb tb 4096 sie 30 14:40 .git
drwxrwxr-x 2 tb tb 4096 lip 11 18:53 i18n-scripts
drwxrwxr-x 3 tb tb 4096 sie 30 18:44 images
drwxrwxr-x 2 tb tb 4096 lip 11 18:53 LICENSES
-rw-rw-r-- 1 tb tb 2547 lip 11 18:54 Makefile
drwxrwxr-x 4 tb tb 4096 sie 30 14:54 minifiers
drwxrwxr-x 6 tb tb 4096 sie 3 09:29 netfilter-match-modules
drwxrwxr-x 15 tb tb 4096 sie 30 14:54 node
drwxrwxr-x 14 tb tb 4096 sie 30 14:53 npm
drwxrwxr-x 109 tb tb 4096 lip 11 18:54 package
drwxrwxr-x 109 tb tb 4096 lip 11 18:54 package-prepare
drwxrwxr-x 2 tb tb 4096 sie 30 14:40 patches-generic
-rw-rw-r-- 1 tb tb 6083 lip 11 18:53 README.md
-rwxrwxr-x 1 tb tb 27834 lip 11 18:53 rebuild.sh
drwxrwxr-x 2 tb tb 4096 lip 11 18:53 sched-modules
drwxrwxr-x 11 tb tb 4096 lip 24 19:53 targets

tb@tb-ZBOX:~/gargoyle/built/custom$ ls -la
razem 16
drwxrwxr-x 4 tb tb 4096 sie 30 18:44 .
drwxrwxr-x 3 tb tb 4096 sie 30 18:44 ..
drwxrwxr-x 2 tb tb 4096 sie 30 18:44 custom
drwxrwxr-x 2 tb tb 4096 sie 30 18:44 custom_kernelspecific

I don't understood what is wrong....

Re: Openwrt 19.07 based Gargoyle

Posted: Fri Aug 30, 2019 3:13 pm
by ispyisail
make custom is broken

viewtopic.php?f=14&t=11883

Custom Build tip example

Asus RT-N12 B1 (8MB Flash)
The brcm47xx target would be close but not quite right.
You'll need to do a "make custom" and select your router from the menu which should configure it for brcm47xx/mips47k.

Once this is saved, i tend to kill the build process. Rescue the .config file from within the /custom-src directory and build my own target folder in the /targets directory.
In your case i would make a "mips74k" folder underneath "brcm47xx" and copy the same images file across. Rename the ".config" to "config".

Then you can call "make FULL_BUILD=true brcm47xx/mips74k".

For your own sanity, i would run "make FULL_BUILD=true brcm47xx" before trying any of this to make sure your build environment is 100% and you can complete a stock build first.

Re: Openwrt 19.07 based Gargoyle

Posted: Fri Aug 30, 2019 6:01 pm
by Lantis
It looks like a logic error around make custom.
It appears to have completed successfully, but not managed to copy the resulting built files to the main directories.

You can still retrieve them manually. Custom-src/build_dir/<target>/packages or something like that. The kernel modules are in a different folder

As ispyisail mentioned, using the custom target is largely broken at the moment. There is a documented workaround.
It is probably trivial to fix the error you encountered, but I won't look at it until I'm ready to fix make custom as a whole.

Re: Openwrt 19.07 based Gargoyle

Posted: Sat Aug 31, 2019 4:38 pm
by fernandoblazin
Lantis wrote:Before all the posts come flooding in:
- yes I’ve seen it
- yes I’ll work on it
- no I’m not working on it yet (finishing another body of work)

I’m going to try and make this 1.13.x, and graduate 1.11.x to 1.12.x (depending on policies and thoughts from Eric).


Hi just a quick question sorry for my ignorance but isnt updates to firmware not listed under downloads on the website

Re: Openwrt 19.07 based Gargoyle

Posted: Sat Aug 31, 2019 6:30 pm
by yabba235
ispyisail wrote:make custom is broken

viewtopic.php?f=14&t=11883

Custom Build tip example

Asus RT-N12 B1 (8MB Flash)
The brcm47xx target would be close but not quite right.
You'll need to do a "make custom" and select your router from the menu which should configure it for brcm47xx/mips47k.

Once this is saved, i tend to kill the build process. Rescue the .config file from within the /custom-src directory and build my own target folder in the /targets directory.
In your case i would make a "mips74k" folder underneath "brcm47xx" and copy the same images file across. Rename the ".config" to "config".

Then you can call "make FULL_BUILD=true brcm47xx/mips74k".

For your own sanity, i would run "make FULL_BUILD=true brcm47xx" before trying any of this to make sure your build environment is 100% and you can complete a stock build first.


Sorry, this not work - my virtual machine with ubuntu 19 get in loop when compiling custom gargoyle....

I just don't want to compile all architectures with just one my specific model ( wndr3700v2 - ath79 usb large )
This is probably not possible in gargoyle :(