RPI4 - Debian / LinuxCNC / EtherCAT / XFCE

More
20 May 2022 01:56 - 20 May 2022 02:24 #243380 by ftree
Off topic... but speaking of sync. This person has been up to! Compute module supports IEEE1588.

github.com/raspberrypi/linux/pull/5002/c...d95f7a1e64dd6d06ab7#

github.com/raspberrypi/linux/pull/5002

"Test & Performance:
We have tested the features in our lab and are able as a client to run at -7 intervals without significant performance impact. We are able to maintain synchronisation of the PHC within +/-10ns of its grandmaster PTP source and the system clock within 1-2us of the PHC."

How does that stack up against the EL6688 etc.
Last edit: 20 May 2022 02:24 by ftree.

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

More
20 May 2022 02:24 #243383 by rodw
So if we want to deploy a file with our image, how do we do that?
Thinking of a .deb or wheel for vtk.

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

More
20 May 2022 02:26 #243384 by ftree
deb should be fine

if you have it hosted somewhere we can add a wget and dpkg-i into the uscripts file

github.com/djsftree/rpi-img-builder/blob...userscripts/uscripts

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

More
20 May 2022 02:49 - 20 May 2022 02:52 #243387 by ftree
Just about made a working "debian" fork of the full LXQT 1.1 source.  I imported the dsc files from a bleeding edge ubuntu ppa and fixed dependencies for bookworm. The workflow took a little figuring out!  Roughly speaking for 30+ packages...

cd package
gbp import-dsc ../package.dsc --create-missing-branches
gbp dch -S -a --debian-branch=$GBP_BRANCH && git commit --amend -C@{0} debian/changelog
gbp buildpackage -us -uc --git-ignore-branch --git-ignore-new

I should have the sid deb packages for arm64 done by the end of the weekend.
>> github.com/djsftree/lxqt

Deps as I go...
apt install -y devscripts gdebi-core build-essential python cmake git software-properties-common dpkg-dev \
pbuilder debhelper git-buildpackage cowbuilder qtbase5-private-dev libqt5svg5-dev qttools5-dev \
libqt5x11extras5-dev libpolkit-qt5-1-dev libkf5guiaddons-dev libkf5idletime-dev libkf5screen-dev \
libkf5windowsystem-dev libkf5solid-dev bash libstatgrab-dev libudev-dev libasound2-dev libpulse-dev libsensors4-dev libconfig-dev \
libmuparser-dev libupower-glib-dev libpolkit-agent-1-dev libpolkit-qt5-1-dev sudo libexif-dev x11-utils \
libxss-dev libxcursor-dev libxcomposite-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-dpms0-dev \
libxcb-image0-dev libxcb-screensaver0-dev libxcb-util0-dev libxkbcommon-x11-dev libdbusmenu-qt5-dev \
libfm-dev libmenu-cache-dev lxmenu-data gtk-update-icon-cache hicolor-icon-theme xdg-utils xdg-user-dirs \
oxygen-icon-theme openbox-dev libxi-dev xserver-xorg-input-libinput-dev libxcb-randr0-dev libxdamage-dev \
libjson-glib-dev libx11-xcb-dev libjson-glib-dev libprocps-dev libxtst-dev libmagic-dev libutf8proc-dev
[/code]
Last edit: 20 May 2022 02:52 by ftree.

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

More
20 May 2022 10:48 #243402 by ftree
File ethercat_1.5.2-32_source.changes of Package ethercat

build.opensuse.org/package/view_file/hom...rce.changes?expand=1
The following user(s) said Thank You: rodw

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

More
20 May 2022 20:55 - 20 May 2022 21:12 #243432 by elovalvo

elovalvo's method to install qtvcp did not work for me, At least the install script ran perfectly instead of erroring. I was getting segmentation faults with qtplasmac, and other sample screens did not load.

 

The problem is related to the installation of lxde.

As suggested in
github.com/gnome-pomodoro/gnome-pomodoro/issues/344

you have to add in /usr/share/dbus-1/services/
the file named

org.freedesktop.Notifications.service

containing this
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon/notification-daemon
 


 
Attachments:
Last edit: 20 May 2022 21:12 by elovalvo.
The following user(s) said Thank You: phillc54

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

More
20 May 2022 22:09 #243437 by rodw

 

The problem is related to the installation of lxde.

As suggested in
github.com/gnome-pomodoro/gnome-pomodoro/issues/344

you have to add in /usr/share/dbus-1/services/
the file named

org.freedesktop.Notifications.service

containing this
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon/notification-daemon

 
Excellent!, that did the trick!
 

ftree, we need to create
/usr/share/dbus-1/services/org.freedesktop.Notifications.service
with that content above

The QTPYVCP guys have been kind to us and have contributed a .deb file for vtk and a simple test file. Downloading the .deb file now. 477mb does not lend itself to being shared on the forum!

My little SSD filled up so I had to blow away all my vtk stuff except the wheel but it was looking for a missing module when I installed with pip.
Attachments:

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

More
20 May 2022 22:11 - 20 May 2022 23:33 #243438 by rodw
So am stuck on vtk at the moment. Odd thing is I got it working once before.
I need to find some time on my work PC to rebuild the image and regroup...
Attachments:
Last edit: 20 May 2022 23:33 by rodw.

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

More
21 May 2022 23:49 #243511 by ftree
Bumped the kernel to rt43. Writing the image now... wish me luck!

debian bookworm
kernel 5.15.40-rt43 with
lxqt 1.1.0
ethercat 1.5.2-32
linuxcnc-uspace linuxcnc-uspace-dev mesaflash
linuxcnc-ethercat
If anyone wants arm64 bookworm debs for LXQT 1.1.0
wget https://github.com/djsftree/arm64_playground_djsftree/archive/refs/heads/1.1.0-packages.zip
unzip 1.1.0-packages.zip
rm 1.1.0-packages.zip
dpkg --install --force-depends --recursive arm64_playground_djsftree-1.1.0-packages/
apt -y --fix-broken install
apt install -y lightdm
 

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

More
21 May 2022 23:50 #243513 by ftree
ftree, we need to create /usr/share/dbus-1/services/org.freedesktop.Notifications.service with that content above The QTPYVCP guys have been kind to us and have contributed a .deb file for vtk and a simple test file. Downloading the .deb file now. 477mb does not lend itself to being shared on the forum!

Cool!  Do you have a link?  I'll give it a try.

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

Time to create page: 0.220 seconds
Powered by Kunena Forum