raspberrypi / rpi-eeprom

Installation scripts and binaries for the Raspberry Pi 4 and Raspberry Pi 5 bootloader EEPROMs
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-boot-eeprom
Other
1.28k stars 206 forks source link

rpi4 red screen 4 long / 5 short led code updating from 2019-07-15 to 2023-01-11 bootloader #553

Closed ohthehugemanatee closed 8 months ago

ohthehugemanatee commented 8 months ago

Describe the bug

Brand new rpi4 8GB with bootloader "Mon Jul 15 12:59:55 UTC 2019 (1563195595)" fails to boot if recovery.bin of the latest "Wed Jan 11 17:40:52 UTC 2023 (1673458852)" EEPROM is present. This happens with a raspbian image, or even with a "bootloader recovery" image. Discovered it when the device failed on the second boot of a fresh bullseye64 image... rpi-eeprom-update.service had automatically downloaded a recovery.bin. Device boots successfully if I remove the file. Unfortunately 1563195595 is before we got the HDMI diagnostic screen on boot, so red screen and 4 long / 5 short LED code is all I have. (update: see first comment)

See discussion on the forum for detail.

Steps to reproduce the behaviour

  1. install 1563195595 bootloader on a rpi4.
  2. flash sdcard with "sd card boot" rpi4 image using rpi-imager.
  3. attempt to boot with the sd card
  4. observe failure.

Device (s)

Raspberry Pi 4 Mod. B

Bootloader configuration.

BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0

System

System Information
------------------

Raspberry Pi 4 Model B Rev 1.2
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"

Raspberry Pi reference 2023-12-05
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, e484aa85818428c3af08de0ba1db5329dfc84143, stage2

Linux steamlink 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
Revision    : c03112
Serial      : 10000000a96b7a68
Model       : Raspberry Pi 4 Model B Rev 1.2
Throttled flag  : throttled=0x0
Camera          : supported=0 detected=0, libcamera interfaces=0

Videocore information
---------------------

Mar 17 2023 10:50:39 
Copyright (c) 2012 Broadcom
version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start)

alloc failures:     0
compactions:        0
legacy block fails: 0

Filesystem information
----------------------
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/root       61326292 1420148  57380900   3% /
devtmpfs         1678472       0   1678472   0% /dev
tmpfs            1942696       0   1942696   0% /dev/shm
tmpfs             777080     964    776116   1% /run
tmpfs               5120       4      5116   1% /run/lock
/dev/mmcblk0p1    261108   32082    229026  13% /boot
tmpfs             388536       0    388536   0% /run/user/1000

Filename                Type        Size        Used    Priority
/var/swap                               file        102396      0   -2

Package version information
---------------------------
raspberrypi-ui-mods:
  Installed: (none)
raspberrypi-sys-mods:
  Installed: 20230510~bullseye
openbox:
  Installed: (none)
lxpanel:
  Installed: (none)
pcmanfm:
  Installed: (none)
rpd-plym-splash:
  Installed: (none)

Networking Information
----------------------

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        inet6 y.y.y.y.y.y.y.y  prefixlen 64  scopeid 0x0<global>
        inet6 y::y.y.y.y  prefixlen 64  scopeid 0x20<link>
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 714  bytes 123521 (120.6 KiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 138  bytes 15139 (14.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet x.x.x.x  netmask x.x.x.x
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 10  bytes 1588 (1.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10  bytes 1588 (1.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        inet6 y::y.y.y.y  prefixlen 64  scopeid 0x20<link>
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 59  bytes 8787 (8.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 67  bytes 12218 (11.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

USB Information
---------------

Display Information
-------------------

Running (F)KMS, console

/sys/class/drm/card1-HDMI-A-1
AP///////wBMLSYOMDNSMBYcAQOAUCF4KuNFp1RSmSUSUFS/74BxT4EAgcCBgJUAqcCzAAEBnWdw
oNCgIlAwIDoAHU0xAAAaAAAA/QAyZB6YNwAKICAgICAgAAAA/ABDMzRIODl4CiAgICAgAAAA/wBI
MUFLNTAwMDAwCiAgAeoCAyTxR5AfBBMDElojCQcHgwEAAGcDDAAQAIA8Z9hdxAFugADnfHCg0KAp
UDAgOgAdTTEAABpO1HCg0KBGUDAgOgAdTTEAABpWXgCgoKApUDAgNQAdTTEAABoCOoAYcTgtQFgs
RQAAAAAAAB5YTQC4oTgUQPgsRQAdTTEAAB4ARQ==

Connector 0 (89) HDMI-A-1 (connected)
  Encoder 0 (88) TMDS
    Crtc 0 (87) 1920x1080@60.00 148.500 1920/88/44/148/+ 1080/4/5/36/+ 60 (60.00) U|D 
      Plane 0 (31) fb-id: 96 (crtcs: 0) 0,0 1920x1080 -> 0,0 1920x1080 (XR24 AR24 XB24 AB24 RX24 BX24 RG16 RG24 BG24 YU16 YU12 YV12 NV12 NV21 P030)
        FB 96 1920x1080 RG16

Connector 0 (89) HDMI-A-1 (connected)
   0 3440x1440@49.99  265.250 3440/48/32/80/+    1440/3/10/21/-     50 (49.99) P|D   
   1 2560x1440@59.95  241.500 2560/48/32/80/+    1440/3/5/33/-      60 (59.95) D     
   2 2560x1080@60.00  198.000 2560/248/44/148/+  1080/4/5/11/+      60 (60.00) D     
   3 2560x1080@60.00  198.000 2560/248/44/148/+  1080/4/5/11/+      60 (60.00) D     64:27
   4 2560x1080@59.94  197.802 2560/248/44/148/+  1080/4/5/11/+      60 (59.94) D     64:27
   5 1920x1080@60.00  148.500 1920/88/44/148/+   1080/4/5/36/+      60 (60.00) U|D   
   6 1920x1080@60.00  148.500 1920/88/44/148/+   1080/4/5/36/+      60 (60.00) D     16:9
   7 1920x1080@59.94  148.352 1920/88/44/148/+   1080/4/5/36/+      60 (59.94) D     16:9
   8 1920x1080@50.00  148.500 1920/528/44/148/+  1080/4/5/36/+      50 (50.00) D     16:9
   9 1680x1050@59.88  119.000 1680/48/32/80/+    1050/3/6/21/-      60 (59.88) D     
  10 1600x900@60.00   108.000 1600/24/80/96/+    900/1/3/96/+       60 (60.00) D     
  11 1280x1024@75.02  135.000 1280/16/144/248/+  1024/1/3/38/+      75 (75.02) D     
  12 1280x1024@60.02  108.000 1280/48/112/248/+  1024/1/3/38/+      60 (60.02) D     
  13 1440x900@59.90    88.750 1440/48/32/80/+    900/3/6/17/-       60 (59.90) D     
  14 1280x800@59.91    71.000 1280/48/32/80/+    800/3/6/14/-       60 (59.91) D     
  15 1152x864@75.00   108.000 1152/64/128/256/+  864/1/3/32/+       75 (75.00) D     
  16 1280x720@60.00    74.250 1280/110/40/220/+  720/5/5/20/+       60 (60.00) D     
  17 1280x720@60.00    74.250 1280/110/40/220/+  720/5/5/20/+       60 (60.00) D     16:9
  18 1280x720@59.94    74.176 1280/110/40/220/+  720/5/5/20/+       60 (59.94) D     16:9
  19 1280x720@50.00    74.250 1280/440/40/220/+  720/5/5/20/+       50 (50.00) D     16:9
  20 1024x768@75.03    78.750 1024/16/96/176/+   768/1/3/28/+       75 (75.03) D     
  21 1024x768@70.07    75.000 1024/24/136/144/-  768/3/6/29/-       70 (70.07) D     
  22 1024x768@60.00    65.000 1024/24/136/160/-  768/3/6/29/-       60 (60.00) D     
  23 832x624@74.55     57.284 832/32/64/224/-    624/1/3/39/-       75 (74.55) D     
  24 800x600@75.00     49.500 800/16/80/160/+    600/1/3/21/+       75 (75.00) D     
  25 800x600@72.19     50.000 800/56/120/64/+    600/37/6/23/+      72 (72.19) D     
  26 800x600@60.32     40.000 800/40/128/88/+    600/1/4/23/+       60 (60.32) D     
  27 800x600@56.25     36.000 800/24/72/128/+    600/1/2/22/+       56 (56.25) D     
  28 720x576@50.00     27.000 720/12/64/68/-     576/5/5/39/-       50 (50.00) D     16:9
  29 720x480@60.00     27.027 720/16/62/60/-     480/9/6/30/-       60 (60.00) D     16:9
  30 720x480@59.94     27.000 720/16/62/60/-     480/9/6/30/-       60 (59.94) D     16:9
  31 640x480@75.00     31.500 640/16/64/120/-    480/1/3/16/-       75 (75.00) D     
  32 640x480@72.81     31.500 640/24/40/128/-    480/9/3/28/-       73 (72.81) D     
  33 640x480@66.67     30.240 640/64/64/96/-     480/3/3/39/-       67 (66.67) D     
  34 640x480@60.00     25.200 640/16/96/48/-     480/10/2/33/-      60 (60.00) D     4:3
  35 640x480@59.94     25.175 640/16/96/48/-     480/10/2/33/-      60 (59.94) D     
  36 720x400@70.08     28.320 720/18/108/54/-    400/12/2/35/+      70 (70.08) D     

/sys/kernel/debug/dri/1/state:
plane[31]: plane-0
    crtc=crtc-0
    fb=96
        allocated by = [fbcon]
        refcount=2
        format=RG16 little-endian (0x36314752)
        modifier=0x0
        size=1920x1080
        layers:
            size[0]=1920x1080
            pitch[0]=3840
            offset[0]=0
            obj[0]:
                name=0
                refcount=3
                start=00100000
                size=4149248
                imported=no
                dma_addr=0x00000000cf600000
                vaddr=0000000093ef73b9
    crtc-pos=1920x1080+0+0
    src-pos=1920.000000x1080.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=0
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[38]: plane-1
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=1
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[45]: plane-2
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=1
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[52]: plane-3
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=1
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[59]: plane-4
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=1
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[66]: plane-5
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=1
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[73]: plane-6
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=1
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
plane[80]: plane-7
    crtc=(null)
    fb=0
    crtc-pos=0x0+0+0
    src-pos=0.000000x0.000000+0.000000+0.000000
    rotation=1
    normalized-zpos=2
    color-encoding=ITU-R BT.709 YCbCr
    color-range=YCbCr limited range
crtc[87]: crtc-0
    enable=1
    active=1
    self_refresh_active=0
    planes_changed=1
    mode_changed=0
    active_changed=0
    connectors_changed=0
    color_mgmt_changed=0
    plane_mask=1
    connector_mask=1
    encoder_mask=1
    mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x60 0x5
connector[89]: HDMI-A-1
    crtc=crtc-0
    self_refresh_aware=0
    max_requested_bpc=0

config.txt
----------

arm_64bit=1
arm_boost=1
arm_freq=1500
audio_pwm_mode=514
camera_auto_detect=1
config_hdmi_boost=5
core_freq=500
core_freq_min=200
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
display_auto_detect=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=3
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=250
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
max_framebuffers=2
over_voltage_avs=-36250
pause_burst_frames=1
program_serial_random=1
total_mem=4096
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=

cmdline.txt
-----------
coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:99:18:D9 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=b9ac3118-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE

raspi-gpio settings
-------------------

BANK0 (GPIO 0 to 27):
GPIO 0: level=1 fsel=0 func=INPUT pull=UP
GPIO 1: level=1 fsel=0 func=INPUT pull=UP
GPIO 2: level=1 fsel=0 func=INPUT pull=UP
GPIO 3: level=1 fsel=0 func=INPUT pull=UP
GPIO 4: level=1 fsel=0 func=INPUT pull=UP
GPIO 5: level=1 fsel=0 func=INPUT pull=UP
GPIO 6: level=1 fsel=0 func=INPUT pull=UP
GPIO 7: level=1 fsel=0 func=INPUT pull=UP
GPIO 8: level=1 fsel=0 func=INPUT pull=UP
GPIO 9: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 10: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 11: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 12: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 13: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 14: level=1 fsel=0 func=INPUT pull=NONE
GPIO 15: level=1 fsel=0 func=INPUT pull=UP
GPIO 16: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 17: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 18: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 19: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 20: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 21: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 22: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 23: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 24: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 25: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 26: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 27: level=0 fsel=0 func=INPUT pull=DOWN
BANK1 (GPIO 28 to 45):
GPIO 28: level=1 fsel=2 alt=5 func=RGMII_MDIO pull=UP
GPIO 29: level=0 fsel=2 alt=5 func=RGMII_MDC pull=DOWN
GPIO 30: level=0 fsel=7 alt=3 func=CTS0 pull=UP
GPIO 31: level=0 fsel=7 alt=3 func=RTS0 pull=NONE
GPIO 32: level=1 fsel=7 alt=3 func=TXD0 pull=NONE
GPIO 33: level=1 fsel=7 alt=3 func=RXD0 pull=UP
GPIO 34: level=1 fsel=7 alt=3 func=SD1_CLK pull=NONE
GPIO 35: level=1 fsel=7 alt=3 func=SD1_CMD pull=UP
GPIO 36: level=1 fsel=7 alt=3 func=SD1_DAT0 pull=UP
GPIO 37: level=1 fsel=7 alt=3 func=SD1_DAT1 pull=UP
GPIO 38: level=1 fsel=7 alt=3 func=SD1_DAT2 pull=UP
GPIO 39: level=1 fsel=7 alt=3 func=SD1_DAT3 pull=UP
GPIO 40: level=0 fsel=4 alt=0 func=PWM1_0 pull=NONE
GPIO 41: level=0 fsel=4 alt=0 func=PWM1_1 pull=NONE
GPIO 42: level=0 fsel=1 func=OUTPUT pull=UP
GPIO 43: level=1 fsel=0 func=INPUT pull=UP
GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP
BANK2 (GPIO 46 to 53):
GPIO 46: level=0 fsel=0 func=INPUT pull=UP
GPIO 47: level=0 fsel=0 func=INPUT pull=UP
GPIO 48: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 49: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 50: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 51: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 52: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 53: level=0 fsel=0 func=INPUT pull=DOWN

vcdbg log messages
------------------

002396.011: arasan: arasan_emmc_open
002396.181: arasan: arasan_emmc_set_clock C0: 0x00800000 C1: 0x000e0047 emmc: 200000000 actual: 390625 div: 0x00000100 target: 400000 min: 400000 max: 400000 delay: 5
002500.939: arasan: arasan_emmc_set_clock C0: 0x00800000 C1: 0x000e0047 emmc: 200000000 actual: 390625 div: 0x00000100 target: 400000 min: 400000 max: 400000 delay: 5
002501.025: arasan: arasan_emmc_set_clock C0: 0x00800f00 C1: 0x000e0047 emmc: 200000000 actual: 390625 div: 0x00000100 target: 400000 min: 390000 max: 400000 delay: 5
002520.255: arasan: arasan_emmc_set_clock C0: 0x00800f06 C1: 0x000e0207 emmc: 200000000 actual: 50000000 div: 0x00000002 target: 50000000 min: 0 max: 50000000 delay: 1
002525.667: brfs: File read: /mfs/sd/config.txt
002526.676: brfs: File read: 2133 bytes
002548.654: HDMI0:EDID error reading EDID block 0 attempt 0
002549.671: HDMI0:EDID giving up on reading EDID block 0
002610.295: brfs: File read: /mfs/sd/config.txt
003371.723: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
003374.245: *** Restart logging
003374.265: brfs: File read: 2133 bytes
003379.697: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
003380.716: hdmi: HDMI0:EDID giving up on reading EDID block 0
003385.758: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
003386.772: hdmi: HDMI0:EDID giving up on reading EDID block 0
003386.791: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
003445.156: HDMI0: hdmi_pixel_encoding: 300000000
003445.169: HDMI1: hdmi_pixel_encoding: 300000000
003445.678: kernel=
003450.616: dtb_file 'bcm2711-rpi-4-b.dtb'
003456.483: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
003456.500: Loaded 'bcm2711-rpi-4-b.dtb' to 0x100 size 0xcd71
003469.826: brfs: File read: 52593 bytes
003482.270: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
003556.627: brfs: File read: 2347 bytes
003559.341: brfs: File read: /mfs/sd/config.txt
003559.837: dtparam: audio=on
003564.479: brfs: File read: 2133 bytes
003581.604: brfs: File read: /mfs/sd/overlays/vc4-fkms-v3d-pi4.dtbo
003599.213: Loaded overlay 'vc4-fkms-v3d'
003663.557: brfs: File read: 1446 bytes
003666.193: brfs: File read: /mfs/sd/cmdline.txt
003666.271: Read command line from file 'cmdline.txt':
003666.296: 'console=serial0,115200 console=tty1 root=PARTUUID=b9ac3118-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE'
004135.651: brfs: File read: 131 bytes
005939.148: brfs: File read: /mfs/sd/kernel8.img
005939.189: Loaded 'kernel8.img' to 0x80000 size 0x7d6bd0
008783.199: Kernel relocated to 0x200000
008783.226: Device tree loaded to 0x2eff2b00 (size 0xd496)
008790.407: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
011181.880: vchiq_core: vchiq_init_state: slot_zero = 0xcf000000, is_master = 1
011185.430: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
011192.611: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010
016801.895: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000001

dmesg log
---------

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.1.21-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000000ec00000, size 512 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 29 pages/cpu s78504 r8192 d32088 u118784
[    0.000000] pcpu-alloc: s78504 r8192 d32088 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 996912
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=b9ac3118-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 3356944K/4050944K available (11776K kernel code, 2106K rwdata, 3688K rodata, 4160K init, 1077K bss, 169712K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 39744 entries in 156 pages
[    0.000000] ftrace: allocated 156 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000328] Console: colour dummy device 80x25
[    0.000963] printk: console [tty1] enabled
[    0.001037] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.001079] pid_max: default: 32768 minimum: 301
[    0.001228] LSM: Security Framework initializing
[    0.001468] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001555] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002934] cgroup: Disabling memory control group subsystem
[    0.005326] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005362] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005565] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005758] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.006224] rcu: Hierarchical SRCU implementation.
[    0.006249] rcu:     Max phase no-delay instances is 1000.
[    0.007644] EFI services will not be available.
[    0.008308] smp: Bringing up secondary CPUs ...
[    0.009449] Detected PIPT I-cache on CPU1
[    0.009618] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.010824] Detected PIPT I-cache on CPU2
[    0.010948] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.012170] Detected PIPT I-cache on CPU3
[    0.012302] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.012456] smp: Brought up 1 node, 4 CPUs
[    0.012549] SMP: Total of 4 processors activated.
[    0.012572] CPU features: detected: 32-bit EL0 Support
[    0.012592] CPU features: detected: 32-bit EL1 Support
[    0.012614] CPU features: detected: CRC32 instructions
[    0.012771] CPU: All CPU(s) started at EL2
[    0.012807] alternatives: applying system-wide alternatives
[    0.014872] devtmpfs: initialized
[    0.027490] Enabled cp15_barrier support
[    0.027560] Enabled setend support
[    0.027808] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.027866] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.042915] pinctrl core: initialized pinctrl subsystem
[    0.043896] DMI not present or invalid.
[    0.044692] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.048435] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.048768] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.049762] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.049884] audit: initializing netlink subsys (disabled)
[    0.050183] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.050843] thermal_sys: Registered thermal governor 'step_wise'
[    0.050939] cpuidle: using governor menu
[    0.051374] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.051595] ASID allocator initialised with 32768 entries
[    0.051784] Serial: AMBA PL011 UART driver
[    0.063227] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.076321] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:50:39, variant start
[    0.080341] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
[    0.096530] KASLR enabled
[    0.131304] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.137240] SCSI subsystem initialized
[    0.137531] usbcore: registered new interface driver usbfs
[    0.137609] usbcore: registered new interface driver hub
[    0.137691] usbcore: registered new device driver usb
[    0.138059] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.138321] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.138717] pps_core: LinuxPPS API ver. 1 registered
[    0.138743] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.138787] PTP clock support registered
[    0.139995] vgaarb: loaded
[    0.140853] clocksource: Switched to clocksource arch_sys_counter
[    0.141569] VFS: Disk quotas dquot_6.6.0
[    0.141667] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.141886] FS-Cache: Loaded
[    0.142329] CacheFiles: Loaded
[    0.153709] NET: Registered PF_INET protocol family
[    0.154636] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.159702] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.159798] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.159841] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.160092] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.161333] TCP: Hash tables configured (established 32768 bind 32768)
[    0.161644] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.161747] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.162116] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.163079] RPC: Registered named UNIX socket transport module.
[    0.163113] RPC: Registered udp transport module.
[    0.163134] RPC: Registered tcp transport module.
[    0.163154] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.163191] PCI: CLS 0 bytes, default 64
[    0.166149] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.166606] kvm [1]: IPA Size Limit: 44 bits
[    0.167968] kvm [1]: vgic interrupt IRQ9
[    0.168242] kvm [1]: Hyp mode initialized successfully
[    1.329773] Initialise system trusted keyrings
[    1.330341] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    1.338352] zbud: loaded
[    1.341443] NFS: Registering the id_resolver key type
[    1.341509] Key type id_resolver registered
[    1.341531] Key type id_legacy registered
[    1.341675] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.341705] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.343217] Key type asymmetric registered
[    1.343251] Asymmetric key parser 'x509' registered
[    1.343351] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.343671] io scheduler mq-deadline registered
[    1.343701] io scheduler kyber registered
[    1.353915] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.353994] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.354102] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.354205] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    1.355294] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.355328] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.355357] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.355455] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.355730] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.359605] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.359910] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[    1.360118] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[    1.360263] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[    1.676880] brcm-pcie fd500000.pcie: link down
[    1.677051] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.677102] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.677218] pci_bus 0000:01: busn_res: [bus 01] is released
[    1.678278] pci_bus 0000:00: busn_res: [bus 00-ff] is released
[    1.679487] simple-framebuffer 3e402000.framebuffer: framebuffer at 0x3e402000, 0x7f8000 bytes
[    1.679525] simple-framebuffer 3e402000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    1.688991] Console: switching to colour frame buffer device 240x67
[    1.697448] simple-framebuffer 3e402000.framebuffer: fb0: simplefb registered!
[    1.712595] iproc-rng200 fe104000.rng: hwrng registered
[    1.713217] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.714726] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.728215] brd: module loaded
[    1.737363] loop: module loaded
[    1.738218] Loading iSCSI transport class v2.0-870.
[    1.743823] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.805028] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.806292] usbcore: registered new interface driver r8152
[    1.806438] usbcore: registered new interface driver lan78xx
[    1.806566] usbcore: registered new interface driver smsc95xx
[    1.807176] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.807521] dwc_otg: FIQ enabled
[    1.807533] dwc_otg: NAK holdoff enabled
[    1.807543] dwc_otg: FIQ split-transaction FSM enabled
[    1.807560] Module dwc_common_port init
[    1.808161] usbcore: registered new interface driver uas
[    1.808296] usbcore: registered new interface driver usb-storage
[    1.808602] mousedev: PS/2 mouse device common for all mice
[    1.814786] sdhci: Secure Digital Host Controller Interface driver
[    1.814876] sdhci: Copyright(c) Pierre Ossman
[    1.815523] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.819125] ledtrig-cpu: registered to indicate activity on CPUs
[    1.819567] hid: raw HID events driver (C) Jiri Kosina
[    1.819850] usbcore: registered new interface driver usbhid
[    1.819916] usbhid: USB HID core driver
[    1.829461] NET: Registered PF_PACKET protocol family
[    1.829662] Key type dns_resolver registered
[    1.831144] registered taskstats version 1
[    1.831290] Loading compiled-in X.509 certificates
[    1.832316] Key type .fscrypt registered
[    1.832380] Key type fscrypt-provisioning registered
[    1.848713] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.849605] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.849836] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 33, base_baud = 0) is a PL011 rev2
[    1.859613] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.860180] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.861725] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.861807] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.890109] of_cfs_init
[    1.893043] of_cfs_init: OK
[    1.930856] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.933785] Waiting for root device PARTUUID=b9ac3118-02...
[    1.977406] mmc1: new high speed SDIO card at address 0001
[    2.031671] mmc0: new ultra high speed DDR50 SDXC card at address 59b4
[    2.035114] mmcblk0: mmc0:59b4 EC1S5 59.7 GiB 
[    2.040947]  mmcblk0: p1 p2
[    2.043842] mmcblk0: mmc0:59b4 EC1S5 59.7 GiB
[    2.074779] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[    2.077332] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.085042] devtmpfs: mounted
[    2.096456] Freeing unused kernel memory: 4160K
[    2.099046] Run /sbin/init as init process
[    2.101341]   with arguments:
[    2.101352]     /sbin/init
[    2.101362]   with environment:
[    2.101371]     HOME=/
[    2.101381]     TERM=linux
[    2.457348] systemd[1]: System time before build time, advancing clock.
[    2.641937] NET: Registered PF_INET6 protocol family
[    2.646353] Segment Routing with IPv6
[    2.648676] In-situ OAM (IOAM) with IPv6
[    2.718367] systemd[1]: systemd 247.3-7+deb11u4 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    2.724404] systemd[1]: Detected architecture arm64.
[    2.741942] systemd[1]: Set hostname to <steamlink>.
[    3.417668] systemd[1]: Queued start job for default target Multi-User System.
[    3.438703] systemd[1]: Created slice system-getty.slice.
[    3.445541] systemd[1]: Created slice system-modprobe.slice.
[    3.451809] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.457868] systemd[1]: Created slice User and Session Slice.
[    3.463607] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.469389] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.475907] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.481772] systemd[1]: Reached target Local Encrypted Volumes.
[    3.487569] systemd[1]: Reached target Paths.
[    3.493234] systemd[1]: Reached target Slices.
[    3.498873] systemd[1]: Reached target Swap.
[    3.505472] systemd[1]: Listening on Syslog Socket.
[    3.511845] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.517999] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.525014] systemd[1]: Listening on Journal Audit Socket.
[    3.531620] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.538487] systemd[1]: Listening on Journal Socket.
[    3.548668] systemd[1]: Listening on udev Control Socket.
[    3.555754] systemd[1]: Listening on udev Kernel Socket.
[    3.562608] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    3.589392] systemd[1]: Mounting POSIX Message Queue File System...
[    3.601155] systemd[1]: Mounting RPC Pipe File System...
[    3.614394] systemd[1]: Mounting Kernel Debug File System...
[    3.628327] systemd[1]: Mounting Kernel Trace File System...
[    3.635322] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    3.644574] systemd[1]: Starting Restore / save the current clock...
[    3.657330] systemd[1]: Starting Set the console keyboard layout...
[    3.670770] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    3.684622] systemd[1]: Starting Load Kernel Module configfs...
[    3.698110] systemd[1]: Starting Load Kernel Module drm...
[    3.713150] systemd[1]: Starting Load Kernel Module fuse...
[    3.724891] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    3.734139] systemd[1]: Starting File System Check on Root Device...
[    3.765629] systemd[1]: Starting Journal Service...
[    3.779665] fuse: init (API version 7.37)
[    3.783360] systemd[1]: Starting Load Kernel Modules...
[    3.817757] systemd[1]: Starting Coldplug All udev Devices...
[    3.860403] systemd[1]: Mounted POSIX Message Queue File System.
[    3.869145] systemd[1]: Mounted RPC Pipe File System.
[    3.878845] systemd[1]: Mounted Kernel Debug File System.
[    3.889019] systemd[1]: Mounted Kernel Trace File System.
[    3.903196] systemd[1]: Finished Restore / save the current clock.
[    3.911820] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    3.920694] systemd[1]: modprobe@configfs.service: Succeeded.
[    3.925669] systemd[1]: Finished Load Kernel Module configfs.
[    3.934982] systemd[1]: modprobe@drm.service: Succeeded.
[    3.939979] systemd[1]: Finished Load Kernel Module drm.
[    3.949493] systemd[1]: modprobe@fuse.service: Succeeded.
[    3.954202] systemd[1]: Finished Load Kernel Module fuse.
[    3.963678] systemd[1]: Finished Load Kernel Modules.
[    3.990325] systemd[1]: Mounting FUSE Control File System...
[    4.001846] systemd[1]: Mounting Kernel Configuration File System...
[    4.014765] systemd[1]: Started File System Check Daemon to report status.
[    4.037804] systemd[1]: Starting Apply Kernel Variables...
[    4.072640] systemd[1]: Mounted FUSE Control File System.
[    4.088934] systemd[1]: Mounted Kernel Configuration File System.
[    4.101713] systemd[1]: Finished File System Check on Root Device.
[    4.129277] systemd[1]: Started Journal Service.
[    4.293141] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[    4.381372] systemd-journald[153]: Received client request to flush runtime journal.
[    4.390243] systemd-journald[153]: File /var/log/journal/a19b1e09c5ab4a47b89e93a80d73ae32/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    5.447747] mc: Linux media interface: v0.10
[    5.455783] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.482121] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.482170] [vc_sm_connected_init]: start
[    5.498934] [vc_sm_connected_init]: installed successfully
[    5.537265] videodev: Linux video capture interface: v2.00
[    5.750328] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.814799] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.820612] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.857719] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    5.870087] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.872004] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.897515] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    5.902906] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.914152] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    5.917698] rpivid feb10000.codec: Device registered as /dev/video19
[    5.943025] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.983132] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.993718] bcm2835_audio bcm2835_audio: card created with 4 channels
[    6.046737] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    6.054314] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    6.058859] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    6.060175] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    6.060265] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.084724] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.084796] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.087058] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    6.087113] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.087154] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.087173] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.087192] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.098368] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.098431] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.110198] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    6.111819] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    6.111881] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    6.155239] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    6.159851] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.160541] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    6.160598] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    6.162786] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    6.164529] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    6.164578] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    6.164618] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    6.164638] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    6.164656] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    6.177973] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    6.189197] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.260453] usbcore: registered new interface driver brcmfmac
[    6.494579] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[    7.205807] Console: switching to colour dummy device 80x25
[    7.211668] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    7.215411] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    7.462685] Console: switching to colour frame buffer device 240x67
[    7.484350] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[    7.793642] 8021q: 802.1Q VLAN Support v1.8
[    7.796002] uart-pl011 fe201000.serial: no DMA platform data
[    7.949511] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    8.041464] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    8.202302] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    8.203808] bcmgenet fd580000.ethernet eth0: Link is Down
[   13.435120] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   15.253744] Bluetooth: Core ver 2.22
[   15.253890] NET: Registered PF_BLUETOOTH protocol family
[   15.253899] Bluetooth: HCI device and connection manager initialized
[   15.253923] Bluetooth: HCI socket layer initialized
[   15.253936] Bluetooth: L2CAP socket layer initialized
[   15.253957] Bluetooth: SCO socket layer initialized
[   15.265768] Bluetooth: HCI UART driver ver 2.3
[   15.265796] Bluetooth: HCI UART protocol H4 registered
[   15.265892] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   15.266129] Bluetooth: HCI UART protocol Broadcom registered
[   15.627380] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.627400] Bluetooth: BNEP filters: protocol multicast
[   15.627416] Bluetooth: BNEP socket layer initialized
[   15.632319] Bluetooth: MGMT ver 1.22
[   15.641209] NET: Registered PF_ALG protocol family
[   22.525769] bcmgenet fd580000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   22.525854] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.710761] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead

EEPROM
------

*** UPDATE AVAILABLE ***
BOOTLOADER: update available
   CURRENT: Mon Jul 15 12:59:55 UTC 2019 (1563195595)
    LATEST: Wed Jan 11 17:40:52 UTC 2023 (1673458852)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 
    LATEST: 000138c0

Bootloader logs

I don't have a UART / USB device handy.

USB boot

N/A

NVMe boot

N/A

Network (TFTP boot)

N/A

ohthehugemanatee commented 8 months ago

Update: I tried updating the bootloader in smaller steps with some success

At that point I started backtracking one release at a time, and any version newer than 2022-04-26 fails to the red screen with 4 long /5 short LED state.

Here's the HDMI diagnostic screen from the latest version I can get into (2022-04-26):

20240310_095521

But - from there, the automatic bootloader update seems to work fine. Booting into a fresh bullseye64 image, after the usual automated reboots, I get

$ sudo rpi-eeprom-update -d -a
BOOTLOADER: up to date
   CURRENT: Wed Jan 11 17:40:52 UTC 2023 (1673458852)
    LATEST: Wed Jan 11 17:40:52 UTC 2023 (1673458852)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 
    LATEST: 000138c0

I'll amend the OP: this is clearly a problem with the specific update path, and an intermediate update to 2022-04-26 seems sufficient to resolve.