From: Lukas Funke <lukas.funke-oss@weidmueller.com>
To: u-boot@lists.denx.de,
Johannes Kirchmair - SKIDATA <Johannes.Kirchmair@skidata.com>
Subject: Re: Use header file from external library in u-boot
Date: Thu, 2 May 2024 15:32:33 +0200 [thread overview]
Message-ID: <59be86ee-1523-41e1-af79-5495f077f796@weidmueller.com> (raw)
In-Reply-To: <GVAP278MB0456BCDA64C66C434932AF388C182@GVAP278MB0456.CHEP278.PROD.OUTLOOK.COM>
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.
next prev parent reply other threads:[~2024-05-02 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-02 6:57 Use header file from external library in u-boot Johannes Kirchmair - SKIDATA
2024-05-02 13:24 ` Fabio Estevam
2024-05-02 13:32 ` Lukas Funke [this message]
2024-05-15 11:51 ` AW: " Johannes Kirchmair - SKIDATA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=59be86ee-1523-41e1-af79-5495f077f796@weidmueller.com \
--to=lukas.funke-oss@weidmueller.com \
--cc=Johannes.Kirchmair@skidata.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).