Firmware Files, what each files do?

Discussion related to "under the hood" OpenMV topics.
victagayun
Posts: 22
Joined: Wed Oct 17, 2018 12:08 am

Firmware Files, what each files do?

Postby victagayun » Wed Apr 10, 2019 11:32 pm

Hello, I cannot differentiate between these files:

bootloader.bin -> Pure binary of the bootloader (no firmware) - intermediate output.
bootloader.elf -> Raw ELF file output from compile - intermediate output.
bootloader.dfu -> DFU file of the bootloader - not useful.
firmware.bin -> Pure binary of the firmware (no bootloader). OpenMV IDE's BIN loader uses this.
firmware.elf -> Raw ELF file output from compile - intermediate output.
firmware.dfu -> DFU file of the firmware - not useful.
openmv.bin -> Pure binary of the bootloader+firmware - intermediate output.
openmv.dfu -> DFU file of the bootloader+binary. OpenMV IDE's DFU loader uses this.
uvc.bin
uvc.dfu
uvc.elf

All I know is to upload only firmware.bin through the IDE.
When is bootloader, openmv and uvc used?
Also what are elf, bin and dfu files?

Sorry for stupid question.
User avatar
kwagyeman
Posts: 3335
Joined: Sun May 24, 2015 2:10 pm

Re: Firmware Files, what each files do?

Postby kwagyeman » Thu Apr 11, 2019 12:20 am

Um, the comments you posted mention what most are for. They are just build outputs we keep track of. You needn't think to much about what the other ones are. DFU files can be loaded via a DFU tool. The elf file is the raw compile output. And the bin file is the binary that can be flashed. The bootloader+firmware=openmv. The uvc is a different firmware image that puts the camera into UVC mode.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests