Re: Export firmware information to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Carlo Caione <carlo.caione@xxxxxxxxx> writes:
> this problem came up while I was trying to solve the problem: how do I
> query the U-Boot version from userspace on an ARM platform so that I
> can upgrade it when necessary.
>
> One possible solution (adopted also from ChromeOS IIRC) is basically to
> export the firmware information into the DT. I think that this could be
> a nice and elegant solution (the firmware itself is in charge to add
> the information to the DTB before passing it down to the kernel).
>
> Is this allowed by the DT specs? Is there already any bindings around
> to carry this kind of information?
>
> (Or maybe is there some other elegant solution already in place for
> this exact problem)

For OpenPOWER systems, we have some device tree bindings for an
'ibm,firmware-versions' node that lists firmware components and the
versions of which we believe we booted with.

If other platforms are interested in a consistent binding, I'd be happy
to work with others on it, it'd probably make sense to have something
consistent across platforms.

-- 
Stewart Smith
OPAL Architect, IBM.

--
To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux