All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] how to pass ubott version to kernel
@ 2014-09-08 19:40 tony moseby
  2014-09-08 20:30 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: tony moseby @ 2014-09-08 19:40 UTC (permalink / raw)
  To: u-boot

Hello,

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.
Thanks for your help
BR/T

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] how to pass ubott version to kernel
  2014-09-08 19:40 [U-Boot] how to pass ubott version to kernel tony moseby
@ 2014-09-08 20:30 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2014-09-08 20:30 UTC (permalink / raw)
  To: u-boot

Dear Tony,

In message <1410205208.86586.YahooMailNeo@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-08 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-08 19:40 [U-Boot] how to pass ubott version to kernel tony moseby
2014-09-08 20:30 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.