Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 19:24:45 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Adrian Steinmann <ast@marabu.ch>
Cc:        msmith@freebsd.org
Subject:   Re: BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed) 
Message-ID:  <28871.1069007085@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 16 Nov 2003 13:33:53 %2B0100." <200311161233.NAA27227@marabu.marabu.ch> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200311161233.NAA27227@marabu.marabu.ch>, Adrian Steinmann writes:
>Soren
>
>We seem to have localized the loader reboot hang back to the first
>far jump happening in btx.s:
>
><ast@marabu.ch> observed:
>   > warm boot (writes 0x1234 to 0x472) and then jumps to the BIOS reboot
>   > handler:
>   > -		ljmp $0xffff,$0x0		# reboot the machine
>   >
>   > however in various literature it is mentioned that $0xf000,$0xfff0
>   > is bound to work better on most platforms, so I tried
>   > +		ljmp $0xf000,$0xfff0		# reboot the machine
>   >
>   > which indeed works! (OpenBSD, for example, uses ljmp $0xf000,$0xfff0).

committed to FreeBSD -current.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28871.1069007085>