On Fri, Jun 24, 2011 at 08:18, Wolfgang Denk wrote: >> --- a/arch/powerpc/cpu/74xx_7xx/start.S >> +++ b/arch/powerpc/cpu/74xx_7xx/start.S > ... >> .text >> .long 0x27051956 /* U-Boot Magic Number */ >> - .globl version_string >> -version_string: >> - .ascii U_BOOT_VERSION >> - .ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" >> - .ascii CONFIG_IDENT_STRING, "\0" > > On PowerPC systems, the core is carefully consructed such that the > U-Boot image starts with the magic number, followed immediately by > the version string. That means, you can trivially identify any binary > image, be it as file on the host or on the target, or programmed into > flash, but just dumping the first bytes of it, for example:
cant you do this with a linker script update ? -mike _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot