how to pass ubott version to kernel
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
Dear Tony,
Quoted 5 lines · In message <[email protected]> you…
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
Signature · 4 lines
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.