Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4811458rdh; Wed, 29 Nov 2023 11:16:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+bTBFzczo50m4YY3NvtWSroKVyizLubx5H3W+gr32o2SkrYzDIz++UDXSbGDvShBWUf0u X-Received: by 2002:a05:6a20:394f:b0:187:5a4d:7061 with SMTP id r15-20020a056a20394f00b001875a4d7061mr23914276pzg.44.1701285409216; Wed, 29 Nov 2023 11:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701285409; cv=none; d=google.com; s=arc-20160816; b=bhf88V24TkP91q+cUKB0GiX6mE8dhgicg41EDMlGhsNlwJAl68FKqbxLy8ZOcAIdYH B/HnYkvW/XzO0J6ceECniBW5J4GjIy3J3cZtnqlz+JQ3e+TCHWGHoI5MJQDFfVvs930B dVRjdbKod7QC+DBYmv4hHJ2sAxBsMRuSUS67+2hwkGPd6q95puXNsIJ6HCfXbLGja/R9 Y3YqbkDoFh3RnQ8C49+zmodVjBD1XJooltJz77mdyB2E+i65ObOmfnIGsCQzBYk+VMuA hrGT+saXiGoWJciBEqEpBQMp/Ngns+mf11gzA+I/ASofNoLhhZFB1BAtng29O9zFQ0Z/ qv8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=fGmB1loDcCHCuQ/vlzdJ/6fHVYBuGzojD/0BuVpTl74=; fh=EL04997qlON/D1tYGO1AwEibwOD+eAuXsf6N8ADhVbk=; b=vIxQ3dSwdRrgXR/Mf0XZ6g0TAO8JybCKNA7qtoTsRngG8m32fcKOpi6B13+WvROoan qj6NnciUicF6uMOGni7c1UOsqA+to2sUsAHr4+F/V0OdSWQ6IoKT88Kg+sq99z/HCZQx xXdvTebzauoPBEiPp5dYW1QBGu6c0CSWgYpfuMl2lMsN9Je58+Z9YU9Vbi/IfvyC+63X ImqOGgllWxdQC3/hndsNH5Yjoflx2TA7BXZbolUBO9WDH3vGzXWOwMmddTthvnZivwIl YfEhOjkhCJYUKwsbxi/mEcW3t5iuowbiWlajK1qU3IKTP9w6Gz2JT9bLOR/nfip8NfH0 xD5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id x12-20020a634a0c000000b0059b64b153f6si419488pga.845.2023.11.29.11.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:16:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 73326806924E; Wed, 29 Nov 2023 11:16:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232918AbjK2TQX (ORCPT + 99 others); Wed, 29 Nov 2023 14:16:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231304AbjK2TQX (ORCPT ); Wed, 29 Nov 2023 14:16:23 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B054D5E for ; Wed, 29 Nov 2023 11:16:29 -0800 (PST) Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1r8Q2o-0003uT-2z; Wed, 29 Nov 2023 20:16:22 +0100 Message-ID: <62e767da-5e4f-4b92-a5c9-5d523896d68e@pengutronix.de> Date: Wed, 29 Nov 2023 20:16:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree Content-Language: en-US To: Tom Rini Cc: Simon Glass , linux-arm-kernel@lists.infradead.org, Masahiro Yamada , lkml , U-Boot Mailing List , Catalin Marinas , Nathan Chancellor , Nick Terrell , Nicolas Schier , Will Deacon , linux-kbuild@vger.kernel.org, Pengutronix Kernel Team References: <20231129172200.430674-1-sjg@chromium.org> <20231129172200.430674-3-sjg@chromium.org> <30f32467-51ea-47de-a272-38e074f4060b@pengutronix.de> <20231129190220.GN2513409@bill-the-cat> From: Ahmad Fatoum In-Reply-To: <20231129190220.GN2513409@bill-the-cat> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=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]); Wed, 29 Nov 2023 11:16:46 -0800 (PST) Hello Tom, On 29.11.23 20:02, Tom Rini wrote: > On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: >> Hi, >> >> a few more comments after decompiling the FIT image: >> >> On 29.11.23 18:21, Simon Glass wrote: >>> + with fsw.add_node('kernel'): >>> + fsw.property_string('description', args.name) >>> + fsw.property_string('type', 'kernel_noload') >> >> The specification only says no loading done, but doesn't explain what it >> means for a bootloader to _not_ load an image. Looking into the U-Boot commit >> b9b50e89d317 ("image: Implement IH_TYPE_KERNEL_NOLOAD") that introduces this, >> apparently no loading means ignoring load and entry address? >> >> I presume missing load and entry is something older U-Boot versions >> were unhappy about? Please let me know if the semantics are as I understood, >> so I can prepare a barebox patch supporting it. > > So the matching side for this series in U-Boot is: > https://patchwork.ozlabs.org/project/uboot/list/?series=382849&state=* > > And in short, for IH_TYPE_KERNEL_NOLOAD we do our best to use it > in-place. For decompression we allocate some space to decompress to. Thanks. I am still curious why "kernel" couldn't have been used back then with missing entry and load address to arrive at the same result? Thanks, Ahmad -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |