Use header file from external library in u-boot

Fabio Estevam festevam at gmail.com
Thu May 2 15:24:58 CEST 2024


Hi Johannes,

On Thu, May 2, 2024 at 10:18 AM Johannes Kirchmair - SKIDATA
<Johannes.Kirchmair at 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


More information about the U-Boot mailing list