Our bootloader expects an image of variable size with a CRC32 as it's last four bytes. The size is stored in external nvm. On boot it CRCs the image (minus the last 4 bytes) then compares it with the following 4 bytes. We are currently appending the CRC32 post-build with srec_cat, but this adds several steps to debugging. Is it possible to automate this process in the linker, so the ELF file also has the CRC in the correct position?
Joined: Tue. Dec 5, 2017
Posts: 39 View posts
Last Edited: Fri. Apr 26, 2019 - 02:40 PM