🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #498

Re: RaspberryPI and upgrade from Bullseye to Bookworm

#498
From: basti
Date: Fri, 13 Nov 2026 16:50
60 lines
4633 bytes
Have a look at the file '/etc/default/raspi-firmware'.

/boot/firmware/cmdline.txt is auto-generated, so create a custom file 
with your values.


Am 13.11.26 um 15:50 schrieb Franco Martelli:
> On 12/11/26 at 17:04, Franco Martelli wrote:
>>> If 'raspi-firmware' is installed, it should be safe.
>>>
>>> Check the file '/boot/firmware/cmdline.txt', it should contain the 
>>> entry 'net.ifnames=0'.
>>
>> I performed the upgrade and it was flawless. 🙂
> 
> Now I want to customize "/boot/firmware/cmdline.txt" and "/boot/ 
> firmware/config.txt" it happens that after a kernel upgrade or after a 
> "update-initramfs -u -k all" command I have those files rewritten with 
> default values:
> 
> ~# 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
> ..................................................
> 
> ~# cat /boot/firmware/cmdline.txt
> console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw 
> elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait
> ..................................................
> 
> In "/boot/firmware/config.txt" I want to add:
> ...
> gpu_mem=16
> dtparam=audio=off
> dtoverlay=disable-bt
> hdmi_blanking=2
> enable_uart=1
> ...
> 
> while in "/boot/firmware/cmdline.txt" I want to remove 
> "elevator=deadline" because deprecated (see below), set "cma=0" and add 
> "ipv6.disable=1".
> 
> ~# dmesg|grep "elevator="
> [    0.000000] Kernel command line: 
> video=Composite-1:720x480@60i,margin_left=32,margin_right=32,margin_top=32,margin_bottom=32 dma.dmachans=0x7ff5 bcm2709.boardrev=0xa02082 bcm2709.serial=0x12345678 bcm2709.uart_clock=48000000 smsc95xx.macaddr=12:34:56:78:90:ab vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=64M rootwait
> [    0.000000] Kernel parameter elevator= does not have any effect anymore
> 
> I'm not able to make permanent the changes. Does anybody have 
> experiences about customizing those two files? How to proceed?
> 
> Thanks in advance, kind regards,
Technical Details
Message-ID: <NZ2Dn-bFhz-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.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: Fri, 13 Nov 2026 17:50:01 +0100
Message-ID: <NZ2Dn-bFhz-5@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>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Fri Nov 13 16:44:05 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-1af2-eb01-0082-a5c6-e5c5-bc89.310.pool.telefonica.de) smtp.remote-ip=2a02:3100:1af2:eb01:82:a5c6:e5c5:bc89;
	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: 8bit
X-Acl-Warn: Max 0 failed recipients allowed
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832879
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/064a64be-f4a8-4bc9-bb45-0e0df76aa7b4@unix-solution.de
Approved: robomod@news.nic.it
Lines: 60
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 13 Nov 2026 17:43:53 +0100
X-Original-Message-ID: <064a64be-f4a8-4bc9-bb45-0e0df76aa7b4@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>