Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2898879lqo; Mon, 20 May 2024 23:52:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWM6cHb83wDUtgJoWakAiZ1KDIn54YBcfERCHJpKr8zADi5v8dKNBwr+1UCCS2OKTMWb5ocF+qR8kb90jbteaYH9SDriZWJfVbqNhQsxw== X-Google-Smtp-Source: AGHT+IHozTGHFL4EPdt2TCRQtS3pPRkhAYBTuQwk9DHyQLSZgMrDhaB3SD3BJhtF14lKZDcYGcLa X-Received: by 2002:a17:903:2641:b0:1e7:e7ed:777e with SMTP id d9443c01a7336-1ef43d17bd0mr244739705ad.20.1716274335161; Mon, 20 May 2024 23:52:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716274335; cv=pass; d=google.com; s=arc-20160816; b=StnFS3rwwfQ7P5NZ4YkLZOkQZvqs98ChkTZOwkFp24ById1q4iKJ/FL0yI76bIqIxQ KNIy0vRiHyMRjvyYEiyLNXTrIcxDs+3HkpVR/v8C6owPs3qwZ4WBLFGQMubC4QYJSTr1 6N393axmKPvevbN8HmXue8cdd57UVXWcRGSlWcEQPogWeiXxp8TL5W8gnpwQpOzUQw4S uD9clPFM0hPFF0UNMxLRmCveP86kmTUwDMCshj4Q2FrVw+uAdpTtBCEouc9pOxfXB7lu 1f1RYijajUo/hekqW3xtCUUbkCwVYjypsa0RgzNH6Jio+Uecgy4zeETvqtUGDbxfZoiL vPZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+6svnync0RfC0DOTaEmb8czwD+Bve7L6N10o2QQ8WLQ=; fh=0xLIKe4cFKotaQm8UvJa9gIkypIAI7ABaCjg/h/jqDY=; b=OCbHy0c+BBnuDTBg7pf32GVU2ixb8IvvUyjytH1KUvYoGL1bh6RhPgt4II5ySzpzKY dNHa+M+d2KAp+YN2ktXfEAdA3Ay3o4Aqfk6TpaD3itPZVYqAfOOmGQLS7IXmasj5hqOV QvgatUB1xuvbQZb8H+jahWUr28x7bye5PgUorCBDgDYtU94oyBjO4eHrqcNBMp8lsWRl 84i6pfw3bqNeQPgStp2TuTCd04hBYzWqi/68qVADBBXLq48yaL/BJtV6RRTdufeD/4O7 YhncoFtpL4RncOJWiqXRWOtgeyFx8w6/b6UIZEy2dgxPsNGQyFrUp2DZILiAac7AjOLa uWtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=famkuEae; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-184533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f30b1979f2si12948235ad.12.2024.05.20.23.52.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 23:52:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=famkuEae; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-184533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 446B3B2195E for ; Tue, 21 May 2024 06:51:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5269B4F88A; Tue, 21 May 2024 06:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="famkuEae" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12AA347A76 for ; Tue, 21 May 2024 06:51:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716274276; cv=none; b=JoJ/MTwgJtbR/9Rm/kKtvqTiR8CvqXnkL9SxR4m3U1Bhmwgf1Z48lsRw6g/R2taGAs51EVXA57OK7noZxxOWO14FsnCPlpokNDLFtpEKHHlbJwCboIHuLAJEesvbnheDqEap2yssJz+t36ctHA0NfpflYm8TUkK+fPu8S+sR36Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716274276; c=relaxed/simple; bh=FPAN5JneroMF+17jT/HJqgQ12pCIyCdlzPvjpoqycpc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GHm9tUh8JLvel6ZFncjvrKnRQVcBkc6rQaAERBRCyYRMheBklWhfqPd4VqTAcrIzg7TqO6kCPVqBR9iAMML15MmjDsPHUL6xeyaIOchYZNxA/714hdQq/5rmebS5MFBWOgZZGhOxzu34lxjzgrrlEzZpetv7gtWfk91sYQEmh30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=famkuEae; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1ed96772f92so96570595ad.0 for ; Mon, 20 May 2024 23:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1716274274; x=1716879074; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+6svnync0RfC0DOTaEmb8czwD+Bve7L6N10o2QQ8WLQ=; b=famkuEae7iOT3yjztIAyhrPElIPyxrF7YXH9vPyYbGfXYGe7/7tTx395UXYNcc/XP+ CfL1rIn7ReDxIPNvmP3tC1XY9MxE4P567f+VBf2BfRhEEXLtwphFeGKY1Zz8DvAUdphg sird7fsq8jevwWCruytlEmZfb8qkLGtaTmCr8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716274274; x=1716879074; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+6svnync0RfC0DOTaEmb8czwD+Bve7L6N10o2QQ8WLQ=; b=wq2EZbuDoPcfXICuO2nLnzd3EhH6fYiWXPoYG/DveArMqb8dST7RYM7KylAwst90H2 qmXBv0MoPuTo03NTYNZ95wMd14W+ojcQ/CW5ltoY0Hlz8GV15kMo0J35iaYnKRMAhI2N OYbz7PLCbx7JBNDGyTfQRPt4TD2sEh8yjfxqk/aFngRdC2byj2eLolohrHpL4kIMvTPW d530mdai+CV0xsNxPKvsblZFoym5Du0D+Mdw/PqXqrlYG8PX9Cd4RbSOMZyldX6ov3g4 8tN1TK10LpWewCQ/o1xF4+KdyfFo1yP+Wnus90jaifZM4hfc3hSwlnL4EYawDX/dpdQr WkHA== X-Forwarded-Encrypted: i=1; AJvYcCUB2a0XKiNr+LJHwGI2FDNt8Do1EiDVddtO7M5NYeFjiJYhH0LN/qw145fM+mzOG/nR3r4nvRMkqnp8O5SXyNEIml/n+rOOx0Y9vA3m X-Gm-Message-State: AOJu0YyZzNi7QGUH48q9SsOtxwQh/p9O939Y9Gqokz7P6Z1rf8lin0Kt qKaXxQ7s8U2/pgCuiR2M5tMOuh6HRYOLMwWGsYLeVGtsd0xi0rYTAkeJhzsIFw== X-Received: by 2002:a05:6a21:3391:b0:1af:59b9:e3ed with SMTP id adf61e73a8af0-1afde0a8d75mr33093129637.5.1716274274376; Mon, 20 May 2024 23:51:14 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:f8a5:77aa:5a0d:e30c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f30644ad48sm23100985ad.169.2024.05.20.23.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 23:51:13 -0700 (PDT) From: Chen-Yu Tsai To: Simon Glass , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 0/2] scripts/make_fit fix and disabled compression for DTBs Date: Tue, 21 May 2024 14:51:03 +0800 Message-ID: <20240521065107.30371-1-wenst@chromium.org> X-Mailer: git-send-email 2.45.0.215.g3402c0e53f-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. 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. 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