Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp63232rdb; Tue, 31 Oct 2023 00:04:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGF6VEk8/N2OPHi3coaWvzGdlLJZM5Nes7Wt4WfSxuIOSLrUJd2YYNQq9UZW+DB2v1rwWja X-Received: by 2002:a17:90b:f06:b0:27d:694f:195d with SMTP id br6-20020a17090b0f0600b0027d694f195dmr10909027pjb.6.1698735850081; Tue, 31 Oct 2023 00:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698735850; cv=none; d=google.com; s=arc-20160816; b=jElzzdTmFEeLz5G/Mi6IxAT/RZgPwYM5YgtXgo7ZQ5GnGHRq5PzCNAsa69NGrBvYng k6ZYkd7BwJlY7iJtzv/pJoySWZrQSKf7QYrlki4lknouRlSNX68prBVeVoBqxUyF77ix pFB2PQybj4t+IJpNaT0Ex53WW0EPDeZggCXeO14xp6P0HThiE8G59DcNv/I5qJ2KDLE3 84xccd74xtB9VUomXxGXuNYk7fvRVY6AlyHDPZzD7NMlxtHcN8a/1BVT5rId3wblSsVR QLG/LCwsTyYEoU24B6hn/ZO9fAgKmi5xr7/pXP9zHSa7ESN5rkiB6wahVSpG+deUTram 3/Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KOt/6Bh0881X6hZfLd45iFiPDRPO/IaJmQQYpuDVKI0=; fh=H+skK6l+U3CDJNwWLRRxd+zS4g16fe0FBEveehrTe+M=; b=ITKY3twM2pUqhryfwj2Cct2LTNZ5FFFidv1sVW12cIc6XVgkOI5yvZ2wXFXaZBSdcq c8ZrQa+hRX6C4G6buFk0LUTOziwFwqavMCD0nFq69VRY7q712u+PBayvMTArLCxBPfX9 xZHHoazbUfS6rGhH3ZAlsZ6mvSByogk+N2y+FjN9Foo4xjtsQ2dvKhg3pMVMQA2b5745 FGCzmrWpDv6USJFq1157xRwQ5Q/KhTg/AlIFExr9MF9gS7m0lWm5RJOxPTAe4ntqsY/j 4WDKWO3kyAEGe9zjbHVseEaHFSwX95LaLyhJZO0KyLYMIvJRqJbakkpBPOfn0L4D9eoK sGBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qH3NrNOh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id lj5-20020a17090b344500b0027d4f7298e2si548383pjb.65.2023.10.31.00.04.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 00:04:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qH3NrNOh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0FB29803D5B5; Tue, 31 Oct 2023 00:04:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343522AbjJaHEA (ORCPT + 99 others); Tue, 31 Oct 2023 03:04:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343508AbjJaHD7 (ORCPT ); Tue, 31 Oct 2023 03:03:59 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19C92DE; Tue, 31 Oct 2023 00:03:56 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96B36C433CC; Tue, 31 Oct 2023 07:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698735835; bh=KOt/6Bh0881X6hZfLd45iFiPDRPO/IaJmQQYpuDVKI0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qH3NrNOh96Z0KT5JpxiiCbHuAKKZVgpNG+8L6k+NNrguvROADqrZbB3itVpz1X+gp iczt8jT1rGDuxzIbPidyppB7NqyIfAYSeIvPvXWeBhU+FKNaBkv2NQptJh03VACA+7 /pJE+B8r5lS2s37CL/BTD5WvLJygnBbd3hzU8KiqSepB4kzV9rL+5NfCwsWvnHL+Fq LS+R6gN5Bhg9Ll01u2O/KpqMsR+kaTkA0WqXtx/a9iJVJCRURy+fG9QxiOFNtvIOqU PxRYQWwS+kAT3k9vwN5V/aCyF4pFprGqBvSXpYTWav4+q3i6/MhF70NBTpmGQjvo/K R4BJOSC7XPLqA== Received: by mail-oi1-f182.google.com with SMTP id 5614622812f47-3b2f2b9a176so3500919b6e.0; Tue, 31 Oct 2023 00:03:55 -0700 (PDT) X-Gm-Message-State: AOJu0Yz2gBzTreaDElQWQHhwU6KihtpxJFVLPjVvaK7OxzKSr6GAhWR1 TZbJPoY2eWx6Ko3tl3G52qhiyrLT3O8L0NJen4c= X-Received: by 2002:a05:6870:4c05:b0:1e9:d158:2465 with SMTP id pk5-20020a0568704c0500b001e9d1582465mr14892187oab.17.1698735834939; Tue, 31 Oct 2023 00:03:54 -0700 (PDT) MIME-Version: 1.0 References: <20231026072628.4115527-1-sjg@chromium.org> <20231026072628.4115527-4-sjg@chromium.org> <20231030161209.GU496310@bill-the-cat> In-Reply-To: <20231030161209.GU496310@bill-the-cat> From: Masahiro Yamada Date: Tue, 31 Oct 2023 16:03:18 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] arm64: boot: Support Flat Image Tree To: Tom Rini Cc: "Russell King (Oracle)" , Simon Glass , linux-arm-kernel@lists.infradead.org, U-Boot Mailing List , Catalin Marinas , Nathan Chancellor , Nick Desaulniers , Nick Terrell , Nicolas Schier , Will Deacon , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 31 Oct 2023 00:04:07 -0700 (PDT) On Tue, Oct 31, 2023 at 1:12=E2=80=AFAM Tom Rini wrote= : > > On Mon, Oct 30, 2023 at 03:35:34PM +0000, Russell King (Oracle) wrote: > > On Sun, Oct 29, 2023 at 05:46:12AM +1300, Simon Glass wrote: > > > Hi Masahiro, > > > > > > Sure, but that is a separate issue, isn't it? We already support > > > various boot targets in arm64 but not one that includes the DTs, so > > > far as I can see. The old arm 'uImage' target is pretty out-of-date > > > now. > > > > Does that mean it can be removed? ;) > > > > I've NAK'd FIT support on 32-bit Arm in the past, and I remain of the > > opinion that boot loader specific packaging of the kernel should not > > be in the kernel but should be external to it - even more so given the > > multi-platform nature of 32-bit Arm kernels. > > I'll point it out here rather than Simon. As part of > https://github.com/open-source-firmware FIT is a standard and not "boot > loader specific". And one of the points of a FIT image is that you can > easily support multi-platform kernels in a single file (without > optimizing things further, at a cost in tens of milliseconds on a Pi 3 > anyhow) and with user-controlled security. > > -- > Tom It is a copy of the document in U-Boot. The file was split into two, but the content is the same. [original in U-Boot] https://github.com/u-boot/u-boot/blob/v2023.10/doc/usage/fit/source_file_fo= rmat.rst [flat-image-tree] https://github.com/open-source-firmware/flat-image-tree/blob/v0.8/source/ch= apter1-introduction.rst https://github.com/open-source-firmware/flat-image-tree/blob/v0.8/source/ch= apter2-source-file-format.rst -- Best Regards Masahiro Yamada