Re: [edk2-devel] [PATCH 3/5] OvmfPkg/Microvm/fdt: add empty fdt

2021-10-15 Thread Yao, Jiewen
; Justen, Jordan L > > Subject: Re: [edk2-devel] [PATCH 3/5] OvmfPkg/Microvm/fdt: add empty fdt > > On Fri, Oct 15, 2021 at 03:54:19AM +, Yao, Jiewen wrote: > > Hi > > I am not sure where the problem is. "FdtClient is unhappy without a device > > tree, > so add

Re: [edk2-devel] [PATCH 3/5] OvmfPkg/Microvm/fdt: add empty fdt

2021-10-14 Thread Gerd Hoffmann
On Fri, Oct 15, 2021 at 03:54:19AM +, Yao, Jiewen wrote: > Hi > I am not sure where the problem is. "FdtClient is unhappy without a device > tree, so add an empty fdt" FdtClient throws an assert() in case no device tree is present. > Do we have option 2 to fix the issue? > If no device tree,

Re: [edk2-devel] [PATCH 3/5] OvmfPkg/Microvm/fdt: add empty fdt

2021-10-14 Thread Yao, Jiewen
Hi I am not sure where the problem is. "FdtClient is unhappy without a device tree, so add an empty fdt" Do we have option 2 to fix the issue? If no device tree, why we need FdtClient? Why we need make it happy? Thank you Yao Jiewen > -Original Message- > From: Gerd Hoffmann > Sent: Th

[edk2-devel] [PATCH 3/5] OvmfPkg/Microvm/fdt: add empty fdt

2021-10-14 Thread Gerd Hoffmann
FdtClient is unhappy without a device tree, so add an empty fdt which we can use in case etc/fdt is not present in fw_cfg. https://bugzilla.tianocore.org/show_bug.cgi?id=3689 Signed-off-by: Gerd Hoffmann --- OvmfPkg/PlatformPei/Platform.c | 26 ++ 1 file changed, 22 inser