From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 06 Jan 2025 10:20:06 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tUjHJ-00HQjQ-2N for lore@lore.pengutronix.de; Mon, 06 Jan 2025 10:20:06 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUjHJ-0004Hl-La for lore@pengutronix.de; Mon, 06 Jan 2025 10:20:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GvmoghcayyO1oGjhLrtPR9gBpS5irs99ad51laZt9Aw=; b=DLEs9Kevmw/b4tDKg9wu6jsZqj uaYkvmyTM/3exWxA4iiFuz3LKxBKNDkmB6P0jzXzXpqWFKhmXwMvQm1W0wpk5iCpzaQwKvRALPttd aqmEooFBkBN1rnRxF8+tZ2efuP8giDLesDa5dCJnGga2cfLTtJ3ltCAc+iucDYjEKXbSedAvjWEQg JusHX4NrBvsPZbGrbFsC5QsVwb8nG9TxyIGvHatmDmNEHvLCnIzv/50GJbuvLjfXJ6l8PhPbBoT3y l2WrdsmIK5i7Fwuu6NZUoPqEihFntO5gkprzL9EI+bPPwyJp2t+/IMAiRGe1QtSC4nhFjHeVBd7kW bq1h5vDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tUjGu-00000000edP-27jZ; Mon, 06 Jan 2025 09:19:40 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tUjGs-00000000ebL-02La for barebox@lists.infradead.org; Mon, 06 Jan 2025 09:19:39 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUjGq-0003uC-Il; Mon, 06 Jan 2025 10:19:36 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tUjGp-0078rH-1B; Mon, 06 Jan 2025 10:19:36 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tUjGq-00EPmw-09; Mon, 06 Jan 2025 10:19:36 +0100 From: Ahmad Fatoum To: barebox@lists.infradead.org Cc: Ahmad Fatoum Date: Mon, 6 Jan 2025 10:19:35 +0100 Message-Id: <20250106091935.3435710-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250106_011938_044926_B321FF13 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH] images: rename k3-am625-beagleplay extension from fit to itb X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) In preparation for generating FIT images without an input ITS (what mkimage calls automatic mode), let's rename the existing .fit extension to .itb, so .fit is usable for images that have no its. Signed-off-by: Ahmad Fatoum --- images/.gitignore | 1 + images/Makefile | 8 ++++---- images/Makefile.k3 | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/images/.gitignore b/images/.gitignore index 6f8067554671..ec31293766e4 100644 --- a/images/.gitignore +++ b/images/.gitignore @@ -37,5 +37,6 @@ barebox.sum *.swapped *.rkimg *.imx9img +*.itb *.fit *.missing-firmware diff --git a/images/Makefile b/images/Makefile index a74aa6023e73..e0e3e5c537cc 100644 --- a/images/Makefile +++ b/images/Makefile @@ -114,14 +114,14 @@ $(obj)/%.pblb: $(obj)/%.pbl FORCE $(obj)/%.s: $(obj)/% FORCE $(call if_changed,disasm) -quiet_cmd_fit = FIT $@ -cmd_fit = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) \ +quiet_cmd_itb = FIT.ITS $@ +cmd_itb = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) \ -D'$(subst -,_,$(*F))_dts=1' $(foreach f,$< $(2),-include '$(f)') /dev/null ; \ mkimage -f $(dtc-tmp) $@ -E \ cat $(depfile).pre $(depfile).dtc > $(depfile) -$(obj)/%.fit: $(obj)/%.its FORCE - $(call if_changed,fit) +$(obj)/%.itb: $(obj)/%.its FORCE + $(call if_changed,itb) $(obj)/piggy.o: $(obj)/barebox.z FORCE diff --git a/images/Makefile.k3 b/images/Makefile.k3 index f7acd7801431..7988defe79b8 100644 --- a/images/Makefile.k3 +++ b/images/Makefile.k3 @@ -7,7 +7,7 @@ pblb-$(CONFIG_MACH_BEAGLEPLAY) += start_beagleplay FILE_barebox-beagleplay.img = start_beagleplay.pblb image-$(CONFIG_MACH_BEAGLEPLAY) += barebox-beagleplay.img -$(obj)/k3-am625-beagleplay.fit: $(obj)/barebox-beagleplay.img -FILE_barebox-beagleplay-fit.img = k3-am625-beagleplay.fit +$(obj)/k3-am625-beagleplay.itb: $(obj)/barebox-beagleplay.img +FILE_barebox-beagleplay-fit.img = k3-am625-beagleplay.itb image-$(CONFIG_MACH_BEAGLEPLAY) += barebox-beagleplay-fit.img -- 2.39.5