Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 14:46:08 -0500
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        "Rink Springer" <rink@freebsd.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Porting FreeBSD to a new Architecture?
Message-ID:  <ef10de9a0704041246t25800409m45026276d570dd71@mail.gmail.com>
In-Reply-To: <20070404081534.GC2546@rink.nu>
References:  <ef10de9a0704040023h65a5a2f7icc82f5f305ed2cee@mail.gmail.com> <20070404081534.GC2546@rink.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/4/07, Rink Springer <rink@freebsd.org> wrote:
> Hi Nikolas,
>
> On Wed, Apr 04, 2007 at 02:23:44AM -0500, Nikolas Britton wrote:
> > I'm looking for documentation that could possibly help me port FreeBSD
> > to a new architecture. I'm mainly interested in how you guys did the
> > xbox and amd64 ports. i.e. x86 instruction set.
>
> I can answer the Xbox question for you... basically, what I did was get
> a good understanding of how the xbox internals worked (i.e. what the
> exact differences are between an ordinary PC and an Xbox).
>
> Based on this understanding, I patched the Xbox boot loader (Cromwell)
> so it could properly load FreeBSD ELF images. Once that was done, I
> worked my way up from the first piece of code executed
> (that is in i386/i386/locore.s). I crafted some assembly code which
> could control the Xbox LED's, and I used this to determine where the
> Xbox would crash...
>
> Once I got the initial machine-dependant stuff out of the way, I created
> a console driver so I could see what was going on (which I later on
> totally rewrote); and worked my way up from here... Expect a lot of
> painstaking debugging in the progress...
>

Thanks!

Can anyone explain how the /usr/src/sys/conf directory works? I'd like
to get a better feel of how everything is laid out in sys but I can't
find anything in the developer handbook or man hier.



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