What is this board??? Help!
-
@ryno5514 said in What is this board??? Help!:
@stephenw10 I just loaded 2.5
freebsd-version
12.2-STABLEStill has the same issue so going to tinker a little more
Tried the following also
cat /boot/loader.conf
kern.cam.boot_delay=10000
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbop="524288"
kern.ipc.nmbjumbo9="524288"
boot_multicons="YES"
boot_serial="YES"
console="comconsole,vidconsole"
comconsole_speed="115200"
autoboot_delay="3"
hw.hn.vf_transparent="0"
hw.hn.use_if_start="1"
legal.intel_iwi.license_ack=1
legal.intel_ipw.license_ack=1
net.link.ifqmaxlen=2048
net.isr.defaultqlimit=2048
net.inet.tcp.soreceive_stream=1
net.inet.tcp.syncache.hashsize=1024
net.inet.tcp.syncache.bucketlimit=100
net.pf.source_nodes_hashsize=1048576echo "dev.igb.0.enable_lro=0" >>/etc/sysctl.conf
echo "dev.igb.1.enable_lro=0" >>/etc/sysctl.conf
echo "dev.igb.2.enable_lro=0" >>/etc/sysctl.conf
echo "dev.igb.3.enable_lro=0" >>/etc/sysctl.conf -
I purchased a mSATA-PCIe-Mini-VGA-Adapter-Cable..
Plugged it into the Msata port on the bottom of the device.. put a vga wire to screen plugged in router hit keyboard button f12, enter, f2, Q, F and escape i belive..https://www.ebay.com/itm/IEI-Add-on-Video-Graphic-Card-IGCME-1300-R10-mSATA-PCIe-Mini-VGA-Adapter-Cable/353020687468
Ive gotten visual display to show bios options on monitor! I'll update any thing else. But yes, VGA from Msata is working on bottom pcie port.
-
@bubbadestroy said in What is this board??? Help!:
Ive gotten visual display to show bios options on monitor! I'll update any thing else. But yes, VGA from Msata is working on bottom pcie port.
Thats a great find, I might pull the Wifi off and do that myself. I am going to put an LTE radio for the other slot but having video out would be nice.
Still trying to get this driver to work myself.
-
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!