Re: [U-Boot-Users] U-Boot version string in kernel/userspace

2008-01-22 Thread Robert Schwebel
On Tue, Jan 22, 2008 at 02:47:48PM +0100, Wolfgang Denk wrote: > I agree that this may make sense on ARM systems - to me it would also > make sense to pass the MAC address as an ATAG. The problem is that > you will probably run into problems if youy try pushing such code > into the mainline

Re: [U-Boot-Users] U-Boot version string in kernel/userspace

2008-01-22 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > fw_getenv works fine for userspace programs. But I find it quite usefull > to forward U-Boot configuration parameters to Linux kernel space via > ATAGs, especially regarding different hardware versions and vice versa. > Accessing the data which has bee

Re: [U-Boot-Users] U-Boot version string in kernel/userspace

2008-01-22 Thread Andreas Schweigstill
Hello! Gregoire Banderet schrieb: > 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? fw_getenv works fine for userspace programs. But I find it quite usefull to

Re: [U-Boot-Users] U-Boot version string in kernel/userspace

2008-01-21 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > 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 cr

Re: [U-Boot-Users] U-Boot version string in kernel/userspace

2008-01-21 Thread Ben Warren
Hi Gregoire, On Jan 21, 2008 11:21 AM, Gregoire Banderet <[EMAIL PROTECTED]> 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? > ...? > Yeah, I'd g

Re: [U-Boot-Users] U-Boot version string in kernel/userspace

2008-01-21 Thread Timur Tabi
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