AW: Use header file from external library in u-boot

Johannes Kirchmair - SKIDATA Johannes.Kirchmair at skidata.com
Wed May 15 13:51:25 CEST 2024


Dear Fabio and Lukas, 

will have a thanks for your suggestions. I will have a look at it. 

Best regards 
Johannes

-----Ursprüngliche Nachricht-----
Von: Lukas Funke <lukas.funke-oss at weidmueller.com> 
Gesendet: Donnerstag, 2. Mai 2024 15:33
An: u-boot at lists.denx.de; Johannes Kirchmair - SKIDATA <Johannes.Kirchmair at skidata.com>
Betreff: Re: Use header file from external library in u-boot

EXTERNAL EMAIL


On 02.05.2024 08:57, Johannes Kirchmair - SKIDATA wrote:
> Dear u-boot folks,
>
> we are trying to share some information between u-boot and a Linux user space tool. For this we place some information in a FRAM. This information is just some numeric values, indicating some wanted behaviour. I thought of using a header file to keep these values aligned between the user space tool and u-boot. This header is provided by a library.  Including it into the user space tool is straight forward, but into u-boot does seem complicated, as the build system is not meant to include external libraries. Is there a preferred way to do this kind of alignment or a suggestion on how to handle this?
>
> Best regards
> Johannes

How about writing it into the linux device-tree. 'bootstage' does this in the same way if I remember correctly.



More information about the U-Boot mailing list