Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2010 19:52:31 +0530
From:      "Jayachandran C." <c.jayachandran@gmail.com>
To:        freebsd-mips@freebsd.org
Subject:   HEADSUP : n64 changes in HEAD.
Message-ID:  <AANLkTimykzp%2Bv-x1V_u%2Bp3Q9BUW=vdbv84D0e%2BTwJ1Em@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have checked the n64 changes into HEAD.  The changes areto add 3 level
page tables for n64 compilation.  Juli's work (from octeon branch) had added
most of kernel and userspace code for n64, other than the page table code,
so this is just one of the last pieces of the whole effort.  I have already
checked in fixes to many user/kernel components for n64 during the past
week.

I have tried quite a bit to make sure that the new 32 bit code in pmap.c is
completely equivalent to the earlier code.  If you see any regressions in
the o32 compilation, please let me know.

To try out 64 bit, the environment and commands are:
--
export TARGET=mips
export TARGET_ARCH=mips
export TARGET_CPUTYPE=mips64
export TARGET_BIG_ENDIAN=y
export TARGET_ABI=n64
export KERNCONF=XLR64
make buildworld  -DWITHOUT_CDDL -DWITHOUT_USB -DWITHOUT_BLUETOOTH
make buildkernel
--

The n64 kernel and userspace comes up in multi-user, and is pretty stable.

There is still some work to do:
- SMP is still untested
- PTE entries are still 32 bit, physmem >4GB is not yet supported
- ddb does not fully work yet
- thread libraries are not tested yet.
- page table page allocation code needs to be updated to use XKPHYS.
- buildworld still has some components (see -D above) which does not
compile.
- code for 32 bit compatibility is still not there, so only n64 executables
run on n64 kernel.

But other than this, if you come across any crash or failure in n64 please
let me know.

Thanks,
JC.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimykzp%2Bv-x1V_u%2Bp3Q9BUW=vdbv84D0e%2BTwJ1Em>