Hello all!

I'm testing openSUSE (and SLES) on ARM64 servers and I ran into an issue with 
the default DT integrated into the UEFI of my server (this problem is 
investigated by Matthias Brugger). To workaround my problem, I had to load a 
custom DT using the 'devicetree' option of grub2. But the main problem is that 
I didn't find a way to add it properly in the grub.cfg file without hacking the 
file (which is very bad)!

So, I've made a small patch to add a new option called GRUB_DEVICETREE_FILE in 
/etc/default/grub file. I also compiled a new grub2 version with this patch and 
tested it successfully on my servers 
(https://build.opensuse.org/package/show/home:ldevulde:branches:Base:System/grub2#).

I opened a bug/fate on the official grub bugtracker 
(https://savannah.gnu.org/bugs/?48358) but it seems to have low activity...

I plan to submit my change to the official openSUSE grub2 version but it could 
interesting to have some feedback before :-)

PS: I know that a 'dtb' option exists in the kernel for loading a custom DT 
from efi but I wasn't able to make it work. And I think it's easier and more 
cleaner to use the grub2 option.

Regards,

Loic

Attachment: SUSE_0001-util-add-support-of-GRUB_DEVICETREE_FILE-option.patch
Description: SUSE_0001-util-add-support-of-GRUB_DEVICETREE_FILE-option.patch

Reply via email to