Feature added by: Loic Devulder (ldevulde) Feature #321095, revision 1 Title: Add on option (GRUB|SUSE)_DEVICETREE_FILE for grub2 Requested by: Loic Devulder (ldevulde) Partner organization: openSUSE.org Description: Add an option to grub2 config file (/etc/default/grub) to be able to specify a devicetree custom file before loading linux kernel, using the 'devicetree' option of grub. I have made a patch and test it: https://build.opensuse.org/package/show/home:ldevulde:branches:Base:System/g... Business case (Partner benefit): openSUSE.org: 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. To correct/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. I opened a bug/fate on the official grub bugtracker (https://savannah.gnu.org/bugs/?48358) but it seems to have low activity... So, I try to submit my patch for official inclusion in the openSUSE grub2 version. 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. -- openSUSE Feature: https://features.opensuse.org/321095