test to see if you can build on bash in windows 10!

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: test to see if you can build on bash in windows 10!

Post by tapper »

Hi I got a lot farther after following this guide.
https://forum.openwrt.org/viewtopic.php?id=67204
The build for mvebu took a really long time lol here's my log.
https://dl.dropboxusercontent.com/u/5377433/log1.txt
I stil don't have any image files to flash lol
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: test to see if you can build on bash in windows 10!

Post by tapper »

I did it! :| :D

I haven't flashed my build to test yet but they seem about the write size.

To get it to work i had to Upgrade Bash on Windows 10 to Ubuntu 16.04
http://www.omgubuntu.co.uk/2016/08/upgr ... -16-04-lts

BTW a full build log just for target mvebu is 29000000 chars lol and even on a core i7 920 takes a long time like 5 hours!

Now for the next step. What packages can i leave out?
https://github.com/tapper82/gargoyle/bl ... ult/config
I conect through kable DHCP so I don't need any packages that are for DSL or ADSL, pppoe, 3g, USB printer or VPN. Can you disable audio and video? I would like to keep opendns ddns qos webshell log ping wotshdog. I just want to learn about the packages and stuff thanks for any help.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: test to see if you can build on bash in windows 10!

Post by tapper »

Hi I flashed my build and it works! :)

I made some small changes in the mvebu targit file but they did not work.
USB printer, webcam and minidnla are stil installed. I set them to =m
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: test to see if you can build on bash in windows 10!

Post by Lantis »

Can you post your config you used?
Setting to m should have worked, but you could always unset them.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: test to see if you can build on bash in windows 10!

Post by tapper »

Lantis wrote:Can you post your config you used?
Setting to m should have worked, but you could always unset them.
Hi mate this is the file i used:
https://github.com/tapper82/gargoyle/bl ... ult/config

Building for gargoyle is a lot different than building for openwrt from what i have read.
All the stuff on the internet about building for openwrt does not seem to apply to gargoyle.

CONFIG_DEFAULT_kmod-hwmon-pwmfan=y
Can i disable this as i have a V2 with know fan?

What about these?
CONFIG_DEFAULT_ppp=y
CONFIG_DEFAULT_ppp-mod-pppoe=y
CONFIG_AUDIO_SUPPORT=y

Then for the kernel:
CONFIG_KERNEL_DEBUG_KERNEL=y
CONFIG_KERNEL_DEBUG_INFO=y

Do we nead kernel debug info?

Would it be better to comment out the line with the # sign? Insted of =m
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: test to see if you can build on bash in windows 10!

Post by Lantis »

Well the three gargoyle modules you said you removed are all set to =y so that's why they stayed in.

Why are you wanting to remove these things? You have an abundance of router space.

The problem is that things are dependent on each other. You need to be careful what you remove.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: test to see if you can build on bash in windows 10!

Post by tapper »

Lantis wrote:Well the three gargoyle modules you said you removed are all set to =y so that's why they stayed in.

Why are you wanting to remove these things? You have an abundance of router space.

The problem is that things are dependent on each other. You need to be careful what you remove.
I just wanted to make a stripped down build, to learn about the fermwair mostly. I have never seen a stripped down build of gargoyle. Do you know why we don't use make menuconfig? I know i seem like i am jumpping in at the deep end but it's how i learn best by messing stuff up. lol
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: test to see if you can build on bash in windows 10!

Post by Lantis »

make custom
Is the equivalent
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply