[PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

Simon Glass sjg at chromium.org
Thu Dec 2 18:57:19 CET 2021


Hi Oleksandr,

On Thu, 2 Dec 2021 at 10:40, Oleksandr Andrushchenko
<Oleksandr_Andrushchenko at epam.com> wrote:
>
> Hi, Simon!
>
> Sorry for being late to the party
>
> On 02.12.21 17:59, Simon Glass wrote:
> > Add an empty file to prevent build errors when building with
> > CONFIG_OF_SEPARATE enabled.
> >
> > The build instructions in U-Boot do not provide enough detail to build a
> > useful devicetree, unfortunately.
> Xen guest doesn't use any built-in device trees as the guest's device tree is provided
> by the Xen hypervisor itself and is generated at the virtual machine creation time: it is
> populated with memory size, number of CPUs etc. based on [1].
> So, even if we provide some device tree here it must not be used by U-boot at
> the end of the day. Thus, it might be a reasonable solution to provide an empty device
> tree as you do, but put a comment that it is not used.

OK we can go with an empty one if we have to, but where are the
instructions to create the DT that is used?

I'm not even sure how to run U-Boot with Xen? The in-tree instructions
don't help...

Regards,
Simon


More information about the U-Boot mailing list