[U-Boot] [PATCH 01/12] kbuild, mxs: use short logs for MXS images

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Mar 13 03:32:37 CET 2014


Hello Marek,


> > > b5d5feab4a6974fe00272d3a3408300d8c8a473d  u-boot.bin
> > > 
> > > Given that u-boot.bin and spl/u-boot-spl.bin are packed into u-boot.sb ,
> > > this is why you always see a different u-boot.sb .
> > 
> > For other boot images, binary compare matched except a few bytes
> > difference which comes from time stamp.
> > 
> > But, when  I compared u-boot.sb
> > I had much more diffs than I expect for the difference of timestamp.
> > 
> > I still cannot understand what is different from the others.
> 
> Ah, right. The u-boot.sb is also encrypted with aes-128-cbc with zero key. The 
> bootrom on mx23/mx28 has the encryption enabled by default (and it can be fused 
> off), with the default key being all zeroes. That's why you see so many 
> differences.

That makes sense.  :-)


> Yes, I see. We shall eventually rename it to mkimage throughout the code.
> 
> How shall we proceed? I see we have three options:
> - Post V2 of this patch
> - Fix the rest of the files which have this 'UIMAGE' in them and then post V2
> - Postpone the fix and then do it globally
> 
> I would be in favor of the second option.

This patch is already on u-boot/master.

Can you post a follow-up patch?

I think you will have to modify 7 files.

./Makefile:731:quiet_cmd_mkimage = UIMAGE  $@
./arch/arm/imx-common/Makefile:35:quiet_cmd_mkimage = UIMAGE  $@
./arch/arm/cpu/arm926ejs/mxs/Makefile:20:quiet_cmd_mkimage_mxs = UIMAGE  $@
./spl/Makefile:174:quiet_cmd_mkimage = UIMAGE  $@
./board/cray/L1/Makefile:18:quiet_cmd_mkimage = UIMAGE  $@
./board/matrix_vision/mvsmr/Makefile:15:quiet_cmd_mkimage = UIMAGE  $@
./board/matrix_vision/mvblm7/Makefile:11:quiet_cmd_mkimage = UIMAGE  $@



Best Regards
Masahiro Yamada



More information about the U-Boot mailing list