Hi Jan,

Easiest way for you to proceed is to get old linker scripts that worked for
you before
Then instead of having bsp.yml file with line

 bsp.linkerscript: autogenerated

set bsp.linkerscript to what it was before

I'll check your case to see how to manage it using autogenerated scripts
and let you know later

br
Jerzy

śr., 22 sty 2025 o 13:44 Jan Clement <jan.clem...@cm-electronics.de>
napisał(a):

> Hello Devlist,
>
> during my process of upgrading apache mynewt from 1.9.0 to 1.13.0 I now
> face the problem, that the binaries I generate are not running on my
> system.
>
> As a starting point I used the iptest application and the
> stm32f7discovery bsp package. This worked with the old mynewt version. I
> run my own bootloader implementation, after booting, it jumps to
> 0x08010000 and starts executing from there. For this to work in the old
> implementation I had to set
>
>  > _imghdr_size = 0x0;    /* size = 0 for direct flashing */
> in the linker script.
>
> I can't find any corresponding setting in the new version. The only
> thing I found is:
>
>  > INCLUDE_IMAGE_HEADER
> which I set to 0.
>
> For testing purposes I also tried to flash the image directly and use it
> without the bootloader, this also didn't work.
>
> When I debug my application I get following output:
>
>  > xPSR: 00000000 pc: 00000000 msp: 0x96f3b83c
>
> It seems that my program counter is not set correctly.
>
> Any help is greatly appreciated, thanks!
>
> Jan
>

Reply via email to