[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1116251: linux-image-6.12.48+deb13-rpi: Raspberry Pi Zero W does not boot



On Thu, Oct 30, 2025 at 08:35:37PM +0100, Benjamin Drung wrote:
> On Wed, 24 Sep 2025 20:46:32 +0200 Benjamin Drung <bdrung@debian.org>
> wrote:
> > Package: src:linux
> > Version: 6.12.48-1
> > Severity: normal
> > X-Debbugs-Cc: bdrung@debian.org
> > 
> > Hi,
> > 
> > I have three Raspberry Pi Zero W running trixie headless. All stopped
> > working after upgrading to linux-image-6.12.48+deb13-rpi. Since they
> are
> > headless, I removed the SD card and checked the logs on there. The
> last
> > logs where from upgrading to linux-image-6.12.48+deb13-rpi and the
> > shutdown (from the reboot). There were no logs from the
> > linux-image-6.12.48+deb13-rpi boot. So it probably failed to boot in
> the
> > kernel or initrd (before switching to the root fs).
> > 
> > I changed the kernel+initrd in /boot/firmware/config.txt from
> > 6.12.48+deb13-rpi to 6.12.43+deb13-rpi and then the system worked
> again.
> > I checked that content of the initrd looks okay (only the kernel
> module
> > versions differ).
> 
> I found some time to rip one out of the installation, solder a cable to
> the UART pins and boot with a serial console attached.
> 
> I configured /boot/firmware/config.txt:
> 
> ```
> enable_uart=1
> uart_2ndstage=1
> ```
> 
> When I boot with 6.12.48+deb13-rpi it hangs here:
> 
> ```
> Raspberry Pi Bootcode
> Read File: config.txt, 532
> Read File: start.elf, 2981056 (bytes)
> Read File: fixup.dat, 7303 (bytes)
> MESS:00:00:01.252151:0: brfs: File read: /mfs/sd/config.txt
> MESS:00:00:01.256416:0: brfs: File read: 532 bytes
> MESS:00:00:01.292170:0: HDMI0:EDID error reading EDID block 0 attempt 0
> MESS:00:00:01.298336:0: HDMI0:EDID error reading EDID block 0 attempt 1
> MESS:00:00:01.304672:0: HDMI0:EDID error reading EDID block 0 attempt 2
> MESS:00:00:01.311009:0: HDMI0:EDID error reading EDID block 0 attempt 3
> MESS:00:00:01.317346:0: HDMI0:EDID error reading EDID block 0 attempt 4
> MESS:00:00:01.323683:0: HDMI0:EDID error reading EDID block 0 attempt 5
> MESS:00:00:01.330019:0: HDMI0:EDID error reading EDID block 0 attempt 6
> MESS:00:00:01.336356:0: HDMI0:EDID error reading EDID block 0 attempt 7
> MESS:00:00:01.342693:0: HDMI0:EDID error reading EDID block 0 attempt 8
> MESS:00:00:01.349030:0: HDMI0:EDID error reading EDID block 0 attempt 9
> MESS:00:00:01.355125:0: HDMI0:EDID giving up on reading EDID block 0
> MESS:00:00:01.361505:0: brfs: File read: /mfs/sd/config.txt
> MESS:00:00:01.365951:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
> MESS:00:00:01.558660:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
> MESS:00:00:01.564486:0: *** Restart logging
> MESS:00:00:01.568364:0: brfs: File read: 532 bytes
> MESS:00:00:01.573602:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
> MESS:00:00:01.580979:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
> MESS:00:00:01.587837:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
> MESS:00:00:01.594695:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
> MESS:00:00:01.601552:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
> MESS:00:00:01.608410:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
> MESS:00:00:01.615267:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
> MESS:00:00:01.622126:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
> MESS:00:00:01.628983:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
> MESS:00:00:01.635841:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
> MESS:00:00:01.642457:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
> MESS:00:00:01.648361:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
> MESS:00:00:01.656152:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
> MESS:00:00:01.663011:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
> MESS:00:00:01.669869:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
> MESS:00:00:01.676725:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
> MESS:00:00:01.683584:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
> MESS:00:00:01.690442:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
> MESS:00:00:01.697299:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
> MESS:00:00:01.704157:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
> MESS:00:00:01.711015:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
> MESS:00:00:01.717630:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
> MESS:00:00:01.723244:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
> MESS:00:00:01.731991:0: HDMI0: hdmi_pixel_encoding: 162000000
> MESS:00:00:01.737705:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
> MESS:00:00:02.620274:0: brfs: File read: /mfs/sd/initrd.img-6.12.48+deb13-rpi
> MESS:00:00:02.625721:0: Loaded 'initrd.img-6.12.48+deb13-rpi' to 0x0 size 0xe0bfdc
> MESS:00:00:02.649671:0: initramfs loaded to 0x1b1e4000 (size 0xe0bfdc)
> MESS:00:00:02.664189:0: dtb_file 'bcm2835-rpi-zero-w.dtb'
> MESS:00:00:02.667900:0: brfs: File read: 14729180 bytes
> MESS:00:00:02.675736:0: brfs: File read: /mfs/sd/bcm2835-rpi-zero-w.dtb
> MESS:00:00:02.680655:0: Loaded 'bcm2835-rpi-zero-w.dtb' to 0x100 size 0x4c27
> MESS:00:00:02.696926:0: brfs: File read: 19495 bytes
> MESS:00:00:02.747687:0: brfs: File read: /mfs/sd/config.txt
> MESS:00:00:02.756796:0: brfs: File read: 532 bytes
> MESS:00:00:02.760416:0: brfs: File read: /mfs/sd/cmdline.txt
> MESS:00:00:02.765284:0: Read command line from file 'cmdline.txt':
> MESS:00:00:02.771168:0: 'console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw fsck.repair=yes net.ifnames=0 cma=64M rootwait'
> MESS:00:00:02.799201:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
> MESS:00:00:02.856093:0: brfs: File read: 105 bytes
> MESS:00:00:03.137459:0: brfs: File read: /mfs/sd/vmlinuz-6.12.48+deb13-rpi
> MESS:00:00:03.142614:0: Loaded 'vmlinuz-6.12.48+deb13-rpi' to 0x8000 size 0x498c60
> MESS:00:00:03.149917:0: Device tree loaded to 0x1b1dee00 (size 0x51ad)
> MESS:00:00:03.156884:0: uart: Set PL011 baud rate to 103448.300000 Hz
> MESS:00:00:03.163845:0: uart: Baud rate change done...
> MESS:00:00:03.167256:0: uart: Baud rate
> ```
> 
> In comparison that is the working 6.12.43+deb13-rpi version:
> 
> ```
> Raspberry Pi Bootcode
> Read File: config.txt, 532
> Read File: start.elf, 2981056 (bytes)
> Read File: fixup.dat, 7303 (bytes)
> MESS:00:00:01.252343:0: brfs: File read: /mfs/sd/config.txt
> MESS:00:00:01.256608:0: brfs: File read: 532 bytes
> MESS:00:00:01.292358:0: HDMI0:EDID error reading EDID block 0 attempt 0
> MESS:00:00:01.298524:0: HDMI0:EDID error reading EDID block 0 attempt 1
> MESS:00:00:01.304861:0: HDMI0:EDID error reading EDID block 0 attempt 2
> MESS:00:00:01.311198:0: HDMI0:EDID error reading EDID block 0 attempt 3
> MESS:00:00:01.317534:0: HDMI0:EDID error reading EDID block 0 attempt 4
> MESS:00:00:01.323871:0: HDMI0:EDID error reading EDID block 0 attempt 5
> MESS:00:00:01.330208:0: HDMI0:EDID error reading EDID block 0 attempt 6
> MESS:00:00:01.336545:0: HDMI0:EDID error reading EDID block 0 attempt 7
> MESS:00:00:01.342882:0: HDMI0:EDID error reading EDID block 0 attempt 8
> MESS:00:00:01.349218:0: HDMI0:EDID error reading EDID block 0 attempt 9
> MESS:00:00:01.355313:0: HDMI0:EDID giving up on reading EDID block 0
> MESS:00:00:01.361694:0: brfs: File read: /mfs/sd/config.txt
> MESS:00:00:01.366139:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
> MESS:00:00:01.558851:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
> MESS:00:00:01.564677:0: *** Restart logging
> MESS:00:00:01.568554:0: brfs: File read: 532 bytes
> MESS:00:00:01.573792:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
> MESS:00:00:01.581170:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
> MESS:00:00:01.588028:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
> MESS:00:00:01.594886:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
> MESS:00:00:01.601743:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
> MESS:00:00:01.608601:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
> MESS:00:00:01.615458:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
> MESS:00:00:01.622316:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
> MESS:00:00:01.629174:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
> MESS:00:00:01.636030:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
> MESS:00:00:01.642647:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
> MESS:00:00:01.648552:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
> MESS:00:00:01.656343:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
> MESS:00:00:01.663202:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
> MESS:00:00:01.670059:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
> MESS:00:00:01.676918:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
> MESS:00:00:01.683773:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
> MESS:00:00:01.690632:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
> MESS:00:00:01.697490:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
> MESS:00:00:01.704348:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
> MESS:00:00:01.711205:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
> MESS:00:00:01.717821:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
> MESS:00:00:01.723435:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
> MESS:00:00:01.732181:0: HDMI0: hdmi_pixel_encoding: 162000000
> MESS:00:00:01.737896:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
> MESS:00:00:02.620176:0: brfs: File read: /mfs/sd/initrd.img-6.12.43+deb13-rpi
> MESS:00:00:02.625624:0: Loaded 'initrd.img-6.12.43+deb13-rpi' to 0x0 size 0xe0b1a8
> MESS:00:00:02.649568:0: initramfs loaded to 0x1b1e4000 (size 0xe0b1a8)
> MESS:00:00:02.664071:0: dtb_file 'bcm2835-rpi-zero-w.dtb'
> MESS:00:00:02.667782:0: brfs: File read: 14725544 bytes
> MESS:00:00:02.675391:0: brfs: File read: /mfs/sd/bcm2835-rpi-zero-w.dtb
> MESS:00:00:02.680310:0: Loaded 'bcm2835-rpi-zero-w.dtb' to 0x100 size 0x4c27
> MESS:00:00:02.696581:0: brfs: File read: 19495 bytes
> MESS:00:00:02.747742:0: brfs: File read: /mfs/sd/config.txt
> MESS:00:00:02.756902:0: brfs: File read: 532 bytes
> MESS:00:00:02.760705:0: brfs: File read: /mfs/sd/cmdline.txt
> MESS:00:00:02.765390:0: Read command line from file 'cmdline.txt':
> MESS:00:00:02.771274:0: 'console=tty0 console=ttyS1,115200 root=/dev/mmcblk0p2 rw fsck.repair=yes net.ifnames=0 cma=64M rootwait'
> MESS:00:00:02.799307:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
> MESS:00:00:02.856080:0: brfs: File read: 105 bytes
> MESS:00:00:03.137936:0: brfs: File read: /mfs/sd/vmlinuz-6.12.43+deb13-rpi
> MESS:00:00:03.143092:0: Loaded 'vmlinuz-6.12.43+deb13-rpi' to 0x8000 size 0x498070
> MESS:00:00:03.150393:0: Device tree loaded to 0x1b1dee00 (size 0x51ad)
> MESS:00:00:03.157362:0: uart: Set PL011 baud rate to 103448.300000 Hz
> MESS:00:00:03.164322:0: uart: Baud rate change done...
> MESS:00:00:03.167733:0: uart: Baud rate
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 6.12.43+deb13-rpi (debian-kernel@lists.debian.org) (arm-linux-gnueabi-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 Debian 6.12.43-1 (2025-08-27)
> [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
> [    0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
> [...]
> ```
> 
> I am out of idea how to further debug that.

Can you try adding

	earlyprintk=serial,0x7e215040

to the kernel commandline. Not sure this activates the right procedures,
maybe try it with the working kernel first.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature


Reply to: