LinuxCNC + Orange Pi (allwincnc)

More
25 Apr 2021 04:50 - 25 Apr 2021 09:24 #206991 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Updated sources can be found here - gitlab.com/orangecnc/ see repos with _plus names.

I made a hybrid of standard stepgen and pwmgen. New module's name is pwm. Now i'm testing it with different NC files. Works fine.

Needs some work on new encoder module. Needs some tests too.

New installer is about 80% done.

WIP: code, sleep, test, repeat, ..


Any news on H6 support?

Not supported, and H5 too. H6 needs too many work and tests to implement same functionality as for H3. Maybe in future. If you really want to see H6 in support list, become a project committer or donator :)

By the way, Orange Pi 4 and other RK3399 based SBCs (rockpi4, ..) is more featured direction to do a LinuxCNC application research. H6 has just one additional sub-core, but RK3399 has three - 2 x Cortex-M0 and 1 x Cortex-M3. Main pair of Cortex-A53 and Cortex-A72 looks interesting too. And.. RK3399 has a better graphics, more supported peripherals (full featured PCIEx4, for example).
Last edit: 25 Apr 2021 09:24 by MX_Master. Reason: + RK3399 info
The following user(s) said Thank You: Bari

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

More
25 Apr 2021 19:04 #207036 by Creative25
Replied by Creative25 on topic LinuxCNC + Orange Pi
Thanks for all your hard work.
I might be that you are making history.
Who knows maybe many people will jump from Gbrl to linuxcnc.

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

More
25 Apr 2021 19:30 #207037 by Bari
Replied by Bari on topic LinuxCNC + Orange Pi
Rock64 also has some new boards on the way with 8GB of RAM. A port to the new Rockchip devices will likely happen later.

The Rockchip SOC's usually have the first Cortex M0 or M4 reserved for power management and the 2nd and 3rd available to the user.

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

More
29 Apr 2021 14:31 - 29 Apr 2021 14:33 #207379 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Project was branched to a separate folders ordered by the SoC name - h3cnc , h5cnc, h6cnc, rockcnc. Every SoC will have own tweaks, drivers, firmware and debs. Project now hosted via github, again. But sadly.. github sponsors program isn't working for my country. Paypal and patreon isn't an options, too many issues to checkout something from. Any suggestions for donations provider?

New installer is WIP.
Encoder module is WIP too.

Made a smooth frequency acceleration. Works fine. Position following is nice. Here is an example of logic analyzer's output. Absolutely random movement. 1mm = 1000 steps. See all attached images..

Attachments:
Last edit: 29 Apr 2021 14:33 by MX_Master.
The following user(s) said Thank You: Bari, Creative25

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

More
29 Apr 2021 19:05 #207387 by Bari
Replied by Bari on topic LinuxCNC + Orange Pi
Maybe something Bitcoin for donations.
The following user(s) said Thank You: MX_Master

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

More
30 Apr 2021 04:56 #207426 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
If anybody wants to test updated project, you can make it right now.
Installer for the h3cnc is done. Installation is easy as before:

git clone https://github.com/h3cnc/installer
cd installer
./install.sh

Encdoer module isn't tested yet. Be careful.

Bug reports can be placed here ;)
The following user(s) said Thank You: Bari, tjtr33, Creative25

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

More
30 Apr 2021 06:30 #207428 by Creative25
Replied by Creative25 on topic LinuxCNC + Orange Pi
Thanks for the hard work.

I have some questions.
Which version of Armbian should I use? The latest?

Do I have to uninstall the previous version of Linuxcnc?

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

More
30 Apr 2021 06:44 - 30 Apr 2021 10:56 #207429 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Latest Armbian Buster. No need to uninstall anything.
Last edit: 30 Apr 2021 10:56 by MX_Master.
The following user(s) said Thank You: Creative25

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

More
30 Apr 2021 15:59 #207463 by Creative25
Replied by Creative25 on topic LinuxCNC + Orange Pi
I tried to install it on a Orange Pi Pc with Armbian 5.10 but there were some error messages:

--- Installing h3cnc


Hit:1 security.debian.org buster/updates InRelease
Hit:2 deb.debian.org/debian buster InRelease
Hit:3 deb.debian.org/debian buster-updates InRelease
Hit:4 deb.debian.org/debian buster-backports InRelease
Hit:5 mirrors.dotsrc.org/armbian-apt buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

--- Installing System tweaks
--- System tweaks successfully installed


--- Installing PREEMPT RT kernel
Installing packages ...
Installing ./armbian/kernel/linux-image-current-sunxi_21.05.0-trunk_armhf.deb ...
linux-image-current-sunxi is already the newest version (21.05.0-trunk).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing ./armbian/kernel/linux-headers-current-sunxi_21.05.0-trunk_armhf.deb ...
linux-headers-current-sunxi is already the newest version (21.05.0-trunk).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
NOTE: You must reboot the system to complete the installation
--- PREEMPT RT kernel successfully installed


--- Installing LinuxCNC
Installing packages ...
Installing **./linuxcnc/linuxcnc-uspace_2.8.1_armhf.deb
linuxcnc-uspace-dbgsym_2.8.1_armhf.deb
linuxcnc-uspace-dev_2.8.1_armhf.deb** ...
./install_linuxcnc.sh: line 136: linuxcnc: command not found
ERROR: Failed to install **./linuxcnc/linuxcnc-uspace_2.8.1_armhf.deb
linuxcnc-uspace-dbgsym_2.8.1_armhf.deb
linuxcnc-uspace-dev_2.8.1_armhf.deb package [./install_linuxcnc.sh:137**].

--- Installing ARISC driver for the LinuxCNC
./install_drv.sh: line 44: halcompile: command not found
./install_drv.sh: line 46: comp: command not found
ERROR: Can't find a components compiler for the [./install_drv.sh:49].

--- Installing ARISC configs for the LinuxCNC
ln: failed to create symbolic link '/root/Desktop/configs': No such file or directory
ERROR: Can't create the /root/Desktop/configs link [./install_cfg.sh:125].
--- ARISC configs for the LinuxCNC successfully installed


--- Installing ARISC core firmware
NOTE: You must reboot the system to complete the installation
--- ARISC core firmware successfully installed


--- h3cnc installed with errors
--- see the install.log file for details


Are there any missing dependencies?

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

More
30 Apr 2021 17:14 #207468 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Try to install `installer/linuxcnc/linuxcnc-uspace_2.8.1_armhf.deb` manually.
And you will see what's wrong with dependencies.

cd installer
sudo apt install ./linuxcnc/linuxcnc-uspace_2.8.1_armhf.deb

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

Time to create page: 0.209 seconds
Powered by Kunena Forum