Displaying OTA Files#
You can see the contents of OTA files by using the –p command-line option. An example of the contents of an OTA file is shown below.
bash$ ./image-builder-ecc -p app/framework/plugin/ota-storage-simple-ram/ota-static-sample.ota
image-builder (C) 2013 by Silicon Labs
Version: 1.5.2
ECC signature support present.
File: app/framework/plugin/ota-storage-simple-ram/ota-static-sample.ota
Magic Number: 0x0BEEF11E
Header Version: 0x0100
Header Length: 56 bytes
Field Control: 0x0000
Manufacturer ID: 0x1002
Image Type: 0x5678
Firmware Version: 0x00000005
Stack Version: 0x0002
Header String: The latest and greatest upgrade.
Total Image Size: 182 bytes
Total Tags: 3
ID: 0xF000 (Manufacturer Specific)
Length: 10 bytes
ID: 0x0002 (ECDSA Signing Certificate)
Length: 48 bytes
Subject: (>)000D6F0000198B36
Issuer: (>)5445535453454341 (Certicom TEST CA)
ID: 0x0001 (ECDSA Signature)
Length: 50 bytes
Signer: (>)000D6F0000198B36
Data: 01C2C31CB8C40064 EABB3189AD8969EA
C25893183A023BD2 8D5FB2134D3E07B9
2E06A258E478D20C 7ACC
Using Certicom TEST CA issued certificate.
Message Digest: E26A886E8030458DA084586F2DCB08A2
Signature is valid
Found 1 files.