What is this board??? Help!
-
Interesting. Are there any options for the NICs or switch?
-
I think this is what you're asking
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xf0a0-0xf0bf mem 0xdfe60000-0xdfe7ffff,0xdff2c000-0xdff2ffff irq 20 at device 20.0 on pci0
igb0: Setup of Shared code failed, error -2
igb0: IFDI_ATTACH_PRE failed 6
device_attach: igb0 attach returned 6
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xf080-0xf09f mem 0xdfe40000-0xdfe5ffff,0xdff28000-0xdff2bfff irq 21 at device 20.1 on pci0
igb0: Setup of Shared code failed, error -2
igb0: IFDI_ATTACH_PRE failed 6
device_attach: igb0 attach returned 6
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xf060-0xf07f mem 0xdfe20000-0xdfe3ffff,0xdff24000-0xdff27fff irq 22 at device 20.2 on pci0
igb0: Setup of Shared code failed, error -2
igb0: IFDI_ATTACH_PRE failed 6
device_attach: igb0 attach returned 6
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xf040-0xf05f mem 0xdfe00000-0xdfe1ffff,0xdff20000-0xdff23fff irq 23 at device 20.3 on pci0
igb0: Using 1024 TX descriptors and 1024 RX descriptors
igb0: Using 2 RX queues 2 TX queues
igb0: Using MSI-X interrupts with 3 vectors
igb0: Ethernet address: f0:8e:db
igb0: netmap queues/slots: TX 2/1024, RX 2/1024 -
TLDR: C.E. USB bootable PFSense totally loads (in second USB port for me) and displays with that mpcie vga adapter plugged in to a vga monitor.
That particular seller accepted an offer of
ITEM PRICE:US $20.00Other things I wondered was maybe a displaylink, but for sure that mpcie card work ed out well. I ended up relocating the mpcie vga adapter card top of the box.. carved a portal for the wire to stick out of in the roof of chassis housing... then relocated the wifi card that is in the primary slot to the secondary slot on the bottom (above the ami flash memory) . It reaches just-so without rewiring or modding.
So far, on the edge500 at least, it seems the AMI bios picks it up just fine when using a boot-able USB ISO image of any type (Linux 2.6 around about or above i assume)
Whatever image that would have normally been natively boot-able on a machine for Intel atom c2000-3000 | AMI Bios compatible... seems to load with display adapter in either mpcie slot... however, I think having serial usb in has craused it to halt the boot order due to default bios settings.. I could use a hand optimizing the bios settings for atom.
Photos to come sooner or later if interested.
-
@ryno5514 said in What is this board??? Help!:
@stephenw10
I think this is what you're askingI meant in the BIOS. We already know the igb driver will not attach to the NICs in the default setup but it might have something you could set there to change that.
It probably won't though based on other devices users have looked at.Steve
-
@stephenw10 I actually got a few other live distros to just boot right up so that was nice. That bios had many options. I'll post some photos soon and have a few noob questions myself about some of the many options in that bios..I think graphical freebsd ghost worked really well actually.
-
Unsure if this will be useful for the topic, but I had tried building openwrt with this and its just taking forever, but does crossbuild for that velocloud edge500 and 520ac with a bit of fumbling :) Thank you for the advice of that route. Heres source I pulled from to build..
https://bitbucket.org/velocloud/workspace/projects/PUB
This other post had a few good tips for rebuilding system kernel for something like this box, and porting it to pfsense.. might be the long way or just not possible.. but in-case, here reference.
https://hamy.io/post/0016/how-to-properly-remove-luci-from-openwrt/
-
I can't access that. There is specific data about that board?
-
This post is deleted! -
@bubbadestroy did finished the build how was the results?
I have installed Centos using the serial and bootable usb and also got the wifi working and connect to the network. The information about the marvel switch is right and I compiled the kernel 5.12 with DSA and marvel driver and seems that also didn't worked. Looking the source seems that has some patches that I'm trying to figure out to apply over a regular kernel build. I want to buy a mPCIE sata HD to have more space and compile the hole kernel.. I just did the modules.. -
A switch driver or a NIC driver that gives access to the switch?
-
@stephenw10 You need both drivers... the cards are connected to the switch directly.. so in order to access the ethernet card you have to have the switch up and configured.
-
I haven't made much progress with compiling pfsense with intel myself. I did find where the source for the velocloud OS varation of openwrt from this board comes from. I found it by search string "velocloud bitbucket openwrt" on google. if my link doesn't send you to proper git svn...
I tried 'make menu' from the trunk directory in terminal after reading the readmes from there. edge 500 is a default for intel rangeley somewhere from that bitbucket openwrt source here.https://bitbucket.org/velocloud/openwrt/branches/
https://bitbucket.org/velocloud/openwrt/downloads
Edge 500 has some tags addressing some issues compiling the c2358 intel atom kernel I believe.. .. when they were building their custom velocloud OS against openwrt, 2013, 2014 .
https://bitbucket.org/velocloud/openwrt/downloads/?tab=tagshttps://bitbucket.org/velocloud/openwrt/downloads/?tab=branches
I'm hoping somewhere in those links helps anyone who wants to build pfsense or other personal cloud / sd-wan / firewall...
Whatever ends up happening with these motherboards. I purchased mine for about $30 offer on ebay so.. I had to try doing something with it. Theres some official guides on vmware showing the intended purpose and how deploy one with a home cloud using their software..
but
I'll show a bit of info in logs though in next post of what I attempted other day with another operating system. -
Basically what you're looking for is this.
That patches the igb driver to allow it to create the mdio device so the switch can be configured among other things.
We know something similar exists for FreeBSD because Stormshield/Netasq were using it in a number of their devices but AFAIK it was never open sourced. I could be wrong but I have searched a few times over the years.
Porting that to pfSense/FreeBSD is no easy task. You need an experienced developer who is familiar with that code IMO. It's beyond my amateur tinkering!
Also it looks like there might be some custom custom code just for that hardware so it would probably need work even if a patched FreeBSD driver was available.Steve
-
@bubbadestroy said in What is this board??? Help!:
I'm hoping somewhere in those links helps anyone who wants to build pfsense or other personal cloud / sd-wan / firewall...
I'll show a bit of info in logs though in next post of what I attempted other day with another operating system.
Logs
I use geany or notepad++ to read these
velocloud.nfo.txtPhotos
-
Did you installed windows? Worked the network interfaces?
Also which disk did you used and where didn’t put on. Which slot?
-
@bubbadestroy I already tried 2 different msata drives where did you connected yours? bottom or the small in the top?
Regards,
Diogo
-
@dmsmartins I'll follow-up on this asap. But I should have mentioned before.. where I am at on this sort of project.
I am very much still at a backshop newb.
When I skill up.. I intend to load pfsense on about all kinds of stuff.
tLdR!!TldrMEGAMANx2Drorielyedition!!!!1!::::: If it loadswindows
anything linux is possible... except , WSL... lollinks
Google Search of AMI Bios on c2358 Intel AtTOM cpu
https://www.google.com/search?q=c2358+ami+bios+winbond
ON TOPIC SOURCE SAUCE:HOWTO:
From - OPENWRT to Velocloud
so we can take make config from openwrt to PFSENSE insteadThe public BUILD SOURCE and the source AFAIK for development regarding velocloud 500-n and 520-AC Hardware; From 2014 to 2019 (pre-vmware, aka, BAREBONES related development is deployed from:
subversion (old subversion dpkg packages included with native ubuntu 14.04) open source openwrt with makemenu configs on a computer operating on ubuntu 14.04For velocloud I guess.. Might have instructions to compile/prebuilt networking related hardware through firmware. aka. shit. For Shit. IDGAF
https://bitbucket.org/velocloud/deployment
And if reading... What you might DGAF about:
[https://bitbucket.org/velocloud/openwrt]https://bitbucket.org/velocloud/openwrt)I found reading through code and logs useful for my attempt at loading windows and fuckin with bios over a 20dollar MPCIE msata VGA adapter... what ther fun ill have with that adapter on other routers i wonder.... (see previous post for more info on that adapter)
Possibly requires creating a stupid ass free bitbucket account, do give fake info and email with protonmail while using vpn lol support your local devs though.. netgate still keeps this niche cliche thread open... so... thats why we support devs and server maint cost.Here and there Ive felt comfortable with fellow geeks and professionals who master and admin networks or business.. Be it assisting the cave dwelling cold server style admin or on the go deploying remotely by hand for a certified tech ninja.Myself however, whenever working in the field, am bouncing off relative suggestions.. such as Quality Assurance Testing/Troubleshooting tips to layman (official, boss or mother ) during test, or live deployment. Be warned my syntax = if fail then troubleshoot else try variable | #! sh / syntax= basic 'if kernel bios firmware= --fucked up then end else if --force )
tldr; I'm not going to have the language down or steps to take correct, but I believe as with anything the solution is never impossible. IMO hacking is using any and all means to solve problems that by definition are unsolvable when working by the rules.
That being said. I had better clarify the spoiler above... I'll misrepresent/mix-up and often confuse Electrical Engineering fundamentals required by professionals when suggesting advice. I did however complete training in the USAF Armarent Systems Training at Shepard Airforce base, amongst other tech training, so.. if you can work with me I can probably get to the end of any problem that needs solved in a pinch.I had no idea about Netgate commercial devices or pfsense open source other than just playing with and building linux as a server once or twice (arch, plop, ubuntu, debian/raspi.... proxmox from guide on youtube...)
But briefly for now;
This is just my personal playbook for a solution on obtaining an operating system that is OFF TOPIC. Thanks to awesome advice from the actual NETGATE forum mods and help attempting a custom PFSENSE deployment for an intel atom box.... as mentioned from the OP of this thread.Essentially as a bootable piece of hardware with the oem defaults... It didnt matter where I attached any ,as long as you can a terminal through a console via a port to post data on power up and boot.... than this should be nothing but a matter of instructions. I was lucky. One box I had likely had been set up as a normal gateway or whatever. It posted and gave default boot operation as any barebones box would....I think. I will troubleshoot and record a bit more when I attempt to duplicate the exact steps I took to get this thing to boot windows.. for now, ill tell you..
This velocloud board and any similar DELL-EMC, Netgate, firewall router of this form factor mentioned for purpose of this thread.. is likely intel. This board has a winbond chip. Thats the first thing to debug, backup, and tinker with certainly on your rig. That is if you want to add or remove any onboard hardwares to recognize and initialize TROUGH software configuration instructions to respected GPIOs to recognize and utilize it.
It always seems backwards to me. But of course without the right BIOS and BOOT instructions; usually defaulted, nothings gonna work . Especially on these mamojammas. Half of them are setup to be admin remotely via virtualmachines. through only certain ethernet ports. Ive got so many giggabitchs worth of velocloud, palo, sd-wan, edge, dell-emc etc... development deployment related guides, scripts / code, exploits / vulns backed up from source and compiled at this point for different setups I'm more or less ready to turn this box into a nintendo ... 64.- I have two or 3 of these boxes. Certain GPIO have been modified to operate remotely through Velocloud Customer Premise Equipment 1 touch solution only. (we do not want this for this project, we don't want velocloud really. It might be fun to hack later, worth backing up an entire image of your soic8 chip that shipped with the board. flashrom ver bus pirate, raspi, beagle, ch341a or whatever the F debricking method if going that route)
So of my 3 boards. 2 are EDGE 500-n one is 520-AC. VELOCLOUD. One doesnt boot a damn thing or report output to any kind of screen( emulated or physical) via any serial to putty/com port debug or otherwise. I assume its a slave box, needing either a physical reset like an old school 30,30,30 hardware reset or even and much more fun, flash a restored bios for default barebones operation AMI bios on an intel atom c2538 .
So I'm guessing if you have tried all 3 mpcie slots with nothing else but the pcie card you'd like to boot from, or utilize... (take out the mpcie wifi card for now, replace it with the device you are trying to get AMI bios on an intel atom c2538 to utilize)
( ie.remove all livebootable USB, plug in the hidden usb2.0 serial console that reports putty data and takes keyboard (mine from only the host keyboard through putty console window, not external keyboard at first.... or vice versa! i cant remember)I posted links in previous posts linking to what seems to be official veloclou bit bucket that has official ones used when velocloud public teams were modding openwrt software for this EDGE 500-n 520-AC HARDWARE to whatever the fuck they had in mind... with a makeconfig file to be cross compiled from a native ubuntu 14.04 machine i believe. Intel x86/64 UEFI I believe . It's all in the source. And not only used on velocloud more than likely.. workarounds and tutorials Easily found on Netgate even.
Anyway I'll post a clean solution and walkthrough as i attempt my other 500-n box which does NOT work as simply as the one that loaded windows and bios and had vga output from a MPCIE to VGA adapter installed to give physical display via VGA port monitor...
I'll post that solution AT SOME POINT
hopefully. ths post explains a bit of how i worked out what unorthodox paths I took to find a solution for me... Soic8 flash dump and reading which GPIO are enabled in bios from there might have to be how I get OTHER winbond soic8 chip to read. Thank GOD its already in a socket that can be opened up and removed instead of soldered! I might just drop the one from my other board inside and see if thats all it takes to boot it! smash F keys from keyboard (external and on the putty host machine) during boot... read out put and try some live USBs for the win! -
For clarity (since this thread is in danger of going off into the deep grass!) what you need to run pfSense usefully on this board is a modified igb driver that will allow both attaching to the internally linked NICs and accessing the switch via them.
You can see the OpenWRT patch for that I linked in the previous post.Steve
-
So I got my hands one an Edge 5X0 and I got serial access through the little hidden USB on the side. I've been trying to figure out what the login is. Anyone happen to know any of the login details for the local account?
-
@stephenw10 said in What is this board??? Help!:
For clarity (since this thread is in danger of going off into the deep grass!) what you need to run pfSense usefully on this board is a modified igb driver that will allow both attaching to the internally linked NICs and accessing the switch via them.
You can see the OpenWRT patch for that I linked in the previous post.Steve
Steve, thank you for letting this thread wobble around OffTopic. For myself, this was the only community with active interest and info in custom firmware development on these things.
There seems to be some forward progress in order to adapt these boxes into something close to PFsense.
Possibly soon time to migrate this whole thread to git for reference and actual builds? Once someone provides a consistent source..
...
On that note.. This link should work for anyone who wants to reference real commits for this hardware and fork to PFsense, without a bitbucket account too..https://bitbucket.org/velocloud/openwrt/commits/?search=edge500&page=3
Working from ground up reading up from Edge500 Commit Notes on page 3 (2014); I found useful information on troubleshooting the hardware into a working build for several Velocloud models and variants.
I've learned alot about attempting a few builds, it's a fun challenge fumbling through.
Anyways, thought I'd genuinely show gratitude for letting this thread stumble through
What is this board???Help!I'll chime in again to mention.
Hovering cursor over development messages in the commit source could be really useful for troubleshooting reference while building a working PFsense Image for the car.Good info like in the first commit that referenced edge500 when i searched commits..
Sandra Berndt
committed 84e016c
2014-01-08
View source
added support for multiple boards to the velocloud-vc platform driver;
/sys/devices/platform/vc/board now contains the boad id;
board ids are: ve1000, edge-nexcom, edge-portwell, edge500;
unfortunatedly, the portwell dev system and nexcom boxes have identical DMI settings,
so both show up as the edge-nexcom;
edge-portwell/edge-nexcom will not have leds & reset sysfs entries;
new LEDs for station wifi are called sta1...sta3;
wifi is still the access point led;
gpio assignment needs to be finished when the real numbers are known;