From: Waldemar Brodkorb <wbx@openadk.org>
To: u-boot@lists.denx.de
Subject: Re: Question about u-boot.hex for Microchip PIC32MZ DA
Date: Mon, 2 Feb 2026 06:34:49 +0100 [thread overview]
Message-ID: <aYA3eUsx2OHHKpMs@waldemar-brodkorb.de> (raw)
Hi,
Waldemar Brodkorb wrote,
> Hi U-Boot developers and users,
>
> I successfully flashed u-boot.hex from Github Linux-LTS-for-PIC32 on
> my device. Next step I try is to flash my own cross-compiled U-Boot
> hexfile from 2026.01 release. It cross-compiled fine and then I used
> following command to convert it to hex:
> $(CROSS_COMPILE)-objcopy -O ihex -R .note -R .comment -R .debug_* u-boot u-boot.hex
>
> After flashing it with MPLAB X IDE 6.2.0 nothing is output via
> serial and the orange LED is no longer blinking.
>
> What might be the reason for this behaviour? What I am doing wrong?
Me again. Found this URL in the meanwhile:
https://www.reddit.com/r/chipKIT/comments/dtmg4h/installing_debian_on_pic32/
And indeed such a hex file can be flashed, but U-Boot does not
start:
U-Boot 2026.01 (Feb 02 2026 - 02:46:10 +0100)
Model: Microchip PIC32MZDASK
Core: PIC32MZ[DA]
CPU Speed: 200 MHz
DRAM: 128 MiB
Mis-aligned relocation
How to fix "Mis-aligned relocation"?
I am using gcc 15.2.0 and binutils 2.45.1 to compile U-Boot.
best regards
Waldemar
next reply other threads:[~2026-02-02 5:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 5:34 Waldemar Brodkorb [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-01-29 18:22 Question about u-boot.hex for Microchip PIC32MZ DA Waldemar Brodkorb
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=aYA3eUsx2OHHKpMs@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox