The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Secpack 2.0"
Line 1: | Line 1: | ||
This is the security in the files sent to the [[X-Gold 608]]. |
This is the security in the files sent to the [[X-Gold 608]]. |
||
+ | |||
+ | ==Sections=== |
||
+ | The file contains sections like structure below |
||
+ | |||
+ | struct section_header |
||
+ | { |
||
+ | unsigned int id; |
||
+ | unsigned int size; |
||
+ | unsigned int sub_id; |
||
+ | }; |
||
+ | |||
+ | followed by the data. |
||
+ | The size define the header size(0xC) and the size of data |
||
+ | |||
+ | ==Section ID== |
||
+ | 0xCF8 -- Header |
||
+ | 0x2 -- Footer |
||
+ | 0xB -- Memory Map |
||
+ | 0x10 -- File Description (type (EEP, FLS, ...), ...) |
||
==Header== |
==Header== |
Revision as of 15:22, 14 August 2009
This is the security in the files sent to the X-Gold 608.
Contents
Sections=
The file contains sections like structure below
struct section_header { unsigned int id; unsigned int size; unsigned int sub_id; };
followed by the data. The size define the header size(0xC) and the size of data
Section ID
0xCF8 -- Header 0x2 -- Footer 0xB -- Memory Map 0x10 -- File Description (type (EEP, FLS, ...), ...)
Header
fls and eep have a 0xCF8 header on the file
0x634--Memory Map 0x714--Descriptor 0xCD4--Post secpack pointer to name 0xCEC--Data length
Data
You know what this is
Files also have 0x8D4 footer before the loader
0xB4--Traditional Secpack
Loader
This has two loaders, a bootrom loader which loads at 0x80000 and a bootloader loader which loads at 0x86000