grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Device tree support for x86 on Linux


From: Mislav Stublić
Subject: Device tree support for x86 on Linux
Date: Thu, 29 Jul 2021 08:43:45 +0000

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 use cases
so i  believe i could provide a patch but i also have some questions.

Is this a feature you would accept upstream?

As for technical questions, for this to work grub would need to set
setup_data pointer (part of setup_header for linux kernel) that points
to memory holding loaded dtb. But i'm not sure if such memory can
just be allocated with grub_zalloc or is there some other allocation
mechanism that would guarantee this will be preserved once control is
handed over to linux kernel.

Mislav


----- Disclaimer -----
This e-mail message and its attachments may contain privileged and/or 
confidential information. Please do not read the message if You are not its 
designated recipient. If You have received this message by mistake, please 
inform its sender and destroy the original message and its attachments without 
reading or storing of any kind. Any unauthorized use, distribution, 
reproduction or publication of this message is forbidden.

----- Pravne napomene -----
Ova elektronicka poruka i njeni prilozi mogu sadrzavati povlastene informacije 
i/ili povjerljive informacije. Molimo Vas da poruku ne citate ako niste njen 
naznaceni primatelj. Ako ste ovu poruku primili greskom, molimo Vas da o tome 
obavijestite posiljatelja i da izvornu poruku i njene privitke unistite bez 
citanja ili bilo kakvog pohranjivanja. Svaka neovlastena upotreba, 
distribucija, reprodukcija ili priopcavanje ove poruke zabranjena je.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]