scripts: add cameo image header generator
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 24 Jun 2022 19:05:16 +0000 (16:05 -0300)
committerSander Vanheule <sander@svanheule.net>
Tue, 28 Jun 2022 20:20:09 +0000 (22:20 +0200)
commit2fd66e058b0804b9c561d8d6858363fdf5bd7aea
tree59dcb00ef1f2c3a7df5fc2ebbc11c23d3c19f53b
parent6556cad99dd9f017d7aadc96faa2c1975cba555f
scripts: add cameo image header generator

The cameo header is a 0x40-byte header used by D-Link DGS 1210 switches
and Apresia ApresiaLightGS series. cameo-imghdr.py is a clean-room
reimplementation of imghdr present in the DGS-1210-28-GPL package.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[fix board_version argument's help text]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
scripts/cameo-imghdr.py [new file with mode: 0755]