Install LinuxCNC On ARM64

More
02 Jul 2024 00:49 #304189 by CTB_le123
Replied by CTB_le123 on topic Install LinuxCNC On ARM64
1.yes, it is only the core kernel.

2.I copied the source code compiled in x86 and forgot to delete it.

3.I once wanted to try this, but it was a huge challenge.
And I am trying to install the Debian.

Please Log in or Create an account to join the conversation.

More
02 Jul 2024 00:50 #304190 by CTB_le123
Replied by CTB_le123 on topic Install LinuxCNC On ARM64
I am not sure. It is just a try, maybe it can work.

Please Log in or Create an account to join the conversation.

More
02 Jul 2024 04:26 #304201 by cornholio
Replied by cornholio on topic Install LinuxCNC On ARM64
First thing I'd do then, is get X working if you haven't already, and run the board through it's paces, if you can't get this done or it feels really sluggish I wouldn't attempt trying Linuxcnc on this board.
In saying all that machinekit might be an option as they gave split a lot of it up, but I don't know if there's been any recent development. The mailing list is a bit slow, but answers do come. I think there maybe a few fellows hanging around there that have done some embedded stuff.

Please Log in or Create an account to join the conversation.

More
02 Jul 2024 08:37 #304212 by CTB_le123
Replied by CTB_le123 on topic Install LinuxCNC On ARM64
yeah, I patched the kernel of the board with preempt. Then ran the cyclitest, the longest delay without load is 180us.

So we think it can have a try.

Now I am trying to install the Debian bookworm. It takes long long long time to downlod related packages...

I can look for their experience. Thank u!

Please Log in or Create an account to join the conversation.

More
10 Jul 2024 07:39 #304791 by CTB_le123
Replied by CTB_le123 on topic Install LinuxCNC On ARM64
Hey, cornholio. I am back.

I have installed Deabin 12 on my board. The Image is github.com/Douglas-d/my6254/releases/tag/v1.0.0

Maybe there is no desktop. And I am trying to install xfce to suit my board.

How should I install LinuxCNC then?

Looking for your reply. Thanks

Please Log in or Create an account to join the conversation.

More
10 Jul 2024 12:59 #304808 by cornholio
Replied by cornholio on topic Install LinuxCNC On ARM64
Like I said get X installed, try to run a desktop session and see how that pans out. 180us latency doesn't sound promising. There's no point trying anything with Linuxcnc if a basic X session is like swimming through molasses.

Please Log in or Create an account to join the conversation.

More
11 Jul 2024 01:16 #304857 by CTB_le123
Replied by CTB_le123 on topic Install LinuxCNC On ARM64
Sorry, I would like to confirm what X is, xfce? Do I use `apt-get install linuxcnc` when installing LinuxCNC?

My LinuxCNC source code has been modified and `apt-get` may not be suitable.

Sincerely thank you for replying.

Please Log in or Create an account to join the conversation.

More
11 Jul 2024 04:30 #304861 by cornholio
Replied by cornholio on topic Install LinuxCNC On ARM64
Yep, run gui session. If that seems slow or sluggish or unresponsive I would suggest to try another board.
Linuxcnx is more geared towards a PC like platform rather embedded solutions .
If you can install Linuxcnx using apt get do that, run a latency test, if the latency is too great the board you are attempting to use is not suitable.

Please Log in or Create an account to join the conversation.

More
11 Jul 2024 05:05 #304862 by rodw
Replied by rodw on topic Install LinuxCNC On ARM64
Linuxcnc 2.9.3 is now available in Debian trixie. Debian builds Linuxcnc for many platforms including ARM64. You may wish to try installing it from the debs there
packages.debian.org/trixie/arm64/linuxcnc-uspace/download

Please Log in or Create an account to join the conversation.

More
11 Jul 2024 12:56 #304904 by cornholio
Replied by cornholio on topic Install LinuxCNC On ARM64
The user really wanted to know how to cross complie linuxcnc on a x86 platform for arm64. There's some secret customisations that he requires. Unfortunately cross compiling doesn't appear to be an option. So it's either natively on an arm machine or in qemu running arm64 binaries.
But due to the low spec of the machine (low ram) and a tested latnecy of 180us (this is using non linuxcnc latency test) I'm not sure about the suitability of the board.

Mayhaps if you had of read the thread from the beginning...........................

Please Log in or Create an account to join the conversation.

Time to create page: 0.206 seconds
Powered by Kunena Forum