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

rpi-update-firmware.bbclass: refactor rpi_install_firmware_to_rootfs #2114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 14, 2024

  1. rpi-update-firmware.bbclass: refactor rpi_install_firmware_to_rootfs

    The current rpi_install_firmware_to_rootfs has several problems:
    - it's installing duplicated devicetrees to /boot/firmware, because it
      is installing all dtb/dtbo links but they are duplicated, for instance:
      uart2.dtbo and uart2-raspberrypi4-64.dtbo are pointing to a same file.
    - While RPI bootfs contains all files listed in IMAGE_BOOT_FILES, a end user
      can customize that variable to install the files they want to be in boot
      partition, but rpi_install_firmware_to_rootfs does not handle it.
    
    To fix the above, introduce a function mender_install_deployed_files which is
    implemented in the same way with how WIC handle IMAGE_BOOT_FILES, now the files
    in boot partition and the files in /boot/firmware of A/B partitions are
    consistent.
    
    Signed-off-by: Ming Liu <[email protected]>
    liuming50 committed May 14, 2024
    Configuration menu
    Copy the full SHA
    86e0949 View commit details
    Browse the repository at this point in the history