From owner-freebsd-mips@FreeBSD.ORG Wed Aug 4 14:22:33 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83665106566B for ; Wed, 4 Aug 2010 14:22:33 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1BA168FC0A for ; Wed, 4 Aug 2010 14:22:32 +0000 (UTC) Received: by wyj26 with SMTP id 26so6851571wyj.13 for ; Wed, 04 Aug 2010 07:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=aSIiFjaUtOHJbfKapsyGMXubM7Iu8Cg8itT1g49U+0g=; b=vC1S8qH7S9yWAUh5kqNVh7udhHPLi2F1Q42MI0lKf2mKFTqAUYcdbv11ToetbZFVAO u11Qa9e1MU004hXsgCRWCNem+LHlYUk6nTQfGe9/AR2D98wiiJ8UHYiJCL/Uvh2/mT0n dxXeivSz37yEcajganobwmi6YzMJYv5foWHnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XgdvINJ254ocxIDbq+O1EevlVJ9I1wc9WBIewZ94HTuWbJ9Yt0EVYwQJD5bg6k0g84 lraBI/gAE1sMGwCAOmkv0Gkp7CdZX+GZYGNFdalwZklSVtoKC7VXr+S4EW5UfdsiadVM OjMdiPpMsArFSrGeDPt8H+pkfmwSa6v0H8R7U= MIME-Version: 1.0 Received: by 10.216.177.81 with SMTP id c59mr7881562wem.8.1280931751855; Wed, 04 Aug 2010 07:22:31 -0700 (PDT) Received: by 10.216.160.10 with HTTP; Wed, 4 Aug 2010 07:22:31 -0700 (PDT) Date: Wed, 4 Aug 2010 19:52:31 +0530 Message-ID: From: "Jayachandran C." To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: HEADSUP : n64 changes in HEAD. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 14:22:33 -0000 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.