1. 4
  1. 2

    This is something I need for a device at work; we want to be able to download new firmware versions while running in normal operation mode and quickly switch to a new version without having to be stuck in a bootloader mode for several minutes. I hadn’t started looking into how to do this yet and naively supposed that -fPIC would work; now I know it’s more complicated than that…

    In our case we can get away with having two binary images with different linker script for each of the two possible locations, but it would be nice to not need to negotiate which image to use.