All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Dorde Stojicevic <dorde.stojicevic@rohde-schwarz.com>
Cc: Quentin Schulz <quentin.schulz@cherry.de>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: Re: [PATCH] arm: Backward compatibility to U-Boot v2020.04
Date: Thu, 5 Feb 2026 19:54:47 -0600	[thread overview]
Message-ID: <20260206015447.GP2603314@bill-the-cat> (raw)
In-Reply-To: <f8f1197e979b4998afb5dc952f7a8a63@rohde-schwarz.com>

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

On Thu, Feb 05, 2026 at 12:20:27PM +0000, Dorde Stojicevic wrote:
> Hi guys,
> 
> and thanks for your fast response.
> 
> Sorry for the formatting issue, I am bound to our company Outlook, which hard-codes our signatures, so this one will not be possible to take out. I am not quite sure git send-email would work, for the same reason + corporate stuff....
> 
> Anyhow, an update/clarification on the things going on here (I could/should have sent initially, sorry for that):
> 
> 1) Lynx Toolchain compiles a FIT Image with the following structure:
> 	{
> 		Images{
> 			Kernel-1 {
> 				Data=Image;
> 			}
> 			Fdt-1 {
> 				Data=system.dtb;
> 			}
> 		}
> 		Configurations {
> 			Here kernel-1 and fdt-1 used as default conf-1
> 		}
> 	}
> 2) Data=Image does not have the Magic Code 0x644d5241
> 3) It is booting with U-Boot SPL 2020.04+g1ccc9d93576+p1 according to Lynx. I haven´t tested myself since we started with 2024.04, and we need it for some other features.
> 4) Then I investigated differences v2020.04 vs v2024.04, and found this part of code came in.
> 5) The finding is consistent with last error reported by U-Boot prior to reset "Bad Linux ARM64 Image magic!"
> 
> 6) I 1st tried patching the Data=Image in Lynx FIT with the magic code, but it didn’t work.
> 7) once I patched bootm in U-Boot to skip this part and behaves as in v2020.04 (excluded all restructuring etc.) it booted the Lynx kernel
> 
> Basically, v2024.04 correctly detects "Bad Linux ARM64 Image magic!", as none is there at the moment, but in order to boot Lynx Hypervisor as-is this backward compatibility to v2020.04 is needed.
> 
> Does this shine more light on it?

This is helpful, yes, thanks. Can you provide an "mkimage -l" of one of
these failing to boot FIT images?

-- 
Tom

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

  reply	other threads:[~2026-02-06  1:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-03 15:41 [PATCH] arm: Backward compatibility to U-Boot v2020.04 Dorde Stojicevic
2026-02-03 16:42 ` Quentin Schulz
2026-02-03 17:00 ` Tom Rini
2026-02-05 12:20   ` Dorde Stojicevic
2026-02-06  1:54     ` Tom Rini [this message]
2026-02-06  6:28       ` Dorde Stojicevic
2026-02-06 15:03         ` Tom Rini
2026-02-06 15:17           ` Dorde Stojicevic
2026-02-06 15:32             ` Tom Rini
2026-02-24  7:30             ` Dorde Stojicevic
2026-02-25 22:24               ` Tom Rini
2026-02-26  8:15                 ` Dorde Stojicevic
2026-02-26 15:26                   ` Tom Rini
2026-07-31  6:46                     ` Dorde Stojicevic
2026-07-31 10:10                       ` Patrick Deiber
     [not found]     ` <CAFLszTh7F9K+NqyOxSzs7G_+MgNURFrLyGuK3WJhdNndvwQZpA@mail.gmail.com>
2026-08-06 20:58       ` Tom Rini

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=20260206015447.GP2603314@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=dorde.stojicevic@rohde-schwarz.com \
    --cc=quentin.schulz@cherry.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.