Mint 19.3 Linuxcnc Odroid H2+

Post Reply
beaglebrainz
Posts: 11
Joined: Sat Sep 19, 2020 5:10 pm
languages_spoken: Aussie
ODROIDs: H2+
Has thanked: 8 times
Been thanked: 5 times
Contact:

Mint 19.3 Linuxcnc Odroid H2+

Post by beaglebrainz »

Hi all,

The reason behind buying a H2+ was to see how it would cope controlling a hobby class cnc mill with Linuxcnc.
Initial testing has proved it to be a good candidate.
There has been some interest on the Linuxcnc forums with regards to the Odroud H2+. Because of that I respun a Mint 19.3 ISO with Linuxcnc, a RT_PREEMPT kernel and NIC drivers installed. We have permission from the Mint team to distribute Mint with Linuxcnc and have done for a couple months now. If any one is interested the ISO can be downloaded here:
ISO:
http://cnc.beaglebrainz.net/cdimage/cnc ... -64bit.iso
md5:
http://cnc.beaglebrainz.net/cdimage/cnc ... -64bit.iso

More info can be found on this thread:
https://forum.linuxcnc.org/9-installing ... iso#165631

It may also be suitable for any one who would like to try Mint 19.3 with XFCE desktop.

XFCE was chosen for it's small foot print
Mint 19.3 was chosen as there is work being done to get Linuxcnc to build on Mint 20.
Yes it is a 4.19.106 kernel but that has shown to have the latency and stability required.
5.6 & 5.8 have a few issues with Ethernet when couple with Mesa hardware.
I hope that answers some questions as to why this desktop, why an "old" version of Mint and why such an "old" kernel.
I would like to thank the H2+ dev team for producing such a great little piece of kit in such a small form factor.
I would to add I gain no no monies or revenue nor do I seek any reimbursement. This is just my way of giving back.
Last edited by beaglebrainz on Mon Sep 21, 2020 5:20 pm, edited 1 time in total.
These users thanked the author beaglebrainz for the post:
brad (Sat Sep 19, 2020 5:48 pm)

brad
Posts: 1457
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 135 times
Been thanked: 223 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by brad »

Thanks for details im quiet interested. I'm currently building a router and planning to control it with linuxcnc or machinekit. The H2 will be my goto board at this stage, I have an M.2 to PCIE slot adapter so I will probably use parallel port card and controller for the initial testing but quiet interested also in how the Ethernet controllers perform. Wondering if you are using Ethernet, GPIO or PCIE to control the machines?

lastly I'm currently testing out mainline -rt kernel (dev branch) on hardkernel's arm64 Odroid N2 / C4 and whilst there are some bug's for the moment I think the max latencies will be very good with a bit more tuning and fixes. Some HAL integration with the GPIO pins might make them very suitable little low cost boards as well.

beaglebrainz
Posts: 11
Joined: Sat Sep 19, 2020 5:10 pm
languages_spoken: Aussie
ODROIDs: H2+
Has thanked: 8 times
Been thanked: 5 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by beaglebrainz »

Mesa 7i92 connected via Etherent, then to a 7i76, 7i73,7i74 & 7i83.
A 7i76e would work fine.
Honestly I'd opt for a 7i92 connected via ethernet that you can connect to a std Parallel Port BoB.
I did a bit of testing with various rt kernels and the one I use & supply with the ISO gives the best latency on a wide range of 64 bit x86 boards.
A Mesa 7i92 is about $89 USD plus postage, but that will offload step & direction timing from the Odroid, Linuxcnc still plans out the motion. You'll have a total of 34 I/O pins all up.....Obviously 6 of those get taken up by step & direction on a 3 axis machine, the 28 remaining pins can be configured as either input or output as one pleases.
Going with Ethernet allows for a larger latency than what a Parallel port system does.
As for Linuxcnc or Machinekit, I'd opt for Linuxcnc, the v2.8.0 version has just been released as stable, V2.9 (master) is in active development and usable. I've used both and find Linuxcnc the best, especially support wise.
These users thanked the author beaglebrainz for the post (total 2):
brad (Sat Sep 19, 2020 8:23 pm) • odroid (Mon Sep 21, 2020 9:37 am)

beaglebrainz
Posts: 11
Joined: Sat Sep 19, 2020 5:10 pm
languages_spoken: Aussie
ODROIDs: H2+
Has thanked: 8 times
Been thanked: 5 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by beaglebrainz »

Sorry if anyone tried this and didn't get ethernet connection. There was a slight ID Ten Tea error on the ISO, this is being fixed and links will be sorted soonish.
Once again I apologise for being an idiot.

Fixed as of 21/09/2020 18:20 Sydney time

brad
Posts: 1457
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 135 times
Been thanked: 223 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by brad »

I will do a test this coming weekend :)
These users thanked the author brad for the post:
beaglebrainz (Thu Sep 24, 2020 11:32 am)

User avatar
mad_ady
Posts: 9783
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 613 times
Been thanked: 734 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by mad_ady »

Been a while since I last saw an ID-ten-t error
These users thanked the author mad_ady for the post:
beaglebrainz (Thu Sep 24, 2020 11:31 am)

beaglebrainz
Posts: 11
Joined: Sat Sep 19, 2020 5:10 pm
languages_spoken: Aussie
ODROIDs: H2+
Has thanked: 8 times
Been thanked: 5 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by beaglebrainz »

I think you need to born in the 70's to recognise it. ;)

User avatar
rooted
Posts: 8736
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 377 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by rooted »

mad_ady wrote:Been a while since I last saw an ID-ten-t error Image
Lol, I first heard this many years ago when I was tier 2 tech support for an ISP. Man I hated that job, being in a secure building isn't for me.

beaglebrainz
Posts: 11
Joined: Sat Sep 19, 2020 5:10 pm
languages_spoken: Aussie
ODROIDs: H2+
Has thanked: 8 times
Been thanked: 5 times
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by beaglebrainz »

rooted wrote:
Sat Sep 26, 2020 9:04 am
mad_ady wrote:Been a while since I last saw an ID-ten-t error Image
Lol, I first heard this many years ago when I was tier 2 tech support for an ISP. Man I hated that job, being in a secure building isn't for me.
A complete lack of social skills means an office job is not for me, I can't even work in a factory, hence why I either work as a civil (road works) labourer or traffic controller. Even 5 straight days on the 1 site gets to me. The more hours I can spend not having to talk to people the better.

jriotto
Posts: 4
Joined: Tue Sep 21, 2021 3:17 pm
languages_spoken: english
ODROIDs: Odroid N2+ 4GB
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Mint 19.3 Linuxcnc Odroid H2+

Post by jriotto »

Anyone have an ISO image to load linuxCNC on an Odroid N2 / N2+? Trying to get it done, but finding it very difficult. Any pointers?

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest