RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
16 May 2022 18:35 #243093
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Sweet! I woke up early (4;30am here) and went back to the Debian repo notes
build.opensuse.org/project/show/home:bon...hes:science:EtherLab
and had just worked out to change to Debian_11 for bullseye
Bookworm would need to use Debian_Testing
When you say boots to login, is that a terminal login or a GUI login?
If you end up with a terminal login, tasksel will install a GUI of your choice on the pi.
build.opensuse.org/project/show/home:bon...hes:science:EtherLab
and had just worked out to change to Debian_11 for bullseye
Bookworm would need to use Debian_Testing
When you say boots to login, is that a terminal login or a GUI login?
If you end up with a terminal login, tasksel will install a GUI of your choice on the pi.
Please Log in or Create an account to join the conversation.
16 May 2022 18:40 - 16 May 2022 18:41 #243095
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
lightdm login, now with onscreen login keyboard. Just commited that. I was looking at customising the login with a LinuxCNC wallpaper.
Etherlab Debian_11 seems to work ok as a bookworm kernel module - so far.
lines 16/17
github.com/djsftree/rpi-img-builder/blob/master/userdata.txt
16 Distro : debian
17 Release: bullseye, bookworm, testing, unstable and sid
Many options for resulting image!
Etherlab Debian_11 seems to work ok as a bookworm kernel module - so far.
lines 16/17
github.com/djsftree/rpi-img-builder/blob/master/userdata.txt
16 Distro : debian
17 Release: bullseye, bookworm, testing, unstable and sid
Many options for resulting image!
Last edit: 16 May 2022 18:41 by ftree.
Please Log in or Create an account to join the conversation.
16 May 2022 19:05 - 16 May 2022 19:07 #243097
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
I can set the install script to differentiate between distro versions too, if needed.
if [[ "$DISTRO" == "debian" && "$DISTRO_VERSION" == "bookworm" ]]; then
....
fi
if [[ "$DISTRO" == "debian" && "$DISTRO_VERSION" == "testing" ]]; then
....
fi
Last edit: 16 May 2022 19:07 by ftree.
Please Log in or Create an account to join the conversation.
16 May 2022 19:14 #243098
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
This is pretty awesome. Can't wait to try on a VM of BUllseye later today.
Note that the release version in debian are also referred to as
unstable, testing, stable and oldstable
When a new version is released these roll down.
sid always == unstable
currently:
testing == bookworm
stable == bullseye
oldstable == buster
So at the moment there is no difference between bookworm and testing
Note that the release version in debian are also referred to as
unstable, testing, stable and oldstable
When a new version is released these roll down.
sid always == unstable
currently:
testing == bookworm
stable == bullseye
oldstable == buster
So at the moment there is no difference between bookworm and testing
Please Log in or Create an account to join the conversation.
16 May 2022 19:19 #243100
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Ah! Very nearly ready for you to try. The choot build system doesnot set up eth0 correctly so I'm sorting that out. Also seeing if i can add a first boot script to auto set the ethercat conf file with MAC etc. Save a job right?
Please Log in or Create an account to join the conversation.
16 May 2022 19:22 #243101
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Just check the comments in ethercat.conf. I think you can use eth0 as well as the mac address which may be easier.
Please Log in or Create an account to join the conversation.
16 May 2022 19:40 #243103
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Attachments:
Please Log in or Create an account to join the conversation.
16 May 2022 19:52 - 16 May 2022 19:54 #243104
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
posix / bash has read function
read MAC </sys/class/net/eth0/address
echo $MAC
you beat me to it!
Now how to make a first boot script...
read MAC
write conf
restart services
read MAC </sys/class/net/eth0/address
echo $MAC
you beat me to it!
Now how to make a first boot script...
read MAC
write conf
restart services
Last edit: 16 May 2022 19:54 by ftree.
Please Log in or Create an account to join the conversation.
16 May 2022 20:02 - 16 May 2022 20:04 #243105
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
I've gone as far as I can today. Have a go!
resulting rpi-*.img image found in root folder
git clone https://github.com/djsftree/rpi-img-builder.git
cd rpi-img-builder
sudo ./install
make commit board=bcm2711
when asked paste in ac27843a367ea253659847aeb491137bf3e9216a
make rootfs board=bcm2711
make image board=bcm2711
resulting rpi-*.img image found in root folder
Last edit: 16 May 2022 20:04 by ftree.
Please Log in or Create an account to join the conversation.
16 May 2022 20:08 - 16 May 2022 20:15 #243108
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
I might need to add dbus-x11 and a few other packages. Not sure yet.
I really like lxqt desktop over xfce4. FalconView has caught my eye.....
github.com/DjangoReinhard/FalconView
I really like lxqt desktop over xfce4. FalconView has caught my eye.....
github.com/DjangoReinhard/FalconView
Last edit: 16 May 2022 20:15 by ftree.
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds