Date: Tue, 29 Sep 1998 21:16:29 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Peter Wemm <peter@freebsd.org> Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/libi386 aout_freebsd.c Message-ID: <Pine.BSF.4.01.9809292115180.388-100000@herring.nlsystems.com> In-Reply-To: <199809290911.CAA19200@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Sep 1998, Peter Wemm wrote: > peter 1998/09/29 02:11:49 PDT > > Modified files: > sys/boot/i386/libi386 aout_freebsd.c > Log: > The bootinfo struct was getting clobbered or not passed through correctly. > Presumably VTOP doesn't work for static objects. > The easiest way to get it working was to reserve some space after the > environment strings and copy the bootinfo struct there. > Also, set RB_BOOTINFO, it's needed. > > I got the code to load and run an unmolested kernel OK for the first time > with this system a few minutes ago - at last!. I did have to stop it > looking at the floppy though as BTX was trapping a mode 14 fault when > it look for /boot/boot.conf when no disk was in the drive. (I'm booting > from a scsi disk (bios disk 0x80)). > > Now to teach it about ELF and modules :-) There is some ELF code in sys/boot/alpha/libalpha. If you could factor out the common bits so that we can share most of it between arches it would reduce the porting effort considerably. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809292115180.388-100000>