From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WjkJz-0004Hx-Af for barebox@lists.infradead.org; Mon, 12 May 2014 07:06:48 +0000 Received: from tellur.localdomain (p4FE65757.dip0.t-ipconnect.de [79.230.87.87]) by lynxeye.de (Postfix) with ESMTPA id D777618B4275 for ; Mon, 12 May 2014 09:05:03 +0200 (CEST) From: Lucas Stach Date: Mon, 12 May 2014 09:08:00 +0200 Message-Id: <1399878486-16086-20-git-send-email-dev@lynxeye.de> In-Reply-To: <1399878486-16086-1-git-send-email-dev@lynxeye.de> References: <1399878486-16086-1-git-send-email-dev@lynxeye.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 19/25] images: add Tegra20 image build rules To: barebox@lists.infradead.org Allows to build persistent images for the Tegra20 line of SoCs. Signed-off-by: Lucas Stach --- images/.gitignore | 2 ++ images/Makefile | 2 +- images/Makefile.tegra | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/images/.gitignore b/images/.gitignore index 1f601e7..5f6f0b2 100644 --- a/images/.gitignore +++ b/images/.gitignore @@ -8,6 +8,8 @@ *.kwbimg *.kwbuartimg *.socfpgaimg +*.t20img +*.t20img.cfg pbl.lds barebox.x barebox.z diff --git a/images/Makefile b/images/Makefile index 5509a4c..1ad7dac 100644 --- a/images/Makefile +++ b/images/Makefile @@ -117,5 +117,5 @@ images: $(addprefix $(obj)/, $(image-y)) FORCE @for i in $(image-y); do echo $$i; done clean-files := *.pbl *.pblb *.pblx *.map start_*.imximg *.img barebox.z start_*.kwbimg \ - start_*.kwbuartimg *.socfpgaimg *.mlo + start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg clean-files += pbl.lds diff --git a/images/Makefile.tegra b/images/Makefile.tegra index c957599..6c9a705 100644 --- a/images/Makefile.tegra +++ b/images/Makefile.tegra @@ -1,6 +1,14 @@ # # barebox image generation Makefile for Tegra images # +quiet_cmd_tegra20_image = T20IMG $@ + cmd_tegra20_image = echo "Version = 0x00020001;Bctcopy = 1; \ + Bctfile = $(BCT_$(@F)); \ + BootLoader = $(subst .t20img,,$@),0x00108000,0x00108000,Complete;" \ + > $@.cfg; \ + $(objtree)/scripts/tegra/cbootimage -s tegra20 $@.cfg $@ +$(obj)/%.t20img: $(obj)/% FORCE + $(call if_changed,tegra20_image) board = $(srctree)/arch/$(ARCH)/boards -- 1.9.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox