I'm trying to build an image for a raspberry pi 2 (using "make custom"), which is a supported platform in Chaos Calmer. Not having much luck, the build keeps bombing out. Suspect it's due to this following bit, which occurs right at the beginning:
if [ ! -e "../dl/linux-.tar.xz" ] ; then ../scripts/download.pl ../dl linux-.tar.xz @KERNEL/linux/kernel/v. ; fi ;
Use of uninitialized value $ENV{"TOPDIR"} in concatenation (.) or string at ../scripts/download.pl line 32.
--2015-12-04 22:06:36-- http://mirror2.openwrt.org/sources/linux-.tar.xz
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-12-04 22:06:37 ERROR 404: Not Found.
Download failed.
Looks like we're trying to grab some kernel source but aren't appending a version to it? Bug in the build script? Alternatively, platform not compatible with Gargoyle?
Suppose it might help reproduce the problem if I provide more info on how I configured the image...
OK so here goes. First run "make custom". Once the menu configuration starts, I've been selecting:
Target System (Broadcom BCM2708/BCM2709)
Subtarget (BCM2709 based boards)
Target Profile (Raspberry Pi 2)
In "Kernel Modules", i'm also selecting the two ASIX USB network drivers as I will be using one of two ASIX USB network cards I've got with this image for a second network card. I.e.
Kernel modules ---> USB Support --->
-*- kmod-usb-net
<*> kmod-usb-net-asix
<*> kmod-usb-net-asix-ax88179
Decided to go back to this while I'm off over xmas. Build now succeeds, and I can flash to an SD and boot the pi. Can connect fine with SSH, but the Web GUI isn't starting. Any ideas where I might look to fix that?
Edit (a bit later) - is there perhaps a dependency I needed to include manually in the build in order to start the web interface? Have had a look through and it seems all the gargoyle stuff is included by default (as I'd have expected).
Dmesg output looks ok - no errors in there that would indicate something went wrong...happy to include if it might be helpful to someone.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
I think I may have overwritten the original .config in some subsequent tests, but I'm confident that one is the same as the one I used to build the image. I'd have made sure, but am having my original error with fetching source today - pasted output below. If you want to try out the built image, you can flash it to the Pi2's SD card as per the usual process. It boots just fine, but you'll only get SSH access - Web UI doesn't work as per messages above.
Are you sure that isn't working because of that error?
In your config Gargoyle Webshell isn't selected as far as i can see.
Isn't required for the web interface?
That's a diff between your file [green,at right] and a standard configuration of Gargoyle [red, at left] for a broadcom modem:
I still have problem of dependency compiling mine because of missing packages.. Where is best to get them?
lol yea that will ruin it.
at the very least, gargoyle and gargoyle i18n, and one of the languages are required.
Which dependencies are missing?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Thanks for the heads-up guys, will try rebuilding making sure I include all of that.
The 404 error I flagged is odd though...looking at a directory listing on the server in question, it would seem the script is trying to fetch one of the following files but hasn't completed the name:
I'm doing some trying and guess in my spare time.
At the moment i've succeed to build a Gargoyle 1.8 image for the rarspberry pi1 but without webshell (my fault! )
When i try to compile with the 1.9 branch (default custom config like the one of the OP) i get always this error: