Archive for the Parallella Category

It’s all a matter of timing

Posted in FORTH is it dead or isn't it?, Erlang, Chapel, Parallella, Elixir on June 24, 2017 by asteriondaedalus

So, phew!

I re-bombed parabuntu onto the SD card.

What the problem was earlier was the security key had changed but I was forgetting to say YES to option for saving the new key (I had quite a lot of red wine last night so don’t be so hard on me 😉 )

When I powered up the Parallella again, I wasted no time and jumped in with:

sudo nano /etc/network/interfaces.d/eth0

---- inside of nano ---

auto eth0
iface eth0 inet static
address 192.168.0.150 // your parallella IP here
netmask 255.255.255.0 // your netmask here
gateway 192.168.0.1 // your gateway address here
dns-nameservers x.x.x.x //your dns server list here

--- exit and save ---

sudo reboot

Happily now running on the static IP set … phew!

Now to work.

Target environments will be erlang/elixir and chapel.  Yet, ePython for poking around.

I am reading back into my threaded interpretive days to look at a minimal FORTH runtime to run on the Epiphany.  There has been chatter on the parallella groups about J1, but that is a HDL (read FPGA) FORTH.  I think many people chattering haven’t worked in FORTH so much of the chatter is unproductive.  I am thinking a GForth running on the ARM side that assembles, rather than cross compiles, to a hand built threaded interpreter on the matrix.  I am not sure how feasible that all is but it will be  a good instrument for learning the nuts’n’bolts of Epiphany.

Many lessons can come from the struggle, yes?

This, idea is no more or less I worked on during a project, in Canada, where I noted the DSP software the team was using was already using a threaded processing chain.  The idea then of control loops and conditional inside of that was a soft sell.

So, in FORTHeze no outer interpreter running on the Epiphany.

 

Advertisements

Why …

Posted in Parabuntu, Parallella on June 24, 2017 by asteriondaedalus

… am I torturing myself?

So, yes here we go again.

I found that the interfaces file for parabuntu sources connections from interfaces.d so the files to edit sit in that directory.

Go figure though, have way through editing eth0 file the TerraTerm console closes – that is, blinks out of existence on my PC screen and out of my task bar.

I checked the wifi extender and the IP address I had already established was the one the DHCP had provided to the Parallella.  It was still there.  For some reason though, despite having already logged in, re-logging via TerraTerm prompted with an unknown security key to be added to the list, and when it logged in I was presented with a black screen, no prompt, and no reaction to control keys!  I assumed that I might have come back up in middle of nano at least.

So, I am now re-bombing SD card.

Try, try …

Posted in Orange Pi, Parabuntu, Parallella on June 22, 2017 by asteriondaedalus

So, I am scratching the OPiZ SD and starting again to see if that recovers the issue around the system no longer booting up with ethernet.

Straightforward enough.  I used SDFormatter to reformat the SD card.  I am just rebombing with the arbian distro.

Logging in via USB.

I will jump straight in with nmcli as the problem manifests as no IP, Gateway or DNS and nmcli failing to save the configuration.

DOH!

Tried logging into the fresh distro – got a “Authentication token manipulation error” when responding to prompt for new root password?!

I pulled power to try again.  Same problem, so I will rebomb SD card.

DOH!

Still the same problem!  Is the card fragged?  I will bomb a new SD card (with trepidation).  But, maybe the card was fragged by the expansion board and not the motherboard?  Might explain the problems with software: nmtui hanging, nmcli eventually not saving, loss of ethernet configuration.

WoW!

Same problem with new SD card?  Is my distro corrupt?

I re-downloaded the distro and burnt that new copy of the distro to the new SD card.

Getting a flashing red led next to the green one.

Of course, there is a hint on the net that OPi are generally super sensitive to SD quality, you need at least a Class 10!  I have a SanDisk Ultra microSDHC UHS-1 Class 10 … check.

Since it is getting through the initial prompts, and doing so on two different SD cards, it is pretty telling that the board is fragged somehow.

Proof of pudding I took one of the SD that now won’t get past setting root password (on first boot of SD card) and happily bombed parabuntu onto it.

I did suspect the SD card for a moment.  I connected the Parallella to my gateway in the lounge room as I have a horrible nest of power cables in the back of my desk, up against the wall, which makes it soooooo undignified, when getting on all fours to plug something into the rarely available positions in the power boards.

The parallella powered up BUT I could not see an extra device on my gateway???  I tested the power adapter I bought (the ones with the various optional connectors) so I knew I had +5V on centre pin as required.

That’s right.

In the end I was on all fours.

Bumping my head.

Kelpie cross Staffy cross Ridgeback cum Chupacabra (aka Mexican Devil Zombi Dog), tail wagging at the speed of sound, jammed under the desk with me as my presence on the floor WAS obviously an invitation for her to play.

I digress.

The parallella turns up fine, with a DHCP IP address , when connected by ethernet cable  to the wireless extender sitting on my desk.

The fun fact?

Yep, I follow instructions to set up static IP on the parallella AND I then have to re-bomb the card to get dopey ethernet back again.   This one will be a pain since you cannot serial in easily.

 

 

It has just occured to me …

Posted in Chapel, ConCurrency, Erlang, ODROID-C1, Parallel Talk, Parallella on May 19, 2017 by asteriondaedalus

… what a coincidence.

The Parallella and the Odroid-C1 PCB are same size (almost).  Is that Feng Shui, synchronicity or serendipity?

Pity the post holes don’t line up.