The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Secpack 2.0"
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | This is the security |
+ | This is the security in the files sent to the [[X-Gold 608]] and [[XMM 6180]]. |
+ | ==Sections== |
||
− | Files also have 0x8D4 footer before the loader |
||
+ | The file contains sections like structure below |
||
+ | struct section_header |
||
− | ==Layout== |
||
+ | { |
||
− | 0x634--Memory Map |
||
+ | unsigned int id; |
||
− | 0x714--Descriptor |
||
+ | unsigned int size; |
||
− | 0xCD4--Post secpack pointer to name |
||
+ | unsigned int sub_id; |
||
− | 0xCEC--Data length |
||
+ | }; |
||
+ | followed by the data. |
||
− | ==Endpack== |
||
+ | |||
− | The fls and eep files also have a footer tacked onto the end containing the loader and signature. |
||
+ | 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, ...), ...) |
||
+ | |||
+ | ==Offsets== |
||
+ | *secpack |
||
+ | **0xCD4 -- offset to name(add 0xCF8 for secpack 2.0) |
||
+ | **0xCEC -- size |
||
+ | **0xCF8 -- data?? |
||
+ | *endpack(starts after data) |
||
+ | **0x830 -- 0x01FEDABE |
||
+ | **0x834 -- address |
||
+ | **0x838 -- region size |
||
+ | **0x83C -- real size |
||
+ | |||
+ | ==Loader== |
||
+ | This has two loaders, a bootrom loader which loads at 0x80000 and a bootloader loader which loads at 0x86000 |
||
+ | |||
+ | |||
+ | [[Category:Baseband]] |
Latest revision as of 20:45, 10 July 2010
This is the security in the files sent to the X-Gold 608 and XMM 6180.
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, ...), ...)
Offsets
- secpack
- 0xCD4 -- offset to name(add 0xCF8 for secpack 2.0)
- 0xCEC -- size
- 0xCF8 -- data??
- endpack(starts after data)
- 0x830 -- 0x01FEDABE
- 0x834 -- address
- 0x838 -- region size
- 0x83C -- real size
Loader
This has two loaders, a bootrom loader which loads at 0x80000 and a bootloader loader which loads at 0x86000