Hi Marc, On Thu, Dec 23, 2010 at 11:03:31AM +1100, Marc Reilly wrote: > I want to be able to determine what version of barebox I have on my NOR > flash, after booting into linux. [snip] > Does anybody else accomplish this in a better way? (I don't want to pass the > barebox version as an arg when booting the kernel - I'd rather it be more > "standalone"). I set the board revision number, using armlinux_set_revision(), to pass the version of the bootloader to the kernel, and then extract it from the 'Revision' field in /proc/cpuinfo. This solution is ARM specific, though. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@xxxxxxxxxx - tel: +972.2.679.5364, http://www.tkos.co.il - _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox