From owner-freebsd-mips@FreeBSD.ORG Fri Nov 19 11:01:39 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 3AE871065670 for ; Fri, 19 Nov 2010 11:01:39 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id ABA118FC14 for ; Fri, 19 Nov 2010 11:01:37 +0000 (UTC) Received: from door.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Fri, 19 Nov 2010 12:09:33 +0100 id 00033C1F.4CE65AED.000028C9 From: Milan Obuch To: freebsd-mips@freebsd.org Date: Fri, 19 Nov 2010 12:01:45 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011191201.47230.freebsd-mips@dino.sk> Cc: Subject: Re: First RSPRO deployed ! 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: Fri, 19 Nov 2010 11:01:39 -0000 On Thursday 18 November 2010 13:43:51 Monthadar Al Jaberi wrote: > OMG, thank you Luiz for the file.... Adrian forgot to mention that you > need to add kern_memstart field to the fw_layout_data structure!!! > > Its works...so I guess to boot from flash we need to play with the > flash driver and ffs... thats a totally different story though :P > Well, with mkfwimage it is possible to write FreeBSD into flash on RSPRO and boot from it. I just verified this. Using it the way it's used in mkflash script has one drawback, I think - your setup is static and you are not using whole flash to its best potential as well. Actually, with patches you are able to read flash (verified) and probably write to it, too, so the 'only' remaining part is ffs tuned to use it... Regards, Milan