mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Simon Glass <sjg@chromium.org>,
	linux-arm-kernel@lists.infradead.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	lkml <linux-kernel@vger.kernel.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Nick Terrell <terrelln@fb.com>,
	Nicolas Schier <nicolas@fjasle.eu>, Will Deacon <will@kernel.org>,
	linux-kbuild@vger.kernel.org,
	Pengutronix Kernel Team <kernel@pengutronix.de>
Subject: Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree
Date: Wed, 29 Nov 2023 15:10:09 -0500	[thread overview]
Message-ID: <20231129201009.GO2513409@bill-the-cat> (raw)
In-Reply-To: <62e767da-5e4f-4b92-a5c9-5d523896d68e@pengutronix.de>

[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]

On Wed, Nov 29, 2023 at 08:16:20PM +0100, Ahmad Fatoum wrote:
> 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?

Some level or another of historical oversight, yeah.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2023-11-29 20:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 17:21 [PATCH v7 0/2] arm64: Add a build target for " Simon Glass
2023-11-29 17:21 ` [PATCH v7 1/2] arm64: Add BOOT_TARGETS variable Simon Glass
2023-11-29 17:21 ` [PATCH v7 2/2] arm64: boot: Support Flat Image Tree Simon Glass
2023-11-29 18:35   ` Ahmad Fatoum
2023-11-29 19:00     ` Simon Glass
2023-11-29 20:35       ` Ahmad Fatoum
2023-11-30 20:30     ` Simon Glass
2023-11-29 18:59   ` Ahmad Fatoum
2023-11-29 19:02     ` Tom Rini
2023-11-29 19:16       ` Ahmad Fatoum
2023-11-29 20:10         ` Tom Rini [this message]
2023-11-29 19:02     ` Simon Glass
2023-11-29 19:14       ` Ahmad Fatoum
2023-11-29 19:27         ` Simon Glass
2023-11-29 19:33           ` Ahmad Fatoum
2023-11-29 19:44             ` Simon Glass
2023-11-29 19:53               ` Ahmad Fatoum
2023-11-30 20:30                 ` Simon Glass
2023-12-01  2:03                   ` Ahmad Fatoum
2023-12-02 16:36                     ` Simon Glass
2023-12-04 17:52                       ` Doug Anderson
2023-12-05 11:15                         ` Ahmad Fatoum
2023-12-05 17:06                           ` Doug Anderson
2023-11-30  8:20   ` Nicolas Schier
2023-11-30 15:12     ` Masahiro Yamada
2023-11-30 15:38   ` Masahiro Yamada
2023-11-30 20:32     ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231129201009.GO2513409@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=catalin.marinas@arm.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=nicolas@fjasle.eu \
    --cc=sjg@chromium.org \
    --cc=terrelln@fb.com \
    --cc=u-boot@lists.denx.de \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®