Debian Bookworm for OpenFrame
Debian Bookworm for OpenFrame
________________________________________________________________
Debian Bookworm for OpenFrame (Kernel 6.1)
Operating System Patches / Kernel Patches / Build Log
________________________________________________________________
It's happened again! We've hit another LTS milestone!
Both Bullseye and Bookworm are now being built on a new little server dedicated just to making these images and serving them up. Bookworm isn't replacing Bullseye, I'll keep building fresh images of both until at least Bullseye's estimated end-of-life, which is June 2026. Probably for longer.
Installation and Setup
No different to other releases. Easiest way is to chuck it on a USB stick using the Raspberry Pi imager, plug it in, turn OpenFrame on.
More complete instructions on birdslikewires.net.
Enjoy!
I'm aiming for this release to be pretty vanilla - just the necessary little bits and bobs for you to build your own systems with.
Debian Bookworm for OpenFrame (Kernel 6.1)
Operating System Patches / Kernel Patches / Build Log
________________________________________________________________
It's happened again! We've hit another LTS milestone!
Both Bullseye and Bookworm are now being built on a new little server dedicated just to making these images and serving them up. Bookworm isn't replacing Bullseye, I'll keep building fresh images of both until at least Bullseye's estimated end-of-life, which is June 2026. Probably for longer.
Installation and Setup
No different to other releases. Easiest way is to chuck it on a USB stick using the Raspberry Pi imager, plug it in, turn OpenFrame on.
More complete instructions on birdslikewires.net.
Enjoy!
I'm aiming for this release to be pretty vanilla - just the necessary little bits and bobs for you to build your own systems with.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels!
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
Thanks Boss
I have been playing with the Release Candidates for a while.
Apparently there will be a point release in a month or; it was pushed out with over a 100 bugs still to be squashed!
Anyway, I had already built the Binaries for LMS, so here is O2 Joggler running LMS v8.4.0, Squeezelite on the internal speaker, and Jivelite for control.
ronnie
I have been playing with the Release Candidates for a while.
Apparently there will be a point release in a month or; it was pushed out with over a 100 bugs still to be squashed!
Anyway, I had already built the Binaries for LMS, so here is O2 Joggler running LMS v8.4.0, Squeezelite on the internal speaker, and Jivelite for control.
Logitech Media Server Version: 8.4.0 - 1686847919 @ Thu 15 Jun 2023 07:26:26 PM CEST
Hostname: openframe
Server IP Address: 192.168.1.123
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: i686-linux
Perl Version: 5.36.0 - i686-linux-gnu-thread-multi-64int
Audio::Scan: 1.06
IO::Socket::SSL: 2.081
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 1
openframe
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: v1.9.9-1414
Player IP Address: 192.168.1.123
Player MAC Address:
ronnie
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
I have been playing with this for some time
https://forums.slimdevices.com/forum/us ... e-melodeon
With varying success
It builds in the 32 bit, so I might have another player later in the year
ronnie
https://forums.slimdevices.com/forum/us ... e-melodeon
With varying success
It builds in the 32 bit, so I might have another player later in the year
ronnie
Re: Debian Bookworm for OpenFrame
Awesome! I love seeing OpenFrames still doing cool stuff.
I've edited the opening post because audio is now working just fine. Minor tweak to asound.conf was all that was required. mpg123 seems to still try to use PulseAudio first (which is not present) but running with "-o alsa" or using mpg123-alsa works perfectly. Confirmed that hotplugging on the audio jack still works with kernel 6.1 as well, so no changes required there.
The fact that the Beeb have turned off MP3 streaming of everything except World Service confused me for a bit, as I was setting all this up on the 16th June, the day they switched off those feeds. One minute everything was fine, next minute there was nothing and naturally I assumed it was something I'd done!
I've edited the opening post because audio is now working just fine. Minor tweak to asound.conf was all that was required. mpg123 seems to still try to use PulseAudio first (which is not present) but running with "-o alsa" or using mpg123-alsa works perfectly. Confirmed that hotplugging on the audio jack still works with kernel 6.1 as well, so no changes required there.
The fact that the Beeb have turned off MP3 streaming of everything except World Service confused me for a bit, as I was setting all this up on the 16th June, the day they switched off those feeds. One minute everything was fine, next minute there was nothing and naturally I assumed it was something I'd done!
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels!
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
I now have a fresh install and running Ralphy's Squeezeplay
It's all a bit slow to load (as was my previous post) but runs OK
No album art from either local files or streaming radio stations
Start up using a @reboot Cronjob
I seem to have a default USA keyboard
ronnie
It's all a bit slow to load (as was my previous post) but runs OK
No album art from either local files or streaming radio stations
Start up using a @reboot Cronjob
I seem to have a default USA keyboard
ronnie
Re: Debian Bookworm for OpenFrame
That's usually a library thing, did you get art on the previous incarnation out of the box? Image conversion libraries (in fact, as many libraries as possible) aren't included by default so people have a little space to work with on the internal memory.Man in a van wrote: βWed Jun 21, 2023 3:20 pm No album art from either local files or streaming radio stations
Hmm, I'll test for that - IIRC it's a dpkg-reconfigure keyboard-configuration or /etc/default/keyboard thing.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels!
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
I'm using a 32 gb usb stick so have plenty or roomroobarb! wrote: βFri Jun 23, 2023 11:22 amThat's usually a library thing, did you get art on the previous incarnation out of the box? Image conversion libraries (in fact, as many libraries as possible) aren't included by default so people have a little space to work with on the internal memory.Man in a van wrote: βWed Jun 21, 2023 3:20 pm No album art from either local files or streaming radio stations
Ralphy's Squeezeplay has no frame buffer but neither does the Jivelite version that I build (this goes back a few years working with chill).
At the moment I have only installed xinit (I have in the past installed xserver which gives the same result).
I have not yet tried a full desktop
As you well know, it takes a lot of time
From reboot to a usable touch screen is almost two minutes with this simple build.
On your build of Squeezeplay how do you do it? Would it be possible to run the build script incorporating Ralphy's Sourceforge url for Squeezeplay,
or does it require a checksum for the download?
ronnie
Re: Debian Bookworm for OpenFrame
Heh. Many, many years ago I built an MSF time signal receiver, for a novelty clock project I was making. This time signal is/was broadcast as a low frequency Radio signal from Rugby, UK. I had a kit-built RF stage, and wrote a program on an 8051 CPU to decode the signal and drive some LEDs.roobarb! wrote: βWed Jun 21, 2023 11:26 am
The fact that the Beeb have turned off MP3 streaming of everything except World Service confused me for a bit, as I was setting all this up on the 16th June, the day they switched off those feeds. One minute everything was fine, next minute there was nothing and naturally I assumed it was something I'd done!
After I built it I started testing in ... and absolutely nothing from the RF stage. All the constituent bits seemed to be working, but no output at all. I tried everything, couldn't get any result.
Next day ... all was fine! It turned out that on ... the afternoon of the third Tuesday in the month... they turned the signal off for maintenance. Guess when I was trying things out? Grr...
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
Yeah, there's a bug. This version is fine for now, just looking at it.
It's half fixed, I'll take another look tomorrow.
UPDATE: I broke it more, and much worse.
UPDATE2: Well, I completely fried that server and had to rebuild it. Be careful deleting things that look like files but are actually active mount points! That's what comes from typing too fast too late at night.
It didn't help that Debian Bookworm appears to have a loop mounting bug when using custom nodes, which end up throwing "no such device or address" errors. The build server is now back on Bullseye, but can produce both Bullseye and Bookworm images just fine.
If you can't access the server right now you probably have a cached DNS entry for the old one. You can visit by it's IP address while you wait for your local DNS to update.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels!
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
Downloads all good now
Thanks Boss
Thanks Boss
Re: Debian Bookworm for OpenFrame
Hehe, excellent - thanks for confirming, always appreciated!
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels!
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
Just a note to say that "sudo of-expand" still does not work on the internal ram of the Cisco Openframe
On both Bullseye and Bookworm it goes into a boot loop on rebooting
Sigh.....................................................!
ronnie
On both Bullseye and Bookworm it goes into a boot loop on rebooting
Sigh.....................................................!
ronnie
Re: Debian Bookworm for OpenFrame
@roobarb!
Thanks for doing this, it is great you are keeping these Jogglers alive
I needed to build a new Squeezeplay Joggler and tried this build but the script to install Squeezeplay isn't included. I had a look at the package below but didn't get far due to my lack of Linux skills. I suspect there are some pre-requisites before that can be run? Any pointers (or a script ) would be appreciated.
https://sourceforge.net/projects/lmscli ... lay/linux/
Thanks for doing this, it is great you are keeping these Jogglers alive
I needed to build a new Squeezeplay Joggler and tried this build but the script to install Squeezeplay isn't included. I had a look at the package below but didn't get far due to my lack of Linux skills. I suspect there are some pre-requisites before that can be run? Any pointers (or a script ) would be appreciated.
https://sourceforge.net/projects/lmscli ... lay/linux/
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
proddick wrote: βThu Jul 20, 2023 11:45 am @roobarb!
Thanks for doing this, it is great you are keeping these Jogglers alive
I needed to build a new Squeezeplay Joggler and tried this build but the script to install Squeezeplay isn't included. I had a look at the package below but didn't get far due to my lack of Linux skills. I suspect there are some pre-requisites before that can be run? Any pointers (or a script ) would be appreciated.
https://sourceforge.net/projects/lmscli ... lay/linux/
Have a read through this thread
viewtopic.php?f=2&t=5194
ronnie
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
This is Ralphy's Squeezeplay on a Joggler Bookworm image, started from PuTTY on a Windows Desktop
It's installed on a micro sd card in a usb reader, but not with an expanded file system
The screen calibration is not quite right, but usable with a little care
ronnie
It's installed on a micro sd card in a usb reader, but not with an expanded file system
I added the no curser command to the squeezeplay.shof@openframe:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 242M 0 242M 0% /dev
tmpfs 50M 2.0M 48M 5% /run
/dev/sda2 923M 555M 321M 64% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 192M 24K 192M 1% /tmp
tmpfs 256M 74M 183M 29% /var/cache/apt
tmpfs 256M 129M 128M 51% /var/lib/apt/lists
tmpfs 16M 16K 16M 1% /var/log
/dev/sda1 41M 16M 26M 37% /boot
tmpfs 50M 0 50M 0% /run/user/1000
The screen calibration is not quite right, but usable with a little care
ronnie
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
Managed to get this to start with a squeezeplay.service file,
From power on it takes about two minutes 45 secs to a full screen, still no images; any suggestions welcomed
Using the internal speaker for playback,
ronnie
Code: Select all
[Unit]
Description=Squeezeplay
Requires=network-online.target
After=network-online.target
[Service]
Type=exec
User=root
Environment="JIVE_NOCURSOR=1"
ExecStart=/opt/squeezeplay/bin/squeezeplay.sh
Restart=always
RestartSec=10
StartLimitInterval=30
StartLimitBurst=20
[Install]
WantedBy=multi-user.target
Using the internal speaker for playback,
Code: Select all
of@openframe:~$ systemctl status squeezeplay.service
β squeezeplay.service - Squeezeplay
Loaded: loaded (/etc/systemd/system/squeezeplay.service; enabled; preset: enabled)
Active: active (running) since Sat 2023-07-22 07:18:57 BST; 7min ago
Main PID: 521 (squeezeplay.sh)
CPU: 1min 30.628s
CGroup: /system.slice/squeezeplay.service
ββ521 /bin/bash /opt/squeezeplay/bin/squeezeplay.sh
ββ523 ./jive
ββ527 jive_alsa -d hw:CARD=MID -c hw:CARD=MID -b 30000 -p 3 -t 500 -s 0 -f 1
of@openframe:~$
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
Today I made a new image using the latest download and ran sudo update. (there is now a 12.1 bookworm release)
I installed Ralphy's squeezeplay
I also modified @sixedup jivelite.service file to use squeezeplay (used sudo su to make the script as root)
Everyhing seems well, the touchscreen is a little out of calibration and seems to require a firmer "touch"
Sitll no Album artwork
Any
ronnie
I installed Ralphy's squeezeplay
I also modified @sixedup jivelite.service file to use squeezeplay (used sudo su to make the script as root)
Code: Select all
root@openframe:/home/of# nano /etc/systemd/system/squeezeplay.service
GNU nano 7.2 /etc/systemd/system/squeezeplay.service
[Unit]
Description=Squeezeplay
After=network.target
Requires=network.target
[Service]
Type=exec
User=root
Group=root
WorkingDirectory=/opt/squeezeplay/bin
Environment="JIVE_NOCURSOR=1"
ExecStart=/bin/sh -c "/opt/squeezeplay/bin/squeezeplay.sh"
ExecStop=/bin/sh -c "/usr/bin/killall squeezeplay"
Restart=on-failure
[Install]
WantedBy=multi-user.target
Code: Select all
root@openframe:/home/of# systemctl daemon-reload
systemctl enable squeezeplay.service
systemctl start squeezeplay.service
systemctl status squeezeplay.service
β squeezeplay.service - Squeezeplay
Loaded: loaded (/etc/systemd/system/squeezeplay.service; enabled; preset: enabled)
Active: active (running) since Sun 2023-07-23 10:00:21 BST; 106ms ago
Main PID: 708 (sh)
CPU: 87ms
CGroup: /system.slice/squeezeplay.service
ββ708 /bin/sh -c /opt/squeezeplay/bin/squeezeplay.sh
ββ709 /bin/bash /opt/squeezeplay/bin/squeezeplay.sh
ββ710 ./jive
Jul 23 10:00:21 openframe systemd[1]: Starting squeezeplay.service - Squeezeplay...
Jul 23 10:00:21 openframe systemd[1]: Started squeezeplay.service - Squeezeplay.
root@openframe:/home/of# alsamixer
Code: Select all
root@openframe:/home/of# df -h
Filesystem Size Used Avail Use% Mounted on
udev 242M 0 242M 0% /dev
tmpfs 50M 1.8M 48M 4% /run
/dev/sda2 923M 556M 321M 64% /
tmpfs 246M 0 246M 0% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 192M 16K 192M 1% /tmp
tmpfs 256M 3.4M 253M 2% /var/cache/apt
tmpfs 256M 0 256M 0% /var/lib/apt/lists
tmpfs 16M 16K 16M 1% /var/log
/dev/sda1 41M 16M 26M 37% /boot
tmpfs 50M 0 50M 0% /run/user/1000
Everyhing seems well, the touchscreen is a little out of calibration and seems to require a firmer "touch"
Sitll no Album artwork
Any
ronnie
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
I releaise that not every one will "au fait" with Squeezeplay configuration for playback.
This is a copy of a post made by Ralphy on the slimdevices forum
-------------------------------------------------------------------------------------------------------------
I use the internal speaker; "aplay -L" gives
And "alsamixer" allows the volume to be increased
ronnie
This is a copy of a post made by Ralphy on the slimdevices forum
-------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------SQUEEZEPLAY ON JOGGLER- CONFIGURE OUTPUT
Run aplay -l to find the alsa device name. I'm using an allo dac in my example as I don't have a hifiberry dac installed ATM.
$ aplay -l | grep card
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
card 1: sndallodigione [snd_allo_digione], device 0: Allo DigiOne HiFi wm8804-spdif-0 []
Then update the ALSA section in /opt/squeezeplay/bin/squeezeplay.sh to use the hifiberry. I'd also suggest setting USEALSASAMPLESIZE to zero to autodetect the sample size supported by the hifiberry dac instead of forcing default 16 bit.
# ALSA
#
# Supported sample sizes 0=autodetect, default=16
# "<0|16|24|24_3|32>"
#
export USEALSASAMPLESIZE=0
export USEALSADEVICE=hw:CARD=sndallodigione
export USEALSACAPTURE=hw:CARD=sndallodigione
Quit squeezeplay and start it again using /opt/squeezeplay/bin/squeezeplay.sh
I use the internal speaker; "aplay -L" gives
Code: Select all
of@openframe:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
mixer
default
hw:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
Direct hardware device without any conversions
hw:CARD=MID,DEV=1
HDA Intel MID, STAC9202 Digital
Direct hardware device without any conversions
plughw:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
Hardware device with all software conversions
plughw:CARD=MID,DEV=1
HDA Intel MID, STAC9202 Digital
Hardware device with all software conversions
sysdefault:CARD=MID
HDA Intel MID, STAC9202 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
Front output / input
surround21:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=MID,DEV=0
HDA Intel MID, STAC9202 Analog
Direct sample mixing device
dmix:CARD=MID,DEV=1
HDA Intel MID, STAC9202 Digital
Direct sample mixing device
Code: Select all
of@openframe:~$ sudo systemctl status squeezeplay.service
[sudo] password for of:
β squeezeplay.service - Squeezeplay
Loaded: loaded (/etc/systemd/system/squeezeplay.service; enabled; preset: enabled)
Active: active (running) since Sun 2023-07-23 11:17:27 BST; 1min 49s ago
Main PID: 366 (sh)
CPU: 15.496s
CGroup: /system.slice/squeezeplay.service
ββ366 /bin/sh -c /opt/squeezeplay/bin/squeezeplay.sh
ββ367 /bin/bash /opt/squeezeplay/bin/squeezeplay.sh
ββ370 ./jive
ββ381 jive_alsa -d sysdefault:CARD=MID -c sysdefault:CARD=MID -b 30000 -p 3 -t 500 -s 0 -f 1
Jul 23 11:17:27 openframe systemd[1]: Starting squeezeplay.service - Squeezeplay...
Jul 23 11:17:27 openframe systemd[1]: Started squeezeplay.service - Squeezeplay.
Jul 23 11:17:29 openframe squeezeplay_alsa[381]: _pcm_open:729 Opened device sysdefault:CARD=MID using format: S32_LE sample rate: 44100
Jul 23 11:17:29 openframe squeezeplay_alsa[381]: _pcm_open:755 Using buffer period count: 3
Jul 23 11:17:29 openframe squeezeplay_alsa[381]: _pcm_open:767 Using buffer time: 63990
Jul 23 11:18:08 openframe squeezeplay_alsa[381]: _pcm_open:729 Opened device sysdefault:CARD=MID using format: S32_LE sample rate: 48000
Jul 23 11:18:08 openframe squeezeplay_alsa[381]: _pcm_open:755 Using buffer period count: 3
Jul 23 11:18:08 openframe squeezeplay_alsa[381]: _pcm_open:767 Using buffer time: 64000
of@openframe:~$
ronnie
-
- Posts: 503
- Joined: Sun Aug 25, 2013 2:39 pm
- Location: Staffordshire. UK
Re: Debian Bookworm for OpenFrame
@roobarb!
This is repeated for the download available today (25th July)
Index of /openframe/images/debian/bookworm/latest/
../
boo-ext2-1028-43-bookworm-6.1.41op.img.gz 25-Jul-2023 03:46 91M
boo-ext2-1028-43-bookworm-6.1.41op.img.gz.md5 25-Jul-2023 03:46 76
ronnie