Page 2 of 3

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 5:59 pm
by thepctech
I have made a bootable USB thumbdrive of Linux Mint 18.0. next I downloaded the Image 'gargoyle_1.9.2-x86-geode-combined-jffs2-128k.img' from this website. I have a 16gb ssd installed into the x86 machine I built to be the router.

I used the command
dd if=gargoyle_1.9.2-x86-geode-combined-jffs2-128k.img of=/dev/sda

That looked like it worked. I then rebooted the computer and set the BIOS to boot the SATA drive (SDA).

It starts to boot then hangs at
[ 5.480000] Waiting for root device /dev/mtdblock0...

Any ideas???
ThePCTech

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 6:15 pm
by Lantis

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 6:18 pm
by thepctech
Which one should I select??

If I can get one of them to boot, that would be OpenWRT, I realize that Gargoyle is built on OperWRT; Would I be able to turn that install into Gargoyle??

ThePCTech

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 6:34 pm
by thepctech
I selected this one...
openwrt-15.05.1-x86-generic-combined-squashfs.img

Now it hangs at...
[ 6.379298 ] NET: Registered protocol family 24

Any ideas???

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 6:42 pm
by Lantis
I would use the ext4 image.

No you can't turn an Openwrt installation into Gargoyle.
I'm just seeing if we can get something to boot on your device.

The short answer is going to be that you need to compile your own version for your hardware and your drivers.
The downloads provided by Gargoyle are for PCEngine ALIX boards.

These Openwrt downloads are "generic" and should contain more drivers, but not necessarily the ones you require.

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 6:54 pm
by thepctech
I have a x86_64 set of hardware, so I am going to try one of these.

https://downloads.openwrt.org/snapshots/trunk/x86/64/

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 7:48 pm
by thepctech
How do I compile my own image, if I can not get the thing to boot??

I have used Unix (Solaris), and a ton of Linux Distros over the years, but I have never had a reason to compile a distro for my self?

Can I do it from a functioning Linux Mint (live CD) put on to a USB drive??

Can you help me??

Brian

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 8:35 pm
by thepctech
Getting a little closer, It now hangs @
[ 8.952335] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes active

Ideas?

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 8:37 pm
by thepctech
I'm thinking that it has to do with the network port configuration. How can I get to a prompt to get to the files??

ThePCTech

Re: Build an X86_64 router from scratch with Gargoyle??

Posted: Sat Apr 22, 2017 10:08 pm
by thepctech
Can I boot that computer with the Mint USB, then mount the hard drive to edit??