RE: [PATCH] loader/i386/linux: Add device tree support

2021-10-07 Thread Mislav Stublić
an be avoided without bigger refactor of both UEFI and x86 code. But I would need to think some more on your suggestion, maybe it's not so complicated. Mislav > -Original Message- > From: Daniel Kiper [mailto:dki...@net-space.pl] > Sent: Wednesday, October 06, 2021 2:29 PM > T

RE: [PATCH] loader/i386/linux: Add device tree support

2021-09-22 Thread Mislav Stublić
> > diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def > > index 8022e1c..e499057 100644 > > --- a/grub-core/Makefile.core.def > > +++ b/grub-core/Makefile.core.def > > @@ -227,7 +227,9 @@ kernel = { > >x86_64_xen = kern/x86_64/dl.c; > >x86_64_efi = kern/x86_64/efi/callw

[PATCH] loader/i386/linux: Add device tree support

2021-09-21 Thread Mislav Stublić
ven't tested is firmware DTB loading support which only calls grub_efi_get_firmware_fdt from kern/efi implementation as I don't have hardware to test this scenario. Mislav Signed-off-by: Mislav Stublić --- grub-core/Makefile.am | 1 + grub-core/Makefile.core.def | 2 + grub-c

RE: Device tree support for x86 on Linux

2021-08-02 Thread Mislav Stublić
ign as you mention. Br, Mislav -Original Message----- From: Mislav Stublić Sent: Monday, August 02, 2021 2:57 PM To: 'Daniel Kiper' Cc: grub-devel@gnu.org Subject: RE: Device tree support for x86 on Linux Hi Daniel, Regarding reusing existing code, there is grub-core/loader/efi/fdt.

RE: Device tree support for x86 on Linux

2021-08-02 Thread Mislav Stublić
Hi Daniel, Regarding reusing existing code, there is grub-core/loader/efi/fdt.c which atleast df s a f -Original Message- From: Daniel Kiper [mailto:dki...@net-space.pl] Sent: Friday, July 30, 2021 2:59 PM To: Mislav Stublić Cc: grub-devel@gnu.org Subject: Re: Device tree support for

Device tree support for x86 on Linux

2021-07-29 Thread Mislav Stublić
Hi, I am planning to add support for device tree loading on x86 with UEFI and Linux as i understand this is currently not supported. We need this for a board we are developing so i would test my patches in our development environment. I have gone through current x86 loader code and some similar u