Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp332913lqp; Wed, 22 May 2024 06:09:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoOt/8J9NnSoRj7K5IqP+xpZC30i/mJnyuVTmMRVzi6N9Bus5JboqUpj3zIlMjrtyYH+1xccgD/LPCcNeaCJQo7YJsv7CfWR+czYr2uA== X-Google-Smtp-Source: AGHT+IG86Vw2H4ezLQdz/PAB4s3jLwqfYoNuziPv1rhOfMr0S2z7ZNOzHxBTSn3QaW3QbVPv41yt X-Received: by 2002:a50:9301:0:b0:573:1e9e:bb54 with SMTP id 4fb4d7f45d1cf-578329ec5a5mr1249174a12.8.1716383388040; Wed, 22 May 2024 06:09:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716383388; cv=pass; d=google.com; s=arc-20160816; b=OsHmwyrWwu6ROX3DFQ1eRZ0D4sV9O9MHv/9+VPeH1TXAy7N8naCowHnPXpPI4ug4wo LXzJP3HBoehbxCXSIerMDoEDw2ZNFLPdPJJ7kzrUpnEgFaAWTa1S9ZXdcqUlCFU1xdrH OaQKBN3DU0tHKdMHvl6fpbCIxayy9mtd9R3f6iL0xfeU6+8hhyc+mbqSAnvefY2AU9pa u12BHyTCVvE131Ds8N+l0VXRDWaGzMs7frxvjSuJmpbXVW1tutxz4P3p3Sd8Cw3t+3IK 87L9BWwSG16k4y2c6sR7k6tZspCDh5qHRg4vXfQ/grYZ3bnzzBpY9RZCCzyrhmTQNlEU uUxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Dk1bXJGf6LPDQeBLNxAaKX3qCOCW5NEwT6bvOGe5M3c=; fh=rx5J39YQ2VwXcRVYvYsXz69ygTKjIZ0M+N1b616rrC4=; b=I+rivlSIn9c0UD5GOE/F6ChDdpy4ilTwGxX1DM//u5IdzpsPp1ToJMojkOLbr3F0ls omlrme0AyphFGaOBDsBiMEw4U5VEmxFUNMcRWiII+JQ7KR+C7ERRJxUPnmjGPpGojiVj HXb6S7WmO1vtNT4JAqbjxUWvA+XTYLtE67hAvHdz3lP+SgP3GKbf7BefM88y1ipmDVGQ fclRsWwvk5zTkmC6xKtjjF+3DVqG6Pl4EGGVP0Epico9WYDc+wxVeGj6Evcwg6jo7DHD EdSkT01JZ+SAcmuwyaOieGRrFt7nsxqvUj/+3+0vj+VfcnyRKkFvb8HY7eRQvENtSjYp WhVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=poDW0loZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d5e37si15784088a12.234.2024.05.22.06.09.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 06:09:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=poDW0loZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 807051F24A10 for ; Wed, 22 May 2024 13:09:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F255213DDB9; Wed, 22 May 2024 13:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="poDW0loZ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1F21913D61B; Wed, 22 May 2024 13:09:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716383366; cv=none; b=VXD5MJTJpe62DVvJvjr7XmtBbOmvnIjONpzv7jLK4xLHN+YoTMhvmz2Hc9qmrjNnMlhHpE2lmYXz5esNy42yM2vkIk+vIpul7S/P/MMHJd0bMDgmZHkumFPKjefkCPzD7aGyigJgEKlOAT3Pc2ycvWnLmzQ4t66qbuV6wTIRVpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716383366; c=relaxed/simple; bh=Kv5+WnTaVJBD6IREHmnDXA3uTTWYRvbi1jR7Z1Q9Brk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=DxiZ3FP0AKf1xPge+S81qGK0v+97jIiFo1twa25FdMgnzPVdl2Uaw2uga68AJgjrJ0Z4J/DAJ/mDggxCbxNg6/MF+ACmNWNZnVYtQX3datJHKp51cRhN6117qptmUSZNww24iszWOeAfURyrdCrHxpaoySedc7ZE66gjYohiPeg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=poDW0loZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C42B5C4AF07; Wed, 22 May 2024 13:09:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716383365; bh=Kv5+WnTaVJBD6IREHmnDXA3uTTWYRvbi1jR7Z1Q9Brk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=poDW0loZeq0Y6t5QLZ1PjgH9v3JwxiaY5ZpielpyoNngiIjx2V7Mb1ZLrb4Q6N3x2 RxDQ/Yj6+f9l2d+ot+xWjxUoLN7GO8RwGgrNP5X+84bXAjkUJNov4T6vSCXAk5H0GW PxkNmN3MNXCITPpR5gj5ayEHAbpxqDh3fSVJaQjVYZsVWblRQmsJJfOWbUWXu9FIwA mj/2mLrIRWNfP6kjBbks8BrcA5m5E4og1houhBgmXpmxULsOpEK+Ha+DQR63L29G1D UrCT+XqF3JdDI894eij7Xy3iXhJLFIHju5Q2pxDEAzxG70PX+pgHlU/JqVO6GPfqhR rU7ktbZ2X40IQ== Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-52232d0e5ceso6660311e87.0; Wed, 22 May 2024 06:09:25 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVGXnr38RzBmhsdzV1ddoj9PFRezx67GJh8uichxyj+qTyyI/nLeQFNWW05XdtPA9jixQ7+8rEkfTAlDW9n2F3k62/RulSnVEzI3FFlR77gxllD4NQTFENzriJhCR81rD2Xv3eCJ4rExJ4D X-Gm-Message-State: AOJu0YwTNbO4wZCGKlWNGQKbDJjpF/yx7Q+w87PjgRhna0Xl+lqhXAvC JxZkUb0GRd5MyMpY5rg1l+LHKH9xl2auWyGXQnY2BvuzU65N/B834q+ZLDBuSzYX5KPOGfr5l6d OG57tNUQlQznIXojnPREbxXqGnno= X-Received: by 2002:ac2:5e85:0:b0:51f:d72:cd2d with SMTP id 2adb3069b0e04-526bf35cb2amr1185340e87.22.1716383364324; Wed, 22 May 2024 06:09:24 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240521065107.30371-1-wenst@chromium.org> In-Reply-To: <20240521065107.30371-1-wenst@chromium.org> From: Masahiro Yamada Date: Wed, 22 May 2024 22:08:47 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] scripts/make_fit fix and disabled compression for DTBs To: Chen-Yu Tsai Cc: Simon Glass , Nathan Chancellor , Nicolas Schier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 21, 2024 at 3:51=E2=80=AFPM Chen-Yu Tsai w= rote: > > Hi folks, > > Here are a couple changes for the FIT image packing script. While > unreleated, they are sent together because the change context overlaps. > > The first patch drops the compatible string property from the fdt image > nodes. According to the FIT image spec, the compatible string in the > (fdt/kernel) image node is used to specify special loading mechanisms, > and is _not_ for identifying the DTB. This makes sense. > The second patch adds an option that disables compression for _just_ the > included DTBs. This is needed for RK3399 and MT8173 based Chromebooks, > whose firmware does not support decompressing DTBs, but does need kernel > image compression to fit the image within their relatively small image > size of 32 MiB. Any platform that wants to use scripts/make_fit.py must implement decompression of DTBs. (or does not compress anything) Otherwise, RK3399 and MT8173 cannot use this script. I will not add any weird knob to it. > > Please take a look. > > > Thanks > ChenYu > > > Chen-Yu Tsai (2): > scripts/make_fit: Drop fdt image entry compatible string > scripts/make_fit: Add option to disable compression for DTBs > > scripts/Makefile.lib | 1 + > scripts/make_fit.py | 14 +++++++++++--- > 2 files changed, 12 insertions(+), 3 deletions(-) > > -- > 2.45.0.215.g3402c0e53f-goog > > --=20 Best Regards Masahiro Yamada