RPI4 - Debian / LinuxCNC / EtherCAT / XFCE

More
4 years 5 months ago #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.

Please Log in to join the conversation.

More
4 years 5 months ago #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 to join the conversation.

More
4 years 5 months ago #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 to join the conversation.

More
4 years 5 months ago #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...

Code:
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...
Code:
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]

Please Log in to join the conversation.

More
4 years 5 months ago #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

Please Log in to join the conversation.

More
4 years 5 months ago #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
Code:
[D-BUS Service] Name=org.freedesktop.Notifications Exec=/usr/lib/notification-daemon/notification-daemon  


 

Attachment not found

Please Log in to join the conversation.

More
4 years 5 months ago #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
Code:
[D-BUS Service] Name=org.freedesktop.Notifications Exec=/usr/lib/notification-daemon/notification-daemon
 
Excellent!, that did the trick!
 

Attachment not found



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.

Please Log in to join the conversation.

More
4 years 5 months ago #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...

Please Log in to join the conversation.

More
4 years 5 months ago #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
Code:
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 to join the conversation.

More
4 years 5 months ago #243513 by ftree
Code:
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 to join the conversation.

Time to create page: 5.944 seconds
Powered by Kunena Forum