diff options
| author | Christian Riesch <christian.riesch@omicron.at> | 2011-12-09 09:47:39 +0000 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-24 10:23:30 +0100 | 
| commit | d36d8859846598f80c980f9bc916a342a0db4095 (patch) | |
| tree | 33759b8ebafc85d8a44d54caa47a7ad7f8d63979 | |
| parent | d1be8f922eb3ca51abc200e42af0498e81d5fa23 (diff) | |
| download | olio-uboot-2014.01-d36d8859846598f80c980f9bc916a342a0db4095.tar.xz olio-uboot-2014.01-d36d8859846598f80c980f9bc916a342a0db4095.zip | |
arm, davinci: Add support for generating AIS images to the Makefile
Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 13 | 
2 files changed, 14 insertions, 0 deletions
| diff --git a/.gitignore b/.gitignore index ff4bae008..e4e95e2d3 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@  /u-boot.dis  /u-boot.lds  /u-boot.ubl +/u-boot.ais  /u-boot.dtb  /u-boot.sb @@ -429,6 +429,18 @@ $(obj)u-boot.ubl:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin  		rm $(obj)u-boot-ubl.bin  		rm $(obj)spl/u-boot-spl-pad.bin +$(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin +		$(obj)tools/mkimage -s -n /dev/null -T aisimage \ +			-e $(CONFIG_SPL_TEXT_BASE) \ +			-d $(obj)spl/u-boot-spl.bin \ +			$(obj)spl/u-boot-spl.ais +		$(OBJCOPY) ${OBJCFLAGS} -I binary \ +			--pad-to=$(CONFIG_SPL_MAX_SIZE) -O binary \ +			$(obj)spl/u-boot-spl.ais $(obj)spl/u-boot-spl-pad.ais +		cat $(obj)spl/u-boot-spl-pad.ais $(obj)u-boot.bin > \ +			$(obj)u-boot.ais +		rm $(obj)spl/u-boot-spl{,-pad}.ais +  $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin  		elftosb -zdf imx28 -c $(TOPDIR)/board/$(BOARDDIR)/u-boot.bd \  			-o $(obj)u-boot.sb @@ -762,6 +774,7 @@ clobber:	tidy  	@rm -f $(obj)u-boot.kwb  	@rm -f $(obj)u-boot.imx  	@rm -f $(obj)u-boot.ubl +	@rm -f $(obj)u-boot.ais  	@rm -f $(obj)u-boot.dtb  	@rm -f $(obj)u-boot.sb  	@rm -f $(obj)tools/inca-swap-bytes |