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)
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>
Sat, 9 Jul 2022 01:08:43 +0000 (22:08 -0300)
commitb2876e6a3a47179b2652595d00101912638648f7
treeed7bff2b88640f3a92a0651e9cef11d3a503fec3
parent8b4169f1c9cd5045bb49766c3e3bcb006ee9d986
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>
(cherry picked from commit 2fd66e058b0804b9c561d8d6858363fdf5bd7aea)
scripts/cameo-imghdr.py [new file with mode: 0755]