scripts: add support for Sercomm PID
authorMikhail Zhilkin <csharper2005@gmail.com>
Sat, 19 Mar 2022 19:35:51 +0000 (19:35 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 3 Jul 2022 18:25:38 +0000 (20:25 +0200)
commit0cb1dc02771ce1c4cad20017a6d5616718db3877
tree32e81c9db365b0f44805470e319d4142c2aac87d
parent87092b3c065978fc0e673856c34b3db0829280db
scripts: add support for Sercomm PID

This scripts creates Sercomm PID file. PID is necessary for the factory
images creation of variuos Sercomm-based devices (Beeline, Netgear,
Etisalat).

Size: 0x70
+-------+------+---------------+------------------+
| Start | Size | Value* (ASCII)| Description      |
+=======+======+===============+==================+
| 0x0   | 0x8  | 10100         | Hardware version |
+-------+------+---------------+------------------+
| 0x8   | 0x8  | 444245 (DBE)  | Hardware ID      |
+-------+------+---------------+------------------+
| 0x64  | 0x4  | 1002          | Software version |
+-------+------+---------------+------------------+
*for Beeline Smartbox GIGA

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
scripts/sercomm-pid.py [new file with mode: 0755]