* Re: Question about u-boot.hex for Microchip PIC32MZ DA
@ 2026-02-02 5:34 Waldemar Brodkorb
0 siblings, 0 replies; 2+ messages in thread
From: Waldemar Brodkorb @ 2026-02-02 5:34 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Question about u-boot.hex for Microchip PIC32MZ DA
@ 2026-01-29 18:22 Waldemar Brodkorb
0 siblings, 0 replies; 2+ messages in thread
From: Waldemar Brodkorb @ 2026-01-29 18:22 UTC (permalink / raw)
To: u-boot
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?
Thanks in advance for any help,
Waldemar
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-02 5:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 5:34 Question about u-boot.hex for Microchip PIC32MZ DA Waldemar Brodkorb
-- strict thread matches above, loose matches on Subject: below --
2026-01-29 18:22 Waldemar Brodkorb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox