[U-Boot] [PATCH V3 3/3] mkimage: adding support for Davinci AIS image

Dirk Behme dirk.behme at googlemail.com
Sat Oct 29 18:51:01 CEST 2011


On 23.10.2011 23:08, Wolfgang Denk wrote:
> Dear Stefano Babic,
>
> In message<1318846063-9496-1-git-send-email-sbabic at denx.de>  you wrote:
>> Some Davinci processors supports the Application
>> Image Script (AIS) boot process. The patch adds the generation
>> of the AIS image inside the mkimage tool to make possible
>> to generate a bootable U-boot without external tools
>> (TI Davinci AIS Generator).
>>
>> Signed-off-by: Stefano Babic<sbabic at denx.de>
>> CC: Wolfgang Denk<wd at denx.de>
>> ---
>>
>> Changes since V2:
>> 	- rebased on mainline and sort uimage_type list (Wolfgang Denk)
>>
>> Changes since V1:
>> 	- removed warning in gcc 4.6 iwhen -Wunused-but-set-variable is set
>> 	- drop remained warnings raised by checkpatch
>>
>>
>>   common/image.c   |    9 +-
>>   include/image.h  |    1 +
>>   tools/Makefile   |    4 +-
>>   tools/aisimage.c |  451 ++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hmm, using recent git head this results in

aisimage.c: In function ‘aisimage_generate’: 

aisimage.c:365: warning: ‘tsize’ may be used uninitialized in this 
function

for each board I build :(

E.g.

Configuring for omap3_evm board...
aisimage.c: In function ‘aisimage_generate’:
aisimage.c:365: warning: ‘tsize’ may be used uninitialized in this 
function
    text    data     bss     dec     hex filename
  256063    7512  259120  522695   7f9c7 ./u-boot

Dirk



More information about the U-Boot mailing list