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)
commiteaca08ab58afafc506f7313f2c1a763a11d9367e
tree43d0e5acce418f4db1d9abf5329219e936130161
parentf13b623f5e53a72b65f45cbaf56c73df35e70ed2
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>
tools/firmware-utils/Makefile
tools/firmware-utils/src/bcm4908img.c [new file with mode: 0644]