[File] [PATCH] Magdir/firmware AVR firmware

Christos Zoulas christos at zoulas.com
Thu Sep 21 16:13:06 UTC 2023


Added, thanks!

christos

> On Sep 19, 2023, at 6:10 AM, Alexandre IOOSS <erdnaxe at crans.org> wrote:
> 
> Signed PGP part
> Hello,
> 
> I would like to propose a new signature for AVR firmware images.
> 
> These binaries start with an interrupt vector table. This tables contains 4-byte JMP instructions on larger AVR variants such as the Atmega328p, or 2-byte RJMP instructions on smaller AVR variants such as Attiny85.
> By matching this interrupt vector table, we have enough bits to state that a file is an AVR firmware.
> 
> Example of output:
> ```
> $ file */*.bin
> qmk/ztboards_noon_default.hex.bin:         AVR firmware, reset at 0x01c0
> arduino/Blink_attiny_adafruit_trinket.bin: AVR firmware, reset at 0x0023
> ```
> 
> Attached, you will find the new signatures.
> 
> Best regards,
> 
> --
> Alexandre
> <avr-firmware.patch>
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20230921/129eb5f4/attachment.asc>


More information about the File mailing list