From: Wolfgang Denk Date: Mon, 08 Sep 2014 22:30:20 +0200 Subject: [U-Boot] how to pass ubott version to kernel In-Reply-To: <1410205208.86586.YahooMailNeo@web171306.mail.ir2.yahoo.com> References: <1410205208.86586.YahooMailNeo@web171306.mail.ir2.yahoo.com> Message-ID: <20140908203020.2793F38230D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.