From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FDDDC4167D for ; Mon, 30 Oct 2023 16:12:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233621AbjJ3QMR (ORCPT ); Mon, 30 Oct 2023 12:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjJ3QMP (ORCPT ); Mon, 30 Oct 2023 12:12:15 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96784C2 for ; Mon, 30 Oct 2023 09:12:12 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3b2b1ae4c21so3289880b6e.0 for ; Mon, 30 Oct 2023 09:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1698682332; x=1699287132; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=oodQJECNA1emt+ZSe7GuNR9wIJ3mag7w16SqLJjZ1IU=; b=danZmm22xygZLt+rGcfT8IHe1161EDsur1wJbqJYCSstNcK9KxOtHCOfSO5TC7GBNB A9PQTd8R45Cy5ryky3kvpbz0Kmp4jQsKZI/3N4xKpAWwY3EvN6d0aAbWwE87NQMGXbTk zCr6tlTR0HnLUCeY718KXWpSCJASQkbTftaJc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698682332; x=1699287132; h=in-reply-to: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=oodQJECNA1emt+ZSe7GuNR9wIJ3mag7w16SqLJjZ1IU=; b=lEg5NxKoyLPoR/ZAjESNu4yUNEH1LFsRYB6P4aNSNo8PtHz/iQV27FerXdSSMjSZsQ jgFEJUwuIVPq04m5W3BeZ+RZoU2msczSd54fIPw9+FG/Qyxk/DKuQepvq6OW3CUnaOS7 pUW3o7PjcxNyVVCSooWnuARXpdbdwHtmAgiMMAtAwZnyhbiD8kDnowbxkw2abJ7vsI20 k2JV4fJrtPL7ZltDLSs9O9foAYSBLUHUbz3hkUIwj/KkjsLE7XNz0Rw/MeAgkrZELJKb tA2PXfvVo4ZPSWhDHAJDu5B4VaEKjRtyIUwgqtPWkldex8DpeTZKFNhg8Uw8++mme/vm 3QpA== X-Gm-Message-State: AOJu0Yyo88vLZZRAi6lOg1rdweqz9A3U18w+JtmPH6V5VUjTI7dOYSur CwKFIoggL2NDk3mxYc9INiBWsA== X-Google-Smtp-Source: AGHT+IHoT9T9j+/Dof6wA/G/+AhrgWHz86krrYzaeW+fuocGkn8AxQnmYdn2G2hIALD+1WZYwAlU5Q== X-Received: by 2002:aca:1816:0:b0:3ae:5743:533a with SMTP id h22-20020aca1816000000b003ae5743533amr10434767oih.47.1698682331961; Mon, 30 Oct 2023 09:12:11 -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 h19-20020a05620a401300b007778503ebf4sm3427889qko.16.2023.10.30.09.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 09:12:11 -0700 (PDT) Date: Mon, 30 Oct 2023 12:12:09 -0400 From: Tom Rini To: "Russell King (Oracle)" Cc: Simon Glass , Masahiro Yamada , 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: <20231030161209.GU496310@bill-the-cat> References: <20231026072628.4115527-1-sjg@chromium.org> <20231026072628.4115527-4-sjg@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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