On 16/11/26 at 20:51, basti wrote:
Hello,

Hi,

tbf, works for me.
root@rpi-ks:~# cat /etc/debian_version
13.7

I'm running a different Debian version:
~# cat /etc/debian_version
12.15

and raspi-firmware package is not available in bookworm-backports. So I've to stay with this version:

~# apt -qq list raspi-firmware
raspi-firmware/oldstable,now 1.20220830+ds-1 all [installed,automatic]

root@rpi-ks:~# tail -n 3 /boot/firmware/config.txt

# Inserted by /etc/default/raspi-firmware-custom
gpu_mem=16

Do you a 'update-initramfs -k all -u' after create the file?

Yes, of sure, however I give up, I wrote a small shell script that applies the changes:

~# cat update-cmdline-config.sh
#!/bin/sh

if grep -q "# Custom changes" /boot/firmware/config.txt; then
        echo "\nAlready updated!\n"
        exit
fi

sed -ie 's/elevator=deadline/ipv6.disable=1/g;s/cma=64M/cma=0/g' /boot/firmware/cmdline.txt

cat <<EOF | tee -a /boot/firmware/config.txt

# Custom changes
gpu_mem=16
dtparam=audio=off
dtoverlay=disable-bt
hdmi_blanking=2
EOF


Thanks anyway, kind regards,
--
Franco Martelli

Reply via email to