porting info for FreeBSD's kernel?
Alfred Perlstein
alfred at freebsd.org
Thu May 21 00:53:16 UTC 2009
* Chuck Robey <chuckr at telenix.org> [090518 13:03] wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've been googling, trying to see if I can find notes regarding what needs
> changing, in what order, to adapt the FreeBSD kernel to a new processor. Anyone
> know where stuff like that can be found?
You need a cross compile toolchain of course, look into how FreeBSD
is configured for the various arches.
Then I would suggest looking at the loaders, followed by
kern/init_main.c. If you trace down init_main.c and some
of the early sysinits that should give you an idea.
You might also be able to backtrack using CVS/svn to follow
how mips or arm was done.
Note: freebsd has a decent cross-compile setup now, see
"make universe" so things should be easier to get started.
--
- Alfred Perlstein
More information about the freebsd-hackers
mailing list