diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2011-01-06 00:22:58 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-06 01:29:55 +0100 |
commit | 80d8381811821445bc47cd6e46f1eea423d9fce5 (patch) | |
tree | 6860c48f3f049c155e4c5a826dead5abab8772b0 /THANKS | |
parent | f9ecf651725c10debca0a466de2012bc362d887c (diff) |
Add experimental code to self-relocate vmlinuz on e.g. brcm
This is needed for the following reason: our memory layout
looks like this:
| |vmlinux | |CFE| * |
| | |vmlinuz | |
^
Since CFE can only load to the spot marked with ‘^’ anyway,
we load vmlinub.elf there which is basically a big rodata
blob containing vmlinuz and minimal code moving it to the
location pointed with vmlinuz above. Another solution would
be to use CFE’s “boot -raw” to place it on the location marked
with ‘*’ above (but the CFE location and size are dynamic, and
since it insists on loading to 0x80001000 anyway, this point
is virtually moot).
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions