firmware-utils: bcm4908img: tool adding BCM4908 image tail
authorRafał Miłecki <rafal@milecki.pl>
Wed, 13 Jan 2021 13:14:11 +0000 (14:14 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 18 Jan 2021 06:39:09 +0000 (07:39 +0100)
commitdbe9821b80835e9f0a1f2a02b8adced0fb2a1ca1
treef854226ee83af801fbf2d551b4606f98440c8a65
parent063656a0dabf46e451888ef7a3623055a3b86cc0
firmware-utils: bcm4908img: tool adding BCM4908 image tail

Flashing image with BCM4908 CFE bootloader requires specific firmware
format. It needs 20 extra bytes with magic numbers and CRC32 appended.

This tools allows appending such a tail to the specified image and also
verifying CRC32 of existing BCM4908 image.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Makefile
src/bcm4908img.c [new file with mode: 0644]