Hi TI,
We have created our own RTL library that has some boot support functions. while I was testing the boot routine of our library, I could some issues when boot28 asm calling auto initialisation function.
The issue is when I am using TI library rts2800_fpu32_eabi.lib , while auto initiaizing it willcall __TI_auto_init_nobinit_nopinit function, so that there will be no boot intiialisation will be performed as well as no .PINIT initialisation.
But when tested with our rtl with the same compiler lnker flags, using -rom model, it always tends to call auto_init() function.
For you understanding I have attach the a sheet below:
| Library | compression | Autoinit.c routine | Linker flags |
| rts2800_fpu32_eabi.lib | NO | __TI_auto_init_nobinit_nopinit (0,0,NULL) | copy_compression=off rom_model cinit_compression=off |
| RTL | Yes | AUTO_INIT | copy_compression=lzss rom_model cinit_compression=off |
| rts2800_fpu32_eabi.lib | Yes | __TI_auto_init_nobinit_nopinit | copy_compression=lzss rom_model cinit_compression=off |
| rts2800_fpu32_eabi.lib | Yes | __TI_auto_init_nobinit_nopinit | copy_compression=lzss --*ram_model --cinit_compression=off |
| RTL | NO | __TI_auto_init_nobinit_nopinit | ram_model |
| RTL | NO | AUTO_INIT | rom_model cinit_compression=off |
| rts2800_fpu32_eabi.lib | NO | __TI_auto_init_nobinit_nopinit (0,0,NULL) | rom_model cinit_compression=off |
I wanted to understand how we can change the settings to halt the boot time initialisation, even with the -rom model.
Also I have attached one screenshot while I was debugging.
I believe I have not missed any support file while integrating the boot support routine.
| RTL | NO | AUTO_INIT | rom_model cinit_compression=off |
| rts2800_fpu32_eabi.lib | NO | __TI_auto_init_nobinit_nopinit (0,0,NULL) | rom_model cinit_compression=off |