Article View: linux.debian.user
Article #584Re: RaspberryPI and upgrade from Bullseye to Bookworm
From: basti
Date: Wed, 18 Nov 2026 15:40
Date: Wed, 18 Nov 2026 15:40
97 lines
5641 bytes
5641 bytes
Multiple files are updated via "/etc/kernel/postinst.d/z50-raspi-firmware" - Does the file exist? - Is the file executable? - You can add "set -x" at the beginning to generate debug output. root@rpi-ks:~# ls -la /etc/kernel/postinst.d/z50-raspi-firmware -rwxr-xr-x 1 root root 7483 Jan 5 2025 /etc/kernel/postinst.d/z50-raspi-firmware root@rpi-ks:~# root@rpi-ks:~# cat /etc/default/raspi-firmware-custom gpu_mem=16 root@rpi-ks:~# This results in the following: root@rpi-ks:~# tail /boot/firmware/config.txt enable_uart=1 upstream_kernel=1 kernel=vmlinuz-6.12.117+deb13-arm64 # For details on the initramfs directive, see # https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=10532 initramfs initrd.img-6.12.117+deb13-arm64 # Inserted by /etc/default/raspi-firmware-custom gpu_mem=16 root@rpi-ks:~# as you can see, it generate a line # Inserted by /etc/default/raspi-firmware-custom when the file is found and read Am 18.11.26 um 15:03 schrieb Franco Martelli: > On 17/11/26 at 18:28, basti wrote: >> it also works in bookworm. >> >> What did you do? >> What did you expect? >> What happened? >> >> did you mount /boot/firmware? > > ~# mount | grep /boot/firmware > /dev/mmcblk0p1 on /boot/firmware type vfat > (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro) > >> are there any error messages? >> >> post the output of update-initramfs -k all -u > > OK I will retry for the *last* time: > > 1) Edit /etc/default/raspi-firmware-custom: > > ~# cat <<EOF | tee -a /etc/default/raspi-firmware-custom > > > # Custom changes > gpu_mem=16 > > EOF > > # Custom changes > gpu_mem=16 > > 2) run update-initramfs -u -k all: > > ~# update-initramfs -u -k all > update-initramfs: Generating /boot/initrd.img-6.1.0-54-arm64 > > 3) check the log: > > ~# journalctl --since "2026-11-18 14:00:00" -g update-initramfs > -- No entries -- > ( I checked the output but I didn't see nothing related ) > > 4) verify that changes was applied to /boot/firmware/config.txt: > > ~# cat /boot/firmware/config.txt > # Switch the CPU from ARMv7 into ARMv8 (aarch64) mode > arm_control=0x200 > > enable_uart=1 > upstream_kernel=1 > > kernel=vmlinuz-6.1.0-54-arm64 > # For details on the initramfs directive, see > # https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=10532 > initramfs initrd.img-6.1.0-54-arm64 > > > The expected result was that the three lines in "/etc/default/raspi- > firmware-custom" they were added at the bottom of "/boot/firmware/ > config.txt" after performed the command "update-initramfs -u -k all". > > Kind regards,
Technical Details
Message-ID:
<O0PVn-cI9P-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NYmNP-bhYs-15@gated-at.bofh.it> <NYAe5-bpuh-1@gated-at.bofh.it> <NZ2Dn-bFhz-7@gated-at.bofh.it> <NZ2Dn-bFhz-9@gated-at.bofh.it> <NZ2Dn-bFhz-5@gated-at.bofh.it> <NZokx-bRBf-3@gated-at.bofh.it> <NZyMV-bXsc-7@gated-at.bofh.it> <O0b1T-cjra-11@gated-at.bofh.it> <O0b1T-cjra-9@gated-at.bofh.it> <O0vah-cuOO-3@gated-at.bofh.it> <O0vah-cuOO-1@gated-at.bofh.it> <O0PVn-cI9P-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: basti <mailinglist@unix-solution.de> Newsgroups: linux.debian.user Subject: Re: RaspberryPI and upgrade from Bullseye to Bookworm Date: Wed, 18 Nov 2026 16:40:01 +0100 Message-ID: <O0PVn-cI9P-1@gated-at.bofh.it> References: <NYmNP-bhYs-15@gated-at.bofh.it> <NYAe5-bpuh-1@gated-at.bofh.it> <NZ2Dn-bFhz-7@gated-at.bofh.it> <NZ2Dn-bFhz-9@gated-at.bofh.it> <NZ2Dn-bFhz-5@gated-at.bofh.it> <NZokx-bRBf-3@gated-at.bofh.it> <NZyMV-bXsc-7@gated-at.bofh.it> <O0b1T-cjra-11@gated-at.bofh.it> <O0b1T-cjra-9@gated-at.bofh.it> <O0vah-cuOO-3@gated-at.bofh.it> <O0vah-cuOO-1@gated-at.bofh.it> <O0PVn-cI9P-3@gated-at.bofh.it> X-Original-To: debian-user@lists.debian.org X-Mailbox-Line: From debian-user-request@lists.debian.org Wed Nov 18 15:38:21 2026 Old-Return-Path: <mailinglist@unix-solution.de> X-Amavis-Spam-Status: No, score=-2.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Authentication-Results: ikarus.unix-solution.de; iprev=pass (dynamic-2a02-3100-1953-b001-fc4c-f40d-9b14-ad51.310.pool.telefonica.de) smtp.remote-ip=2a02:3100:1953:b001:fc4c:f40d:9b14:ad51; auth=pass (LOGIN) smtp.auth=basti@unix-solution.de; spf=softfail smtp.mailfrom=unix-solution.de MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Acl-Warn: Max 0 failed recipients allowed X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832978 List-ID: <debian-user.lists.debian.org> List-URL: <https://lists.debian.org/debian-user/> List-Archive: https://lists.debian.org/msgid-search/0f7e98b1-042f-42c4-bd99-664a433c042e@unix-solution.de Approved: robomod@news.nic.it Lines: 97 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 18 Nov 2026 16:38:07 +0100 X-Original-Message-ID: <0f7e98b1-042f-42c4-bd99-664a433c042e@unix-solution.de> X-Original-References: <e0696b95-6740-473e-a4ec-94f9f94105c1@gmail.com> <da61ca3a-56ec-4486-abb5-7ed109fd1565@unix-solution.de> <027d417b-40db-4bc7-8475-3139b516b832@gmail.com> <23dce970-76bf-4fbf-970a-68ed412360db@gmail.com> <064a64be-f4a8-4bc9-bb45-0e0df76aa7b4@unix-solution.de> <cdb519ea-e5c4-4667-a88c-f7f195b50527@gmail.com> <2e8da369-a87d-4564-bf6e-70c34d70e72e@unix-solution.de> <46ce96a3-b164-4e5f-b67a-b08d6180184c@gmail.com> <f80d8c68-3150-4fac-89a5-9c6207bb12b5@unix-solution.de> <ffafa0cd-2404-4f26-bd7c-2321e3c6024a@gmail.com> <178ff500-29ab-4427-acc2-b8c5c8f8c067@unix-solution.de> <1b1437b0-4bc8-4426-8fb0-1ad2eaf47b34@gmail.com>