
On Mon, Nov 25, 2024 at 2:51 AM Loic Devulder ldevulder@suse.com wrote:
Hi!
Oh sorry I didn't know that it was already here before... Thanks, I will try the patches then.
Just one question: does this means that we will not be able to "easily" load a different DTB like we can with distri_defaults? I know that we can always does this with u-boot command line as well as with Grub but it's not so easy. But maybe it's handled by OF_UPSTREAM, but I have first to read all the patch series ;-).
Loic
See "Device-tree selection" in documentation at: https://docs.u-boot.org/en/latest/board/starfive/visionfive2.html
Additional information to understand is that EFI bootmgr can prefer the EFI configuration variable (file `ubootefi.var` on EFI System Partition) to select FDT. There is not much control by the user of which ESP is selected for U-Boot to operate its EFI environment, so the environment may change at boot if there are more than one ESP present.
When combined Unified Kernel Image (UKI) with support for wget in EFI then there is not any need to prepare a separate TFTP server or media for network-based installation. I have tested some version of Debian Installer as UKI and it is easy, not depending on hybrid ISO9660 complexity. I think this may be how all OS distribution installer can become less complicated.
When you need to make improvements to the DTS then you will submit a patch to Linux Kernel Mailing List and when merged upstream then U-Boot will sync to the Linux Kernel Devicetree-Rebasing git repository.
If you need DTBO (overlay support) then that is some other topic.
-E