On Wed, Sep 16, 2020 at 9:04 AM François Ozog <[email protected]> wrote: > > Hi Atish, > > Is the HARTID in DT used to *define* which thread should used as the > booted payload (Linux) or is it used to *inform* Linux that it was > started on this particular HARTID? >
The latter. It is just to inform EFI stub that booting HARTID is X so that it can be set to a0 while booting proper Linux. > If we assume two DTs are used: one for OpenSBI and one for Linux, > which one (or both) is used to contain the HARTID? > The DT used only in OpenSBI doesn't need to contain the HARTID. This is only required for UEFI boot. That's why the first EFI loader (U-Boot/EDK2) should set it in the device tree. > Cheers > > FF > _______________________________________________ > boot-architecture mailing list > [email protected] > https://lists.linaro.org/mailman/listinfo/boot-architecture -- Regards, Atish _______________________________________________ boot-architecture mailing list [email protected] https://lists.linaro.org/mailman/listinfo/boot-architecture
