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-...@weidmueller.com> Gesendet: Donnerstag, 2. Mai 2024 15:33 An: u-boot@lists.denx.de; Johannes Kirchmair - SKIDATA <johannes.kirchm...@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.