*BSD News Article 16808


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!sdd.hp.com!portal!chris
From: chris@shell.portal.com (Chris - Ding)
Subject: Load 386bsd above 1M ?
Message-ID: <C835tv.72p@unix.portal.com>
Keywords: boot 386bsd 1M
Sender: news@unix.portal.com
Nntp-Posting-Host: jobe
Organization: Portal Communications Company
Date: Fri, 4 Jun 1993 07:22:43 GMT
Lines: 35


Anyone tried to load the kernel above 1M ? 

I linked it for FE100000, but the machine reset when it swithes from
boot sector to the kernel. The kernel has been loaded correctly, I think.

Another question. What is the file 'vuifile' for in the following excerpt ?
Is it relevant to 386bsd ?


excerpt from /sys/i386/boot/README.MACH

>[ 386bsd is loaded where-ever the "MByte" bits of the load address specify,
>so if you link it for FE100000 it will load to 1MB, but if you link
>it for FE000000 it will load ad 0MB]
>
>[for machines with only 512KB normal ram the kernel will need to  be linked
>for 1MB and the bootblocks modified to run below 512KB. (8000:0)]
>
>4. The UNIX Startup
>   ----------------
>	Since the boot loader loads the kernel image at memory location above
>	1MB, the kernel has to start as protected mode.  In addition, the
>	link editor description file (vuifile) has to indicate that
>	the text and data segments start above 1MB.  Also, the boot loader
>	passes the infomation to the kernel through the stack.
>
>[MOST of what is mentionned below is NOT relevant to 386bsd]

Thanks.
C. Ding

--
Chris Ding
chris@portal.shell.com