From owner-freebsd-mips@FreeBSD.ORG Mon Apr 13 07:57:29 2009 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 B7B69106564A for ; Mon, 13 Apr 2009 07:57:29 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5291A8FC15 for ; Mon, 13 Apr 2009 07:57:29 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by ewy19 with SMTP id 19so1859918ewy.43 for ; Mon, 13 Apr 2009 00:57:28 -0700 (PDT) Received: by 10.216.22.206 with SMTP id t56mr1452245wet.131.1239607776361; Mon, 13 Apr 2009 00:29:36 -0700 (PDT) Received: from terran.mk.farlep.net (i249-101-19-89.vpdn.way.kv.chereda.net [89.19.101.249]) by mx.google.com with ESMTPS id p10sm12192054gvf.1.2009.04.13.00.29.35 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Apr 2009 00:29:35 -0700 (PDT) Sender: Alex RAY Date: Mon, 13 Apr 2009 10:29:23 +0300 From: Alexandr Rybalko To: "M. Warner Losh" Message-Id: <20090413102923.44a5d4be.ray@dlink.ua> In-Reply-To: <20090408.225222.-1540396370.imp@bsdimp.com> References: <22964143.post@talk.nabble.com> <20090408.225222.-1540396370.imp@bsdimp.com> Organization: D-Link X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: lucky.veeramallu@gmail.com, freebsd-mips@freebsd.org Subject: Re: how to change entry point for secondary boot loader ? 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: Mon, 13 Apr 2009 07:57:30 -0000 On Wed, 08 Apr 2009 22:52:22 -0600 (MDT) "M. Warner Losh" wrote: >> In message: <22964143.post@talk.nabble.com> >> Lucky443 writes: >> : >> : Hi All, >> : I have a KMC board with mips VR4131 processor. The target board >> already : having cmon boot loader on flash. Now I need to put my >> yamon boot loader : which I modified according to the requirement on >> the flash. As we know MIPS : have fixed starting address 0xbfc00000, >> how to change this address to other : address so that after power on >> it can enter to the new address (boot : loader). >> : If any one has some idea, please help me >> : Thanks in advance. >> >> You can't change MIPS' power-on address. It is hard-coded for a >> reason... >> >> If you put yamon on the flash, it should start instead of cmon... Good day. Some MIPS board have ability to add alternate window if flash bigger than 4M, for BCM5354 chip it is 0x1c000000, when flash 8M size. Then lower 4M accessible via 0x1fc00000 and via 0x1c000000, bigger 4M only via 0x1c000000, because 0x1fc00000 segment end on 0x20000000 boundary. >> >> Warner >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" -- Alexandr Rybalko