b563250dbb
- Set MARK_START to where we expect to be loading the kernel (0xf0100000). - The ARM OpenFirmare bindings document describes how the client program is loaded: OFW allocates and maps 6MB of memory at load-base (0xf0000000), loads the client program, and then unmaps the memory from the end of the client program to the end of the allocated region. Then transfers control to the client program. We must emulate this behavior to load the kernel: allocate 5MB at 0xf0100000 (where we expect to load the kernel), load the kernel, then unmap the area after the kernel. We can now load DHCP and load the kernel via NFS before getting the dreaded Data Abort. |
||
---|---|---|
.. | ||
Locore.c | ||
Makefile | ||
alloc.c | ||
boot.c | ||
net.c | ||
netif_of.c | ||
ofdev.c | ||
ofdev.h | ||
openfirm.h | ||
srt0.S | ||
version |