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.