Problem description:
I have two binary files(lets call them file A and B). File A is the kernel and file B is the application to be run on(yes it is an embedded operative system). With file A i need to fill the gap from the end of the kernel to the program start which starts at address 0x00020000.
And then from 0x00020000 + program length i need to fill the gap to 0x00080000.
I tried looking into arm-none-eabi-objcopy gap fill
with no luck.(contiki uses it)
I basically have two questions. How do i know when to start the padding from file A to 0x00080000 and obviously how to do the padding.
If something was not clear please let me know and i will try to explain in more detail to the best of my capabilities.