LinuxCNC install on Odroid-N2/N2+

Post Reply
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:

LinuxCNC install on Odroid-N2/N2+

Post by jriotto »

I am trying to install LinuxCNC on my Odroid N2+, currently it is running Armbian 21.08 hirsute-edge_5.13.12_xfce_desktop.

I've download the ISO image cnc-19.3.0-rc3-20200921-xfce-h2-plus-uspace-64bit onto a usb drive, switched the boot switch to SP1
and I get this:

Petiboot (dev .20200731) Hardkernel ODROID-N2Plus
---------------------------------------------------------------------------------------
[USB: sda1 / 3AB4-F8D7]
Check the integrity of the medium
OEM install (for manufacturers)
Start Linuxcnc Powered by Mint 19.3 MATE 64-bit (compatibility mode)
Start Linuxcnc Powered by Mint 19.3 MATE 64-bit

System information
Sytem configuration
Sytstem status log
Language
Rescan Devices
Retrieve config from URL
Plugins (0)
Exit to shell


When I select "Start Linuxcnc Powered by Mint 19.3 MATE 64-bit", I get a message:

Cannot determine the file type of /usr/var/petiboot/mnt/dev/sda1/casper/vmlinuz

I don't know how to proceed. Any ideas?
Thanks - jamie

User avatar
odroid
Site Admin
Posts: 38159
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2045 times
Been thanked: 1221 times
Contact:

Re: LinuxCNC install on Odroid-N2/N2+

Post by odroid »

ODROID-H2 was an x86 platform which is totally different from Aarch64.
As far as I know, there is no pre-built LinuxCNC OS image for generic Aarch64 platforms including ODROID-N2+.

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: LinuxCNC install on Odroid-N2/N2+

Post by jriotto »

Got it, thanks...

Anyone have any pointers on how / where to start such a build?

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: LinuxCNC install on Odroid-N2/N2+

Post by brad »

jriotto wrote:
Wed Oct 13, 2021 11:27 pm
Got it, thanks...

Anyone have any pointers on how / where to start such a build?
Linuxcnc was originally developed for Intel 32 machines and majority of it ported to intel 64 bit. Some users have also ported to arm 32 bit but not 64 bit for N2.

Some years ago I did attempt to build a version for the Odroid C2 (there was a large number of changes and hacks needed in source to make it build for arm64 as much of the Linuxcnc code rely's on a realtime functions of an Intel 32 bit machine)

But before a linuxcnc build for arm64 is useful we really need a realtime kernel for the N2. I looked at this last year and the biggest problem was stability of the emmc driver for a 5.x realtime kernel, the emmc would cause the system to freeze due to a realtime bug in the kernel. I did have a workaround at the time but it was complicated and not ideal. The RT developers were doing some large rewrites in the code so many things were changing. I suspect the RT kernel would work much better now that many bugs have been fixed but I have not had a chance to compile one up and test on the N2 or C4.
These users thanked the author brad for the post:
jriotto (Fri Oct 15, 2021 9:53 am)

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: LinuxCNC install on Odroid-N2/N2+

Post by jriotto »

Ok, sounds complicated and still far away. Looks like I'll stick with my LinuxCNC / Rpi4 or switch to a Intel SBC. Thanks for the reply - jamie

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: LinuxCNC install on Odroid-N2/N2+

Post by brad »

The fact that some users seem to have it running on rpi4 seems promising (64 bit) as it is arm64 although there appear to be lots of issues with certain drivers, etc.

Were you planning to use an Ethernet based BUS for machine control?

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests