firmware-utils: bcm4908asus: tool inserting Asus tail into BCM4908 image
authorRafał Miłecki <rafal@milecki.pl>
Thu, 21 Jan 2021 12:04:45 +0000 (13:04 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 22 Jan 2021 19:10:38 +0000 (20:10 +0100)
commitc31f7975277b5870ef146fb3ec4eaa829365b727
treedd15e70ca89f290f4c8b7a7365227b0e8154db9a
parent1d6f422e346ba1f39165577ffbe2ad15b944171c
firmware-utils: bcm4908asus: tool inserting Asus tail into BCM4908 image

Asus looks for an extra data at the end of BCM4908 image, right before
the BCM4908 tail. It needs to be properly filled to make Asus accept
firmware image.

This tool constructs such a tail, writes it and updates CRC32 in BCM4908
tail accordingly.

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