mkimxboot: add a switch to force version
commit42a725f7ecd1e6779d24f1a66eb13652de467de9
authorAmaury Pouly <amaury.pouly@gmail.com>
Tue, 29 Jan 2013 11:50:46 +0000 (29 11:50 +0000)
committerAmaury Pouly <amaury.pouly@gmail.com>
Tue, 29 Jan 2013 11:53:07 +0000 (29 11:53 +0000)
tree1727364077a26e2e77b1ac78a2160508c2c88395
parentd73c20933b5a7428c8f30442a6e0b90b34ece291
mkimxboot: add a switch to force version

Add a switch to override the product and component version of the
sb file. This can usually for target like the Zen X-Fi2 where the
upader allows to drop any file named firmware.sb and prints the
version: by using a funky version the users can check they got it
right. This should not be used on the fuze+ or zenxfi3 because the
OF prevents downgrade.
Also make rbutil always zero out the option structure passed to
mkimxboot, this has already created bugs in the past.

Change-Id: I175c5def52c40c2132e11300e2f037d60a4f040e
rbutil/mkimxboot/main.c
rbutil/mkimxboot/mkimxboot.c
rbutil/mkimxboot/mkimxboot.h
rbutil/rbutilqt/base/bootloaderinstallimx.cpp