Rockpro64 with 7i76e

More
11 Sep 2019 03:41 #144776 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
Andy,
Thanks.
I crashed my uSD and I am now trying to rebuild a new version on Buster. I really like the Desktop version. I had a version of linux-5.0 running on stretch but they have changed some things. I can boot it via ssh from my mac but the rt version won't display on my HDMI monitor.
Alan

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

More
25 Sep 2019 15:08 #146168 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
I tried again to get rt_preempt running on Buster. I built the kernel linux-5.2.10-rt5-rockchip64 it will run but has a problem with ssh in from my mac. So I downloaded a later patch linux-5.2.14-rt7 and built linux-5.2.14-rt7-rockchip64 and it appears to run with out error.

I built linuxcnc (userspace) using John Thornton's instruction for the raspberry pi4b. I was able to start linuxcnc via ssh from my mac and got the config selector window. I didn't have my 7i76e plugged in because I haven't bought a USB3 to ethernet converter. Now that I have rt_preempt and linuxcnc both apparently running I will have to do that.

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

More
28 Sep 2019 23:28 #146514 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
I tried again to build linuxcnc on my rockpro64 but I am getting some errors on
"sudo dpkg -i linuxcnc-uspace_2.8.0~pre1_arm64.deb"

(Reading database ... 185225 files and directories currently installed.)
Preparing to unpack linuxcnc-uspace_2.8.0~pre1_arm64.deb ...
Unpacking linuxcnc-uspace (1:2.8.0~pre1) over (1:2.8.0~pre1) ...
dpkg: dependency problems prevent configuration of linuxcnc-uspace:
linuxcnc-uspace depends on python-gtksourceview2; however:
Package python-gtksourceview2 is not installed.
linuxcnc-uspace depends on python-vte; however:
Package python-vte is not installed.
linuxcnc-uspace depends on gstreamer1.0-plugins-base; however:
Package gstreamer1.0-plugins-base is not installed.
linuxcnc-uspace depends on python-xlib; however:
Package python-xlib is not installed.


The instructions say:

Now edit debian/control.bottom.in and remove the following lines
python-gtksourceview2
python-vte,,

but the lines are not in debian/configure so I can't delete them.

So does anybody have any suggestions???

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

More
29 Sep 2019 16:37 #146599 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
Well if I could just read. I missed the "edit debian/control.bottom.in".

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

More
29 Sep 2019 23:34 #146644 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
Well, I finally got linuxcnc all compiled and installed.
I just ordered the usb3 to ethernet adapter. I should have it by the end of the week. I made sure to order one that people say works with linux. It is made by a company called "Plugable".

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

More
06 Oct 2019 16:55 #147270 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
I got my USB3 to ethernet adapter. I am using it to run ssh -Y and the rockpro64's onboard gigabit ethernet for the ethcat.
I thought I had set up userspace but I notice in the error messages "Using posix realtime". Is this correct? Any help on what I have done wrong?

Below is my /etc/network/interfaces file and the error messages from linuxcnc and the /home/acondit/linuxcnc_print.txt.

#FROM file etc/network/interfaces:
source /etc/network/interfaces.d/*
# Network is managed by Network manager
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.20
netmask 255.255.255.0
broadcast 10.10.10.255
# gateway 192.168.1.1
# dns-nameservers 8.8.8.8 8.8.4.4


LINUXCNC errors:
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/acondit/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
Starting LinuxCNC...
Found file(REL): ./my_LinuxCNC_machine.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
iptables v1.8.2 (nf_tables): CHAIN_ADD failed (No such file or directory): chain INPUT
hm2_eth: ERROR: Failed to create iptables chain hm2-eth-rules-outputhm2_eth: WARNING: Unable to restrict other access to the hm2-eth device.
This means that other software using the same network interface can violate
realtime guarantees. See hm2_eth(9) for more information.
hm2_eth: ERROR: 10.10.10.10: Could not retrieve mac address
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./my_LinuxCNC_machine.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./my_LinuxCNC_machine.hal:9: /usr/bin/rtapi_app exited without becoming ready
./my_LinuxCNC_machine.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/acondit/linuxcnc_debug.txt
and
/home/acondit/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal


acondit@rockpro64:~$ cat /home/acondit/linuxcnc_print.txt
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/acondit/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

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

More
06 Oct 2019 17:42 #147274 by tommylight
Replied by tommylight on topic Rockpro64 with 7i76e
Using Posix Realtime is correct.
There seems to be something wrong with the network configuration. It looks you have the same IP on the computer as on the Mesa card.
forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards
Follow that to configure network.

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

More
07 Oct 2019 04:07 #147308 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
I tried to follow these directions -- ====Network setup for mesa cards: ======:

- left click on the network manager on the bottom right side or upper right side where the clock and volume is.
- choose "edit connections"
- double click on the network you want to edit ( usually "wired connection X")
- click on the "IPv4 settings" tab
- choose "manual" on the "method" drop down menu
- click on "add"
- write the address as 10.10.10.11
- never use 10.10.10.1 or 10.10.10.10 for the above
- netmask should be left as is ( usualy 8 )
- gateway should always be 10.10.10.1
- additional DNS servers should be 10.10.10.1

when I get to :
Save, close

The save button is disabled

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

More
07 Oct 2019 13:10 #147329 by tommylight
Replied by tommylight on topic Rockpro64 with 7i76e
Never had that happen, so i have no clue why is that hapening.
Did you manualy edit any of the network files before ?

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

More
07 Oct 2019 13:29 #147334 by PCW
Replied by PCW on topic Rockpro64 with 7i76e
What does

ip a

report?

and what does

ping 10.10.10.10

report?

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

Time to create page: 0.104 seconds
Powered by Kunena Forum