From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 21 Jan 2008 15:59:00 -0600 Subject: [U-Boot-Users] U-Boot version string in kernel/userspace In-Reply-To: <4794C6A6.8000401@ge.com> References: <4794C6A6.8000401@ge.com> Message-ID: <479515A4.3080103@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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