Skip to content

Simple tool for generating FoTA compatible images from toolchain output

License

Notifications You must be signed in to change notification settings

bhargavbhat/fw_image_cutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FW Image Cutter

Simple tool for generating FoTA compatible images from toolchain output

Building

On linux, make all

Generating FoTA Compatible Images

  • To generate image for Upper/Lower sections: make upper or make lower
  • To generate images without metadata (for test/comparison): make upper_nometa or make lower_nometa

Tweaking the Tool

  • All addresses/constants in Makefile
  • SECTION_SIZE -> Size of each FoTA image (must exactly match the upper/lower partition size in linker script)
  • UPPER_SECTION_ADDRESS and LOWER_SECTION_ADDRESS -> Start address for upper and lower images respectively
  • _SIG, _MAJOR_VER and _MINOR_VER -> Metadata for respective images
  • CRC routine for the board is crc32.h

About

Simple tool for generating FoTA compatible images from toolchain output

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published