Can Asus Tinker Board run LINUXCNC

More
7 years 6 months ago #132318 by berin
if anyone is loooking for more information I have posted a lot here forum.armbian.com/topic/10007-tinker-boa...-working-free-offer/ more or less the home base for info...

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

More
7 years 6 months ago #132403 by berin
pl7i92 noted.

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

More
7 years 1 month ago #143884 by terry1992
I have installed the RT kernel and Linuxcnc in my Tinker Board S. However it shows error when I choose the mesa 7i90 in hm2_stepper. The error shows in the terminal is as follows. Do anyone knows what is wrong?

atech@tinkerboard:~/linuxcnc-dev/src$ linuxcnc
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/atech/linuxcnc-dev/configs/by_interface/mesa/hm2-stepper'
Machine configuration file is '7i90.ini'
Starting LinuxCNC...
Found file(REL): ./hm2-stepper.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
Linux parallel port #0 not found
hm2_7i90: rtapi_app_main: No such file or directory (-2)
./hm2-stepper.hal:38: waitpid failed /home/atech/linuxcnc-dev/bin/rtapi_app hm2_7i90
./hm2-stepper.hal:38: /home/atech/linuxcnc-dev/bin/rtapi_app exited without becoming ready
./hm2-stepper.hal:38: insmod for hm2_7i90 failed, returned -1
Shutting down and cleaning up LinuxCNC...
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/atech/linuxcnc_debug.txt
and
/home/atech/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

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

More
7 years 1 month ago #143889 by pl7i92
is the 7i90 powerd at PC Startup and connected
can you ping the CARD IP
what does in terminal
dmesg | grep parpo*
output
can you plese get the HAL and ii Files posted
are you working wqith the NEW or old Statments of Parport in the Config
when did you last time update the 2.9 it has changed over the weekend in parport behave

I personly recomend you to get the 2.7.14 version as you run a standard mashine
if you plan to get tandem like XXYZ Stay at 2.9
the 2.7.14 is very clean and will get you fast to a working mashine
The following user(s) said Thank You: terry1992

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

More
7 years 1 month ago #143925 by PCW
The hm2_7i90 driver is a EPP parallel port driver so its not going to work on a Tinker board.

If you intend to use a SPI interface, you might try the generic hm2_spi driver though there is no guarantee that it will work (it depends an the availability and quality of the Tinkers OS spi driver)

I suspect that a custom driver would be needed perhaps based on the
hm2_rpspi driver used with the Raspberry Pi

In addition to having a working SPI driver on the host CPU you also need to install SPI
firmware on the 7I90 (via EPP and mesaflash is probably the easiest way)
The following user(s) said Thank You: terry1992

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

More
7 years 1 month ago #144340 by terry1992
Sorry about asking stupid questions. I am a rookie of using Linux and LinuxCNC.
I have found some data on github such as ( github.com/LinuxCNC/linuxcnc/blob/master...hostmot2/hm2_rpspi.c )

The question is that I don't know how to use or install it.
Could anyone teach me how to do it?
( It will be very appreciate if you could offer me the command in the terminal and explain the meaning of it)

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

Time to create page: 0.449 seconds
Powered by Kunena Forum