Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Raspberry Pi 5 #1237

Merged
merged 8 commits into from Jan 25, 2024
Merged

Add Raspberry Pi 5 #1237

merged 8 commits into from Jan 25, 2024

Commits on Jan 21, 2024

  1. Add Raspberry Pi 5

    Signed-off-by: Florin Sarbu <florin@balena.io>
    floion authored and kraj committed Jan 21, 2024
    Copy the full SHA
    877a1b1 View commit details
    Browse the repository at this point in the history
  2. rpi-base.inc: Add vc4-kms-v3d-pi5.dtbo

    Add overlays/vc4-kms-v3d-pi5.dtbo to use vc4-kms-v3d driver on
    Raspberry Pi 5.
    
    This work was sponsored by GOVCERT.LU.
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and kraj committed Jan 21, 2024
    Copy the full SHA
    954bd88 View commit details
    Browse the repository at this point in the history
  3. u-boot_%.bbappend: Skip for Raspberry Pi 5

    Temporary avoid Raspberry Pi 5 machines because U-Boot has not been
    ported to it yet.
    
    This work was sponsored by GOVCERT.LU.
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and kraj committed Jan 21, 2024
    Copy the full SHA
    dec31c1 View commit details
    Browse the repository at this point in the history
  4. rpi-config: Reduce config.txt size

    Remove some comments to reduce config.txt file size to avoid file
    corruption and make sure Raspberry Pi 5 will boot successfully.
    
    The issue with large config.txt has been reported to related
    projects:
    raspberrypi/firmware#1848
    Evilpaul/RPi-config#9
    
    This work was sponsored by GOVCERT.LU.
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and kraj committed Jan 21, 2024
    Copy the full SHA
    cae3339 View commit details
    Browse the repository at this point in the history
  5. linux-raspberrypi.inc: bcm2712_defconfig for rpi5

    Use bcm2711_defconfig instead of bcm2712_defconfig for Raspberry
    Pi 5 as per the instructions in the documentation:
    https://www.raspberrypi.com/documentation/computers/linux_kernel.html#kernel-configuration
    
    This work was sponsored by GOVCERT.LU.
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and kraj committed Jan 21, 2024
    Copy the full SHA
    5b3178a View commit details
    Browse the repository at this point in the history
  6. conf/machine/raspberrypi5.conf: kernel_2712.img

    Set SDIMG_KERNELIMAGE to kernel_2712.img instead of kernel8.img.
    Raspberry Pi 5 firmware defaults to loading kernel_2712.img because
    this image contains optimisations specific to Raspberry Pi 5
    (e.g. 16K page-size). For more details:
    https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel
    
    This work was sponsored by GOVCERT.LU.
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and kraj committed Jan 21, 2024
    Copy the full SHA
    b19385d View commit details
    Browse the repository at this point in the history
  7. conf/machine/raspberrypi5.conf: ttyAMA10

    Set SERIAL_CONSOLES to ttyAMA10. This fixes login on the UART
    no matter if systemd is used.
    
    This work was sponsored by GOVCERT.LU.
    
    Suggested-by: Gael PORTAY <gael.portay@rtone.fr>
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and kraj committed Jan 21, 2024
    Copy the full SHA
    d39feaa View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. conf/machine/raspberrypi5.conf: Use "Image"

    "zImage" not supported on arm64 so set KERNEL_IMAGETYPE_DIRECT to
    "Image" for Raspberry Pi 5 and avoid the following errors:
    
    | make: *** No rule to make target 'zImage'.  Stop.
    | ERROR: oe_runmake failed
    
    This work was sponsored by GOVCERT.LU.
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    leon-anavi authored and floion committed Jan 24, 2024
    Copy the full SHA
    2cbbd01 View commit details
    Browse the repository at this point in the history