Mint 19.3 Linuxcnc Odroid H2+
I don't know how many of you are aware of thex86 based Odroid H2+ details in link below, it's a full system that will sit in the palm of a largish hand.
After talking with Rod, thanks for suggesting more toys , I was inspired to create an install iso based on Mint 19.3 and the newly release Linuxcnc 2.8.0.
The biggest issue with these board has been the drivers for the 2 on board NICs Realtek 8125B. I have included these in the image so no manual installing is required nor using a usb wifi or ethernet dongle during installation.
This image should be ok for standard x86 systems.
UEFI installation should be painless, the kernel command line is embedded in the kernel itself, so no grub failures at the end of installation, this will not affect legacy systems.
Notes for the Odroid, isolating cpus 2,3 appears to give best latency results, isolating 0,1 did not work.
The system I tested on had 2 4GB sticks of RAM purchased from Odroid, not all sticks work. I also used a Crucial P1 500GB NVME module. Networking was wired.
So if you have an Odroid and can test or if you want to test on a plain old x86 system all help is appreciated.
Compared to the recent Mint 19.3 iso the only differences are the kernel being recompiled for to embed the command line to help with UEFI installs, the DKMS setup for the NICS and including the nvme-cli package. The Linuxcnc package is the same.
Fixed a few issues that related to UEFI Installation & NIC Drivers with update kernel.
DKMS has been removed.
Took 3 attempts to get this working today grrrrrr
Sorry, I demoted mine to run Windows on another NC machine. Sounds like I need to replace it.
And don't blame me, it was blazini36's fault that I bought one!
I also bought the Odroid Wifi dongle. It has a seperate SMC connector and antenna so I purchased a SMC bulkhead connector which allowed me to use a bulkhead extension lead to mount the antenna on the top of the enclosure which is cool.
BeagleBrainz wrote: Peak was about 36us most was centred around 4 - 10 us.
I really need to test further and hook it up to my 7i92.
Thats awesome. I think I got about 80us without changing any isolcpus but I have forgotten. I just know it was adequate for a mesa card
Funny thing when running a live session without isolcpus it didn't show this behaviour. From memory anyway, I guess I should check again.
I need to checkout today's ISO on the Odroid anyway. And the little Atomic Pi I have on the shelf.
Might want to try with an SSD as that is usually a sign of a failing hard drive.
BeagleBrainz wrote: I noticed large spikes +1000us when starting the latency histogram without isolcpus.
Funny thing when running a live session without isolcpus it didn't show this behaviour.
From the menu check the SMART data for the drive.
But yeah I’ll look into it.
Well that's strange.
Installed smart mon tools nvme-cli, checked NVME drive, all passes.
Running latency-histogram --nobase with youtube & 5 glx gears min us -33.2 max us 35.5 sdev us 2.5, only has been running for 5 minutes or so.
I don't know if you noticed the Odroid Docs but there are two UARTS on the GPIO connector see:
You can add a RS485 converter. I did find a recommendation to use a MAX3140 if you wanted to use RS485 but can't find a source now
I did notice that the two UARTS come up in Windows as COM1 and COM2
THis would be good for plasma owners or those wanting to use RS485 to control a VFD