From owner-freebsd-mips@FreeBSD.ORG Wed May 2 14:19:03 2007 Return-Path: X-Original-To: freebsd-mips@FreeBSD.org Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E477016A400 for ; Wed, 2 May 2007 14:19:03 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id C0DE713C457 for ; Wed, 2 May 2007 14:19:03 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 806B321C367 for ; Wed, 2 May 2007 10:19:02 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 02 May 2007 10:19:04 -0400 X-Sasl-enc: 9jCjUvG0d839t//upmAFKEBoc+SZEBU1ov1N6c5MbwP3 1178115543 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 9B7E0AE98 for ; Wed, 2 May 2007 10:19:03 -0400 (EDT) Message-ID: <46389DD1.6080307@incunabulum.net> Date: Wed, 02 May 2007 15:18:57 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-mips@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Booting FreeBSD on Sentry5 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, 02 May 2007 14:19:04 -0000 To do this you need to do the following: checkout mips2 branch cd into it make TARGET_ARCH=mips kernel-toolchain cp sys/conf/ldscript.mips sys/conf/ldscript.mips.bak cp sys/conf/ldscript.mips.cfe sys/conf/ldscript.mips make TARGET_ARCH=mips buildkernel KERNCONF=SENTRY5 copy kernel from objdir to a tftp server on wgt634u with console attached, from cfe prompt: boot -elf xx.xx.xx.xx:/kernel ...where xx.xx.xx.xx is the IP address of your tftp server. then watch the sparks fly. Note that the console support currently uses the same kludge as the Malta target, that is, the memory addresses which the uart is mapped at are hardcoded. DELAY() is stubbed as the clock needs to be calibrated. BMS