Make Custom - non standard profile

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

ispyisail
Moderator
Posts: 4721
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Make Custom - non standard profile

Postby ispyisail » Sat Oct 27, 2018 2:45 am

Hi all

I trying to male an X86 custom build

My basic problem is the default is AR71xx

I would like to load the default x86 then customize

any tips welcome

Thanks

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

Re: Make Custom

Postby Lantis » Sat Oct 27, 2018 6:17 am

Make custom, wait for menu to come up.
Select x86 from the first target menu.
Then select x64 from the profile menu if you want that (otherwise, leave as generic)

Then customise as you wish.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

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

Re: Make Custom

Postby Lantis » Sat Oct 27, 2018 10:27 am

Sorry, just rethought what you were after and it is slightly different.
You want to start from the current Gargoyle x86 config and modify from there?

1. "make x86.default"
2. Wait until build starts main routine
3. Cancel build (Ctrl + C)
4. Switch to x86-src directory
5. "make menuconfig"
6. Modify from there and save
7. Copy contents of .config back out to Gargoyle config
8. Run step 1 again and let complete

If you already have a completed x86 build and the src directory, skip steps 1-3
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

ispyisail
Moderator
Posts: 4721
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Make Custom

Postby ispyisail » Sat Oct 27, 2018 3:59 pm

Thanks

I think I remember you explaining this procedure to somebody else. I couldn't find the post. :(

ispyisail
Moderator
Posts: 4721
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Make Custom

Postby ispyisail » Sat Oct 27, 2018 4:11 pm

I'm working through your how-to

Wait until build starts main routine


can you define this more?

I just ran it for 5 minutes and hoped it was long enough?

ispyisail
Moderator
Posts: 4721
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Make Custom

Postby ispyisail » Sat Oct 27, 2018 4:58 pm

Copy contents of .config back out to Gargoyle config


Just to clarify

Source

Code: Select all

<gargoyle dir>/x86-src/.config


Target

Code: Select all

<gargoyle dir>/targets/custom/profiles/default/config


Copy

Code: Select all

sudo cp .config ~/<gargoyle dir>/targets/custom/profiles/default/config


Code: Select all

sudo cp ~/gargoyle/x86-src/.config ~/gargoyle/targets/custom/profiles/default/ispy_x86

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

Re: Make Custom - non standard profile

Postby Lantis » Sat Oct 27, 2018 6:11 pm

5 minutes should be fine.
We just need to give it time to setup all the folders for us.

Once it starts running the patches from within the target (not Gargoyle specific patches) that should be enough.

Yes that’s the right file to copy, but either overwrite x86 or create a new target/profile out of it.
If you run it against custom it does some other interesting things.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

ispyisail
Moderator
Posts: 4721
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Make Custom - non standard profile

Postby ispyisail » Sat Oct 27, 2018 7:31 pm

but either overwrite x86 or create a new target/profile out of it.


oops

I overwrote "config"

Image

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

Re: Make Custom - non standard profile

Postby Lantis » Sat Oct 27, 2018 7:37 pm

That’s ok you can just rebuild that file from GitHub.
Do the instructions make sense now?
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

ispyisail
Moderator
Posts: 4721
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Make Custom - non standard profile

Postby ispyisail » Sun Oct 28, 2018 1:17 am

Do the instructions make sense now?


I re-read your original post and the penny dropped.

Now completed x86 custom build (wifi drivers)

I was trying to use

Code: Select all

make custom


Still not sure what the best way to do that method would be?


Return to “Gargoyle Development”

Who is online

Users browsing this forum: No registered users and 2 guests