diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/arm64/booting.txt | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Documentation/arm64/booting.txt b/Documentation/arm64/booting.txt index 9c4d388daddc..5273c4d60e65 100644 --- a/Documentation/arm64/booting.txt +++ b/Documentation/arm64/booting.txt | |||
@@ -68,13 +68,23 @@ Image target is available instead. | |||
68 | 68 | ||
69 | Requirement: MANDATORY | 69 | Requirement: MANDATORY |
70 | 70 | ||
71 | The decompressed kernel image contains a 32-byte header as follows: | 71 | The decompressed kernel image contains a 64-byte header as follows: |
72 | 72 | ||
73 | u32 magic = 0x14000008; /* branch to stext, little-endian */ | 73 | u32 code0; /* Executable code */ |
74 | u32 res0 = 0; /* reserved */ | 74 | u32 code1; /* Executable code */ |
75 | u64 text_offset; /* Image load offset */ | 75 | u64 text_offset; /* Image load offset */ |
76 | u64 res0 = 0; /* reserved */ | ||
76 | u64 res1 = 0; /* reserved */ | 77 | u64 res1 = 0; /* reserved */ |
77 | u64 res2 = 0; /* reserved */ | 78 | u64 res2 = 0; /* reserved */ |
79 | u64 res3 = 0; /* reserved */ | ||
80 | u64 res4 = 0; /* reserved */ | ||
81 | u32 magic = 0x644d5241; /* Magic number, little endian, "ARM\x64" */ | ||
82 | u32 res5 = 0; /* reserved */ | ||
83 | |||
84 | |||
85 | Header notes: | ||
86 | |||
87 | - code0/code1 are responsible for branching to stext. | ||
78 | 88 | ||
79 | The image must be placed at the specified offset (currently 0x80000) | 89 | The image must be placed at the specified offset (currently 0x80000) |
80 | from the start of the system RAM and called there. The start of the | 90 | from the start of the system RAM and called there. The start of the |