0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Setup RaspiOS Bullseye on Raspberry Pi 5

Posted at

Raspberry Pi 5 officially supports only Debian Bookworm. This could be problem sometimes.

In this procedure we update the firmware and graphic driver but still keep Debian Bullseye.

By the way you need to edit rootfs (ext4) before initial setup, hence a Linux machine is required.

  1. download files

  2. flash raspios to sdcard

    • xz -cd < 2024-10-22-raspios-bullseye-arm64.img.xz | dd of=/dev/sd...
  3. copy new firmware and configure xorg

    • now unpack firmware-stable.zip

    • eject and reinsert SD, now you see bootfs and rootfs

      • copy firmware-stable/boot to bootfs but keep cmdline.txt and config.txt
      • copy firmware-stable/modules to rootfs usr/lib/modules (need sudo)
    • setup etc/X11/xorg.conf.d/99-vc4.conf

    Section "OutputClass"
      Identifier "vc4"
      MatchDriver "vc4"
      Driver "modesetting"
      Option "PrimaryGPU" "true"
    EndSection
    
  4. Boot raspi 5 and complete initial setup, then enable SSH (raspi-config)

    • Now you see weird screen like window menu bar is missing, but you should be able to barely work on terminal.
  5. Install mesa 24

  6. Setup GL driver config (raspi-config)

    • advanced -> GL driver -> GL driver
    • advanced -> Glamor -> enable
  7. Reboot

    • Now window menu bar is back and glxinfo -B says OpenGL vendor string: Broadcom
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?