From: Martin B. <bea...@gm...> - 2015-12-03 13:37:32
|
I've just completed a testHarness run on a Raspberry Pi2 using the Raspbian OS, which is more "mainstream" for this kind of hardware. Foam ran as expected, with the failing tests related to either reaching the 20min timeout, or simply running out of memory for some parallel runs. I will cleanup and document my changes, then I will propose a merge request. Martin On Thu, Nov 26, 2015 at 9:32 AM, Martin Beaudoin <bea...@gm...> wrote: > Indeed, a dirt cheap full-fledge Linux machine. > > Since it appears the processor of the Pi zero is very similar to the Pi 1 > processor, I am pretty sure that Foam would work on this device too. I was > able to compile and run foam-extend on my little Pi1 device prior to > building my little Pi2 cluster. > > Not a whole lot of RAM (same as the Pi 1), but hey, you got already plenty > for what you are paying for. > > I think reliable configurations are available to access this device though > one of its USB port (either serial-over-USB or Ethernet-over-USB access), > so we could have a relatively cheap 'Foam on a stick' solution for the > workshop. > > The main US reseller of the Pi Zero is already out of stock for the bare > bone device, so I guess people are already shopping for their Xmas > stockings :) > > Martin > > > > On Thu, Nov 26, 2015 at 5:21 AM, Bernhard Gschaider <bgs...@ic...> > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> THAT looks exciting: https://www.raspberrypi.org/blog/raspberry-pi-zero/ >> >> Bernhard >> >> Am 29.10.15 um 06:31 schrieb Martin Beaudoin: >> > >> > On Wed, Oct 28, 2015 at 9:36 PM, Martin Beaudoin >> > <bea...@gm... <mailto:bea...@gm...>> wrote: >> > >> > >> > >> > On Wed, Oct 28, 2015 at 7:45 PM, Bernhard Gschaider >> > <bgs...@ic... <mailto:bgs...@ic...>> wrote: >> > >> > Am 29.10.15 um 00:12 schrieb Martin Beaudoin: >> > >> >> > As for using such small systems for the Workshop USB >> > stick, if w >> > e can >> >> > figure out a way to USB tether a RaspBerry Pi2 with a >> > normal lap >> > top + >> >> > some kind of terminal app. so we can simply ssh through >> > the USB >> > link, >> >> > then we could have cheaper solution than the Intel stick. >> >> > >> >> > Here is a rough estimate of the cost in USD$, based on >> > the units >> > I have >> >> > bought so far: >> >> > >> >> > * RaspBerry Pi 2 Model B : 35$ >> >> > * 32GB Ultra MicroSDHC Class 10 card: 15$ >> >> > * A Raspberry Pi2 case : 10$ >> >> > * A USB cable for power and tether : 5$ >> >> > >> >> > For a total of roughly 65 $USD. >> >> > >> >> > And a 32GB card is slightly roomy. The OS is free, and >> > the recip >> > e to >> >> > deploy foam-extend over this device is known. >> >> > >> >> > And we are still not talking bulk pricing here. I am >> > sure we can >> > shave a >> >> > few $ if we buy a 100 of those... >> >> > >> >> > So the only piece of the puzzle remaining is a little >> > bit of sof >> > tware >> >> > for USB tethering.... >> >> > >> >> > Maybe we can do all this as well with an Intel Compute >> > stick. Bo >> > th >> >> > solutions would be way cool... >> > >> >> But the ultimate decision is of course with the Workshop >> > organizer >> > . >> >> Because of course the logistics for the production of >> > USB-keys is >> >> already known >> > >> >> But lets see if we find something >> > >> > >> >> Some other possible avenues to link a Pi2 with a good old >> >> Linux/Mac/Windows laptop: >> > >> >> * Ethernet to Ethernet using an Ethernet crossover patch cable. >> >> Needs an Ethernet port on the laptop, which no longer comes standa >> > rd >> >> on some laptops (MacBook Air) >> >> Probably needs to add some kind of additional network routing to >> >> make this work while the laptop is still connected to the OFW wifi >> >> hotspot >> > >> > Something like this >> > http://diyhacking.com/connect-raspberry-pi-to-laptop-display/ >> > >> > What is not funny here is that for every OS setting up the >> > network is >> > different (plus that some people might not have the privileges >> > for this) >> > >> > >> >> Yep, not an attractive solution for a whole group of various and >> >> different platforms or OSes. >> >> Too much time will be needed to set this up prior to starting the >> >> trainings and such... >> > >> > >> >> * Wifi access >> >> We can transform the Pi2 as a Wifi Access point so the laptop can >> >> establish a WIFI connection directly with the Pi2. >> >> We need to add a decent WIFI USB dongle to the Pi2 (+ ~12 USD$) >> >> Having a room full of 10s of little WIFI Access points/routers wou >> > ld >> >> be a very funny and probably inextricable mess >> > >> > And every RasPi would have to be setup differently so that it can be >> > paired (otherwise Joe will connect to Abduhls RasPi) >> > >> > Note really feasible >> > >> > >> >> Indeed. >> > >> > >> > >> >> * Serial over USB >> >> The laptop would connect unidirectionally the Pi2 using an emulat >> > ed >> >> serial/terminal console available over one of the 4 USB ports >> >> available on the Pi2 >> >> Ohhhhhhh, maybe we have something worth exploring here too..... >> >> Kermit anyone? LOL :):) >> > >> > >> http://workshop.raspberrypiaustralia.com/usb/ttl/connecting/2014/08/31/0 >> > 1-connecting-to-raspberry-pi-via-usb/ >> > < >> http://workshop.raspberrypiaustralia.com/usb/ttl/connecting/2014/08/31/01-connecting-to-raspberry-pi-via-usb/ >> > >> > >> > Needs additional hardware and the correct cable >> > >> > >> >> And we cannot run paraview over a mere ASCII console.... Not a >> great >> >> all around solution. >> > >> > >> >> * TCP/IP over USB >> >> Looks like we need a special kind of cable for this >> >> Still investigating.... >> > >> >> But definitely, the USB port is probably the most universal connector >> >> still available on a multitude of hardware platforms. Let's find a way >> >> to talk to this little guy... >> > >> > I can't think of another way than the ones you listed. To be honest: >> > none of them convinces me when I think of the support problems >> > they're >> > going to raise. But I'll keep looking >> > >> > >> >> Yup, we need something easy to setup, and based on some really >> >> common laptop applications like Putty or MobaXterm for Windows, or >> X >> >> Windows over ssh for OSX or Linux. The complexity of this setup has >> >> to remain on the Pi2 side so we can configure it correctly >> ourselves >> >> prior to distributing these little beast... >> > >> >> Going back hunting... >> > >> > >> >> Looks like there is no way around it, a USB to USB connection requires >> a >> >> fancy USB Bridge cable with some electronics embedded in the cable. >> >> Basically, USB cannot do host to host without this kind of device. See >> >> here for the details : http://www.linux-usb.org/usbnet/ >> > >> >> So it looks to me the best and most flexible option now becomes using >> >> the Pi2 Ethernet port + short Ethernet cable + Ethernet to USB adapter. >> > >> >> I can find on Amazon some USB 2.0 to 10/100 Fast Ethernet LAN Wired >> >> Network Adapter for about 20 $USD. >> >> A short flat Ethernet cable can be bought for about 1$. >> >> Still bearable. >> > >> >> For laptops having there own embedded Ethernet port, the Ethernet to >> USB >> >> adapter is not necessary, of course, but still remains convenient when >> >> going back to the office and having to plug back into the wired >> >> corporate network while still keeping connected with the Pi2. For >> >> laptops like the MacBook Air lacking an embedded Ethernet port, such >> >> Ethernet adapters would be necessary to connect to the Pi2 over >> Ethernet. >> > >> >> So the challenge is now to find a simple Ethernet to Ethernet network >> >> setup that will work for Windows, OSX and Linux. >> >> Configuring the Pi2 to act as a local DHCP server for this Ethernet >> link >> >> might be a good starting point. >> >> I already got a similar setup for my little Pi2 cluster. Let's try to >> >> see if I can make this fly... >> > >> >> Martin >> > >> >> Martin >> > >> > >> > Bernhard >> > >> > >> > >> >> Martin >> > >> > >> > >> >> Bernhard >> > >> > >> >> > >> >> > Martin >> >> > >> >> > >> >> > >> >> > >> > >> > ------------------------------------------------------------------ >> > ------------ >> >> > >> >> > >> >> > >> >> > _______________________________________________ >> >> > Foam-extend-developers mailing list >> >> > Foa...@li... >> > <mailto:Foa...@li...> >> >> <mailto:Foa...@li... >> > <mailto:Foa...@li...>> >> >> > >> > https://lists.sourceforge.net/lists/listinfo/foam-extend-develop >> > ers >> >> > >> > >> > >> > ------------------------------------------------------------------ >> > ------------ >> >> _______________________________________________ >> >> Foam-extend-developers mailing list >> >> Foa...@li... >> > <mailto:Foa...@li...> >> >> <mailto:Foa...@li... >> > <mailto:Foa...@li...>> >> > >> > https://lists.sourceforge.net/lists/listinfo/foam-extend-developer >> > s >> > >> > >> > >> > >> >> -- >> >> Martin Beaudoin >> > >> > >> > >> > ---------------------------------------------------------------------- >> > -------- >> > >> > >> > >> >> _______________________________________________ >> >> Foam-extend-developers mailing list >> >> Foa...@li... >> > <mailto:Foa...@li...> >> >> https://lists.sourceforge.net/lists/listinfo/foam-extend-developers >> > >> > >> > >> ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Foam-extend-developers mailing list >> > Foa...@li... >> > <mailto:Foa...@li...> >> > >> https://lists.sourceforge.net/lists/listinfo/foam-extend-developers >> > >> > >> > >> > >> > -- >> > Martin Beaudoin >> > >> > >> > >> > >> > -- >> > Martin Beaudoin >> > >> > >> > >> ------------------------------------------------------------------------------ >> > >> > >> > >> > _______________________________________________ >> > Foam-extend-developers mailing list >> > Foa...@li... >> > https://lists.sourceforge.net/lists/listinfo/foam-extend-developers >> > >> -----BEGIN PGP SIGNATURE----- >> Comment: GPGTools - https://gpgtools.org >> >> iEYEARECAAYFAlZW3R0ACgkQXIMfp1I+9MFEaQCfWD8axrfJs2JL2lhV4o4V0g1y >> cr0AoMvgwY4fOdpwfzadrAjcLnDBJ5jw >> =q9a3 >> -----END PGP SIGNATURE----- >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 >> _______________________________________________ >> Foam-extend-developers mailing list >> Foa...@li... >> https://lists.sourceforge.net/lists/listinfo/foam-extend-developers >> > > > > -- > Martin Beaudoin > -- Martin Beaudoin |