From owner-freebsd-mips@FreeBSD.ORG Fri Nov 19 11:06:15 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 50E78106564A for ; Fri, 19 Nov 2010 11:06:15 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 05F648FC14 for ; Fri, 19 Nov 2010 11:06:14 +0000 (UTC) Received: by qwb8 with SMTP id 8so14429qwb.13 for ; Fri, 19 Nov 2010 03:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=7Mm5k/dwZ/HT+X/pKZqBZQQD0zMg6djn16sG+LwfQSU=; b=Q346YGEtIexJAPDzjUZ0HezsQIu42PV+QIEl0svtP9Iu5OhXXuUvjHqRYfdLBAnrm9 ZDYtkrCqIABfk6pXag3m8DrcKCUj3SDdnycxjkF77AdUxdZ0Yh1FjT5lc7zCJBjadL0O dLKQ+JkxdHDDwKEgj3PJYJFvEvhlOivzsm+cg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iu7pN+v4o8rbPMnKiZWl05Al0B5SldmFCNGebz3+trReYGiKhVyfbxwT1MROlhXX7Q rBSUxPfWnQ2TWHjZYYvha+Wg/FBYW6hc0Tlh2uIMVhKAQrdkuZACvUAxEaMP5q8Hr7Bi 5NlVu5lQs1W0jJ7fBPinbP9ngbqFl8Thyw5gE= MIME-Version: 1.0 Received: by 10.229.82.85 with SMTP id a21mr1717725qcl.71.1290164774071; Fri, 19 Nov 2010 03:06:14 -0800 (PST) Received: by 10.229.182.77 with HTTP; Fri, 19 Nov 2010 03:06:13 -0800 (PST) In-Reply-To: <201011191201.47230.freebsd-mips@dino.sk> References: <201011191201.47230.freebsd-mips@dino.sk> Date: Fri, 19 Nov 2010 12:06:13 +0100 Message-ID: From: Monthadar Al Jaberi To: Milan Obuch Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org 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:06:15 -0000 On Fri, Nov 19, 2010 at 12:01 PM, Milan Obuch wrote: > 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... mm, as I understood it it should be easy for ffs2 to work, just need to fix some macros so that the code that probes for the superblock work... reading/writting to flash with correct sectorsize is no problem.... > > Regards, > Milan > -- //Monthadar Al Jaberi