On Wed, Jan 15, 2003 at 03:07:47PM +0100, Gunther Nikl wrote:
> [bootloader source]
> And yet another observation: the marks[MARK_ENTRY] is not consistent.
Ok, that issue is now solved.
The good news: I managed to create a new loadbsd version supporting a.out
and ELF kernels! I am attaching that version for those who would like to
test it.
Since Aymeric insisted to use the loadfile() interface I decided that this
was a good suggestion :-) Getting everything to compile wasn't that easy
and requires some careful preparations (missing headers, unusable values
in loadfile_machdep.h for the _STANDALONE case). I tried to keep the
necessary modfifications of NetBSD sources at a minimum. However,
compiling loadbsd will never be easy :-/
Lastly, some technical questions:
- loadfile(): when symbols (LOAD_SYM) are requested, is it necessary to
load the program header (LOAD_HDR) too?
- loadbsd.c/get_mem_config(): I have a 128MB memory block, but that
function creates three memory segments for it, when I start loadbsd
from a fully booted system... If I start loadbsd from the initial
console (without startup-sequnce, thus no was setpatch run),
everything looks ok. This seems to indicate that CachePreDMA() is
used incorrectly.
Gunther
--
Linux is only free if your time has no value
- Jamie Zawinsky
Attachment:
loadbsd.dbg.gz
Description: application/gunzip