Re: Bebox revives

Tim Rightnour <[email protected]> Mon, 11 Feb 2008 10:10:24 -0700 (MST)
Newsgroups gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.bebox
Message-ID <[email protected]>
On 11-Feb-2008 KIYOHARA Takashi wrote:
> In addition, it knows the correction of the loader of bebox to be neces=
sary
> for another reasons.  Because the screen breaks, the boot cannot use VG=
A.

On prep, the loader self-relocates.  You could also just link the kernel =
at
0x100000 and probably load it just fine.

I'm not sure if any of that will fix your vga problem.  What state does t=
he
prom leave VGA in before it attempts to execute the loader?

Also, I've mentioned this to Jaime too, but I have been working on a unif=
ied
prep/rs6000/bebox mkbootimage binary, in powerpc/stand/mkbootimage that s=
hould
be easier for users to use, as I combined the elf2pef, gzip and mkbootima=
ge
steps all into one step.  (it's based on the prep one).  Eventually I wan=
t to
switch all three ports over to using that. However, when writing it, I'm =
not
sure if I properly dealt with the loading issues around 0x3100, so it mig=
ht
need some work.

As it stands, prep and rs6000 can probably switch to it, I just haven't f=
igured
out how I want to do the makefile goo for it yet.  For bebox, it makes im=
ages,
I just don't know if they work or not.  :)

---
Tim Rightnour <[email protected]>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/