Hi Johannes, On Thu, May 2, 2024 at 10:18 AM Johannes Kirchmair - SKIDATA <johannes.kirchm...@skidata.com> 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?
Would libubootenv work for you? https://github.com/sbabic/libubootenv