From owner-freebsd-mips@FreeBSD.ORG Thu Nov 18 12:43:53 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 369F010656A6 for ; Thu, 18 Nov 2010 12:43:53 +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 DDFCC8FC1A for ; Thu, 18 Nov 2010 12:43:52 +0000 (UTC) Received: by qwd6 with SMTP id 6so199971qwd.13 for ; Thu, 18 Nov 2010 04:43:52 -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 :content-transfer-encoding; bh=+gLHy7wi2jVEEC1lnsBdaDbiW7ax44ar2IwDoP6bOd0=; b=JzScaFn3EgbPskKl2atozTOAGFvUlU9Ty6y/5uVcMSoMoCV9FsSrSQoY+3bfc2RT4m kmSArmGLBpA9kIUuR5i20xi9CfCCPUpye3LrBfo+a9HaYpdHDipG0Iddwtnkk/Arz/F6 dwzxigULF72aYX0ZFmCT95JMSWy6XRjwSBjdw= 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:content-transfer-encoding; b=UklySzW4WaVL7mjzAkv8AsLY1VlejCRjC4tpHlwL+GY8oa5Y46gDVF7JjuWZ6kBf7U vEQuu4FEaK/S19ybXuzksSEYEBCFGQsrBYgKuFgvxD50a+RIIETxmBMwgFX2sfV1UBMz nPgqVm179dG8P88IP+w1lxf6rRFuVJsH9i32g= MIME-Version: 1.0 Received: by 10.229.189.207 with SMTP id df15mr529474qcb.299.1290084232167; Thu, 18 Nov 2010 04:43:52 -0800 (PST) Received: by 10.229.182.77 with HTTP; Thu, 18 Nov 2010 04:43:51 -0800 (PST) In-Reply-To: References: <201011180842.27427.milu@dat.pl> <201011181136.47152.milu@dat.pl> Date: Thu, 18 Nov 2010 13:43:51 +0100 Message-ID: From: Monthadar Al Jaberi To: Luiz Otavio O Souza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Thu, 18 Nov 2010 12:43:53 -0000 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 br, On Thu, Nov 18, 2010 at 12:07 PM, Luiz Otavio O Souza wrote: > On Nov 18, 2010, at 8:36 AM, Maciej Milewski wrote: > >>>> Do you have proper name of this fw image? I've read somewhere that it'= s >>>> required. >>>> My working name is RSPRO.ar7100pro.FreeBSD.Test and you can change the >>>> last two words for sure. >>> >>> You mean the name of the file that mkfwimage generates? >>> I just called it something like firmware-image... >>> >>> I changed the name, but still got: >>> TFTPD: Incoming connection from 192.168.1.102:25789 >>> Received: =A06881688 bytes >>> Invalid image format (error: -2) >> Actually not the filename but if you run mkfwimage with parameters then = you >> have the version string which in my case is as above. >> >> For building image I run: >> mkfwimage -v RSPRO.ar7100pro.FreeBSD.Test -B RSPRO -o image.bin -k kerne= l.gz\ >> -r rootfs >> > > > Yes, that is correct, i've used the following two version strings with su= ccess: > > RS.ar7100.FreeBSD - for routerstation > > RSPRO.ar7100pro.FreeBSD - for rspro > > Just pick the correct one for your board. > > I've my scripts here (together with mkfwimage files): /loos.no-ip.org:280= /rspro/rs-mkfwimage.tar.gz > > Hope it helps. > > Cheers, > Luiz > > --=20 //Monthadar Al Jaberi