Skip to content

Support loading devicetree from target ESP #29

@craftyguy

Description

@craftyguy

When u-boot is EFI booting from some other ESP (e.g. on external media), it would be nice if it was able to find and use a device tree from that ESP. There's precedent for this upstream in u-boot: https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/mach-snapdragon/board.c?ref_type=heads#L389

Currently the UEFI-only image from the Asahi installer is from Dec. 2023, and the dtbs in the stage 2 m1n1+u-boot loader do not work for me on my M2 macbook with recent Asahi linux kernels. This means that I'm unable to boot from the ESP created by the Asahi installer. If u-boot could load devicetrees from the ESP on the external media I'm booting from, then it wouldn't matter that the devicetrees in the UEFI-only ESP image are outdated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions