[U-Boot] how to pass ubott version to kernel
Wolfgang Denk
wd at denx.de
Mon Sep 8 22:30:20 CEST 2014
Dear Tony,
In message <1410205208.86586.YahooMailNeo at web171306.mail.ir2.yahoo.com> you wrote:
>
> Anyone knows how can I pass a string (uboot ver) to the kernel,
> so that will be possibel
> to print it when boot is ready.I have FreeBSD
> 8.2 on a arm cpu.
I don't know about *BSD, but in Linux the simpest way is to pass that
string as part of the boot arguments, like:
setenv bootargs "$bootargs u_boot_version=$vers"
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The high cost of living hasn't affected its popularity.
More information about the U-Boot
mailing list