From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE98B19DF44 for ; Tue, 7 Jan 2025 23:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736290865; cv=none; b=iqLzNrXWdCyJcS1CdCLhPQEOPKZsOQywtbo5eTaMMO0WiHKutvKb7MXrOdmocwlQ5d4zUp4wNbzYn9SzxoQhsjBjJ27taEVzmm4zA4tLnUgDCoNeUlPX1V512tl+5NfmKveFtLhpkJlaxoCAp5DqEUrT4TooPBkbKRYUdexjU5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736290865; c=relaxed/simple; bh=ql/VMdwMNYI4OeumrsAV90Qo71dCO+1E5E929QhrV7k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Rhw83330VgtbfvvVu2RFUsMyCte0A1rJoyYR2/imo/7ODPchZOr4TY1KCueOK+4/sZ3R11q9CyG66BxSCb7Z3lFPy3RJhFsTfhhJ6ZF6bxyjiORa/bAYcyrthkmG9EbFgGivhzTJpxnMbF3zM2IjZqt7lGzcD5Orq2jvm53ceFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net; spf=pass smtp.mailfrom=posteo.net; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b=mbWNCIVd; arc=none smtp.client-ip=185.67.36.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="mbWNCIVd" Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 18F9E240103 for ; Wed, 8 Jan 2025 00:01:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1736290862; bh=ql/VMdwMNYI4OeumrsAV90Qo71dCO+1E5E929QhrV7k=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:From; b=mbWNCIVdf7W+//FaBBJw39+KdLxo8Ymi1tmmHyuWehn4vslPFgfne7mpg1whR72PD llWhC6BbH/deWJdqfA6e+SG4aDXmdcZJkzlwpphJTQTwvyeeOXl8wbrvLU1HkJyNN/ 8EueOmBSdQo80mgCftPBtHHT/RhmTuBEZanwkkUuslRwoTsA2VlwFNqkBIcQ5SUzis y1RZgrOp486x8oa3jO4y8By5oaUanR/z00O0Vvgm3dSiPwrCiFB2BxRfhJK6sy1d9O OYNZgW3SMFXsXF7OaNQQwgMH6YLiUCZ1YZXPMZnDEAWSEUZkxuSBP9JsQkY8OAO10i 2gHisC6RFjO8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YSRNp409yz9rxP; Wed, 8 Jan 2025 00:00:58 +0100 (CET) Date: Tue, 7 Jan 2025 23:00:58 +0000 From: =?utf-8?Q?J=2E_Neusch=C3=A4fer?= To: Christophe Leroy Cc: j.ne@posteo.net, Michael Ellerman , Nicholas Piggin , Naveen N Rao , Madhavan Srinivasan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski , Frank Li , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH 08/19] powerpc: boot: Enable FIT image generation Message-ID: References: <20250102-mpc83xx-v1-0-86f78ba2a7af@posteo.net> <20250102-mpc83xx-v1-8-86f78ba2a7af@posteo.net> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Jan 06, 2025 at 02:52:59PM +0100, Christophe Leroy wrote: > > > Le 02/01/2025 à 19:31, J. Neuschäfer via B4 Relay a écrit : > > [Vous ne recevez pas souvent de courriers de devnull+j.ne.posteo.net@kernel.org. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] > > > > From: "J. Neuschäfer" > > > > The Flat Image Tree (FIT) format combines a kernel, a set of > > devicetrees, and optionally additional resources into a single file that > > can be loaded by a bootloader such as U-Boot. Generating a FIT image as > > part of the kernel build reduces the need for additional build scripts, > > and produces a single boot image without falling back to one of the > > many legacy methods implemented in arch/powerpc/boot/Makefile, which > > would require additional changes for arch/powerpc/boot for each board. > > Will that allow compressed vmlinux ? Yes, the make_fit.py script can compress included data (kernel, dtb), and the logic in scripts/Makefile.lib makes use of this feature. By default, gzip is used: # Use this to override the compression algorithm FIT_COMPRESSION ?= gzip quiet_cmd_fit = FIT $@ cmd_fit = $(MAKE_FIT) -o $@ --arch $(UIMAGE_ARCH) --os linux \ --name '$(UIMAGE_NAME)' \ $(if $(findstring 1,$(KBUILD_VERBOSE)),-v) \ $(if $(FIT_DECOMPOSE_DTBS),--decompose-dtbs) \ --compress $(FIT_COMPRESSION) -k $< @$(word 2,$^) Best regards, J. Neuschäfer