[U-Boot-Users] U-Boot version string in kernel/userspace

Timur Tabi timur at freescale.com
Mon Jan 21 22:59:00 CET 2008


Gregoire Banderet wrote:
> Hi,
> 
> Waht's the best way to get the U-Boot version string (the one returned 
> by U-Boot cmd "version") from userspace?
> Arg passed to the kernel?
> U-Boot env variables and use fw_getenv?

U-Boot disappears when the kernel loads, so the only cross-platform option is to 
pass a command-line parameter to the kernel.  Such a change would probably not 
be accepted into the mainline, however.

-- 
Timur Tabi
Linux kernel developer at Freescale




More information about the U-Boot mailing list