Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0
@ 2024-03-06 15:47 bugzilla
  2024-03-27 17:44 ` [Buildroot] [Bug 15973] " bugzilla
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla @ 2024-03-06 15:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15973

            Bug ID: 15973
           Summary: imx8m bootloader image generation broken since update
                    to imx-mkimage 6.1.36_2.1.0
           Product: buildroot
           Version: 2024.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: buildroot@martin-whitaker.me.uk
                CC: buildroot@uclibc.org
  Target Milestone: ---

imx-mkimage 6.1.36_2.1.0 includes this commit

https://github.com/nxp-imx/imx-mkimage/commit/5a0faefc223e51e088433663b6e7d6fbce89bf59

which inserts an additional data structure in the generated image. The external
data position passed to (the uboot) mkimage in
board/freescale/common/imx/imx8-bootloader-prepare.sh needs to be adjusted
accordingly, so '-p 0x5000' instead of '-p 0x3000'. You can see that same
adjustment being made in the soc.mak file in the commit reference.

I have only tested this on an i.MX8M Nano DDR4 EVK board, but expect it applies
to all i.MX8M boards that use imx-mkimage to generate their bootloader image.

This bug first appeared in the 2023.11 release.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15973] imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0
  2024-03-06 15:47 [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0 bugzilla
@ 2024-03-27 17:44 ` bugzilla
  2024-03-27 21:08 ` bugzilla
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-03-27 17:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15973

Wojciech Niziński <niziak@spox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker

--- Comment #1 from Wojciech Niziński <niziak@spox.org> ---
Bumped `imx-mkimage` from `lf-5.10.72_2.2.0` to `lf-6.1.36-2.1.0`
in commit:
https://git.busybox.net/buildroot/commit/package/imx-mkimage?id=72de7890233026f020de4aba3e8e86c156e55773

introduces i.MX9 support. Now all i.MX8M? based targets are broken (boards
using 'board/freescale/common/imx/imx8-bootloader-prepare.sh' to generate boot
image).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15973] imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0
  2024-03-06 15:47 [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0 bugzilla
  2024-03-27 17:44 ` [Buildroot] [Bug 15973] " bugzilla
@ 2024-03-27 21:08 ` bugzilla
  2024-03-28 10:44 ` bugzilla
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-03-27 21:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15973

--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
The initial report by Martin Whitaker proposes a fix, but I don't fully
understand what the fix is (and I anyway don't have any imx8 board to test it
on). So can someone provide a patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15973] imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0
  2024-03-06 15:47 [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0 bugzilla
  2024-03-27 17:44 ` [Buildroot] [Bug 15973] " bugzilla
  2024-03-27 21:08 ` bugzilla
@ 2024-03-28 10:44 ` bugzilla
  2024-04-23 17:07 ` bugzilla
  2024-06-04 13:55 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-03-28 10:44 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15973

--- Comment #3 from Martin Whitaker <buildroot@martin-whitaker.me.uk> ---
Created attachment 9733
  --> https://bugs.busybox.net/attachment.cgi?id=9733&action=edit
Patch to fix this bug

Here is a patch that works for me, tested on an IMX8MN platform.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15973] imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0
  2024-03-06 15:47 [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0 bugzilla
                   ` (2 preceding siblings ...)
  2024-03-28 10:44 ` bugzilla
@ 2024-04-23 17:07 ` bugzilla
  2024-06-04 13:55 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-04-23 17:07 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15973

--- Comment #4 from max@karl.wf ---
(In reply to Martin Whitaker from comment #3)

Can confirm that the patch fixes the issue for IMX8MM too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 15973] imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0
  2024-03-06 15:47 [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0 bugzilla
                   ` (3 preceding siblings ...)
  2024-04-23 17:07 ` bugzilla
@ 2024-06-04 13:55 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-06-04 13:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15973

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed by
https://gitlab.com/buildroot.org/buildroot/-/commit/baaf7f738a76d363aed753888da0712c7c430976
thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-04 13:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 15:47 [Buildroot] [Bug 15973] New: imx8m bootloader image generation broken since update to imx-mkimage 6.1.36_2.1.0 bugzilla
2024-03-27 17:44 ` [Buildroot] [Bug 15973] " bugzilla
2024-03-27 21:08 ` bugzilla
2024-03-28 10:44 ` bugzilla
2024-04-23 17:07 ` bugzilla
2024-06-04 13:55 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox