aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cameo-imghdr.py
Commit message (Collapse)AuthorAgeFilesLines
* scripts: add cameo image header generatorLuiz Angelo Daros de Luca2022-07-081-0/+86
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)