I'm currently trying to get a boot-manager/ bootloader/application to be linked as a single .elf file for the MPC5748G.
There are some issues that I'm a little confused about, and I would be very grateful if you could provide any guidance with regard to them.
The plan is to always boot the boot-manager and then jump to the application or the application according to the value of some flag. How to combine all 3 software entities into one instead of flashing each one on its own and if I manage to do that, would I be able to access the code of bootloader or application after jumping?
I have already defined different start and end addresses of each entity in the linker file and developed the jumping mechanism