LinuxCNC + Orange Pi (allwincnc)

More
5 years 6 months ago #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?
More
5 years 6 months ago - 5 years 6 months ago #207429 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Latest Armbian Buster. No need to uninstall anything.
Last edit: 5 years 6 months ago by MX_Master.
The following user(s) said Thank You: Creative25
More
5 years 6 months ago #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?
More
5 years 6 months ago #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.

Code:
cd installer sudo apt install ./linuxcnc/linuxcnc-uspace_2.8.1_armhf.deb
More
5 years 6 months ago #207480 by Creative25
Replied by Creative25 on topic LinuxCNC + Orange Pi
After Installing linuxcnc-uspace_2.8.1_armhf.deb manually the installation finished with only one error message.


--- 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 successfully installed
--- reboot the device to complete the installation
Question am I supposed to login as root before installing Linuxcnc? Or is there another reason for this error message?

I have now two Linuxcnc shortcuts on the desktop and can open both of them.
More
5 years 6 months ago - 5 years 6 months ago #207512 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Install using non privileged user with sudo. Don't use root.

Found this error's reason inside install_linuxcnc.sh. Already fixed.
Update the installer and install emc again

Code:
cd installer git pull ./install_linuxcnc.sh
Last edit: 5 years 6 months ago by MX_Master.
Time to create page: 1.337 seconds
Powered by Kunena Forum