Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp180185rdb; Tue, 31 Oct 2023 04:46:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVijqn03dOFAY03qD/yrpa1Cb7bsF10z0lP5NDwZa0njei4543zcR7r5JPYyTrPyi+nmAe X-Received: by 2002:a17:90a:578e:b0:27d:86a1:ae11 with SMTP id g14-20020a17090a578e00b0027d86a1ae11mr8542461pji.40.1698752781949; Tue, 31 Oct 2023 04:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698752781; cv=none; d=google.com; s=arc-20160816; b=MbuGrRAkUiqcLLsGY6YD65N6m8aRm4N0Mm5rN0ng1VgF3Um65WsDaIEhNDoX2Cg+s8 8cP2WhmivzWyp8Bfq5b65dGJnqHDUweM9BPu3QhBkXhzGhFvJmax+VPYRddKt9G5TpO0 peQaxNFXYcfXrbei/6hV7Wm59cK05rvjoOt2wpEvmQwyU9uOLz9E5YQR7zrR/t/8H9P/ XyDKh3R5Yj0klPtZj7zjXq31FcalGkwS6/+Fgi0VfNUW8l+4MLmpAxJE84MSrCVE+105 ZTu/AVUnVrzmvRG41Jr74ZijWyRwWJa1UXNt0ekUo9PxlpMHWeYqjLorR+iDi3xOWLGS 8jTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7RyJr69Zjkg4/uGgk720yPGxk6Fi/nOg06RfMojBpdE=; fh=ami6+/8zTQmrJL+7NDbiKCzmPpN8nsstszymhz6RUqc=; b=lUhkwRGwiggR+W20vHhVT9pe3/yMVjsqZgMkm24bEf2ZscmWNWQw/cB0dgrRLuP7bo QtTzaShDuphv029Sxc2QUQjuCu3e+oGQQFZb9ud8w3rLKOQU4pHjDD04gxiyVv/6OjC0 x4tMFfy/y4wAbimDswHRnYm0q66+b6EKO572S3Lco9geID/0HQFLQjoJoEH+buswSV2B hAJbY8wEgNCJdLuSc1MOTN7U+a7kNIPWsrgUI7fdIXSCzddbkc+EQ7cMXI/XlyxWGAoV 8hvyrDeCfHFEuMOvKvxF+MRhFBhSNfcGjLhYmeyeshPMuf+tQfFWyicPqe8nrFz79QJv LtOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=VXANg8Gd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=konsulko.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id s22-20020a17090aa11600b0027ffb7e1eb2si859877pjp.58.2023.10.31.04.46.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 04:46:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=VXANg8Gd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=konsulko.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 80BC18023934; Tue, 31 Oct 2023 04:46:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344054AbjJaLqM (ORCPT + 99 others); Tue, 31 Oct 2023 07:46:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344048AbjJaLqL (ORCPT ); Tue, 31 Oct 2023 07:46:11 -0400 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7844D97 for ; Tue, 31 Oct 2023 04:46:07 -0700 (PDT) Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-66d09b6d007so38288116d6.1 for ; Tue, 31 Oct 2023 04:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1698752766; x=1699357566; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=7RyJr69Zjkg4/uGgk720yPGxk6Fi/nOg06RfMojBpdE=; b=VXANg8GdP4W9YDhfLRG4D4er9me3m3U8EhriPO3RC6qTU+FruFkF0WpkTvmisDLm7B ZIQUQnjnok8Tu3zhjIypEst+GVp9eMbKIJ24MgvqJEKTD4CV9X39jpNZcgwCT6CMEXac cTi4Yismv4x/EouGK5pDrlekyLv0M+QVSplvo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698752766; x=1699357566; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7RyJr69Zjkg4/uGgk720yPGxk6Fi/nOg06RfMojBpdE=; b=vCKyHw+iyxLP9ZVNmpWW/INm5uM/2OxeYS66u8rzY5HYpJBpU+rXAAod5UC3wvyA85 IZCnsZ5pRqHxPwPM933mY0KrPht64W5p/rdaQyFfy6sDBwfaAEEp3FzVZoQP0Ps+y9Op IwGYsMQH6JzpX1K34zEvkb411EW1R3kTmtzfVOjW533fWjEzv+ZkhXqZDATxwYj3hUg2 NJodEtPbLPL/ZnBgNFpriUZcxaNv4Ha2iZrjHa6q14N7pz9ULv90O20E+7pqU24ssAHU SBbuNWHdRRGEig30tgZfUSTDIW+lFzc2hdb3cfp7ik9tErJRBA7RBY/7vnb1gnzfFiGI frMQ== X-Gm-Message-State: AOJu0YytwLOZtp7g6X7a+0quM7wcj34K540D2wofdcmXHcvxk1DrLkQO 4uoiWXiaEGPnhX/A+uoQ893cVK2N3N2RmT9qqNQbng== X-Received: by 2002:ad4:5aa1:0:b0:66d:1b4c:e85e with SMTP id u1-20020ad45aa1000000b0066d1b4ce85emr15585877qvg.4.1698752766592; Tue, 31 Oct 2023 04:46:06 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-0000-0000-0000-013d.res6.spectrum.com. [2603:6081:7b00:6400::13d]) by smtp.gmail.com with ESMTPSA id o5-20020a056214180500b0066d11743b3esm449095qvw.34.2023.10.31.04.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 04:46:06 -0700 (PDT) Date: Tue, 31 Oct 2023 07:46:04 -0400 From: Tom Rini To: Masahiro Yamada 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 Subject: Re: [PATCH 3/3] arm64: boot: Support Flat Image Tree Message-ID: <20231031114604.GG496310@bill-the-cat> References: <20231026072628.4115527-1-sjg@chromium.org> <20231026072628.4115527-4-sjg@chromium.org> <20231030161209.GU496310@bill-the-cat> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Tue, 31 Oct 2023 04:46:18 -0700 (PDT) On Tue, Oct 31, 2023 at 04:03:18PM +0900, Masahiro Yamada wrote: > On Tue, Oct 31, 2023 at 1:12 AM 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_format.rst > > > [flat-image-tree] > https://github.com/open-source-firmware/flat-image-tree/blob/v0.8/source/chapter1-introduction.rst > https://github.com/open-source-firmware/flat-image-tree/blob/v0.8/source/chapter2-source-file-format.rst Yes, it would have been a bad idea to change a 15 year old format as part of getting it included in some standards, and we'd also recently cleaned it up to rST. Similar comments would I expect be true of turning grub.cfg in to extlinux.conf and all of the organizations that has moved along, and anything else that wasn't developed by committee at some Standards organization. -- Tom