[U-Boot] Loop Variable through to user space

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Feb 3 23:27:19 CET 2015


Hello André,

On Tue, 03 Feb 2015 13:57:28 +0100, André Schaller
<an.schall at googlemail.com> wrote:
> Hi all,
> 
> during the execution of th MLO I create a variable, whose value I want
> to make accessible to user space applications in Android. How can this
> be achieved?
> 
> One way would be to write the contents of the variable to external
> memory and let it read by the user space process. However, I would need
> to make sure that during boot no other process is overwriting the address.
> 
> Do you know of any other ways?

Kind of a hack, but maybe you could pass the value somehow through the
kernel boot parameters? I assume that a meaningless parameter does not
affect the kernel but can still be parsed from /proc/cmdline.

> Best,
> André

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list