From owner-freebsd-mips@FreeBSD.ORG Thu Nov 18 08:08:14 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 F208C1065675 for ; Thu, 18 Nov 2010 08:08:14 +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 A85FF8FC19 for ; Thu, 18 Nov 2010 08:08:14 +0000 (UTC) Received: by qwd7 with SMTP id 7so185194qwd.13 for ; Thu, 18 Nov 2010 00:08:13 -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=0aexAF9MvUE/QhELbG6ITbij36LusRxbVrDY9mJDm6M=; b=XL4PQxkjbyfk2F5/+4ZpWquySWV30Okbnno1ZIx+1hovhhmw2dN0Y6Lti/5XKD84M0 sBmsIQt+8xXJcuAGMgajylUmO2dvwN/+R1z1DzJLji6twqu43jaMVADOlvE74mGOFUBM EMY1QI4JRtYH34j2PDfdupreg13pNfa8jrV8Q= 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=Kc+vtqr78DJG165DRcxxd4UAsdm7e+G7cZLPDFXKsPldO8C/6AsQ+ZVNluTpjqxM+H 3OeQEr+EbB3SkhGcvAWfllhdVxq/90NVZ1DDnp8ZeTqvj8cxvonNLhpTBDsrdUnxsvyz 33kfW58pXtI4yuaolghl/NHbdKEVRzLlTnlgM= MIME-Version: 1.0 Received: by 10.229.91.2 with SMTP id k2mr288893qcm.147.1290067693463; Thu, 18 Nov 2010 00:08:13 -0800 (PST) Received: by 10.229.182.77 with HTTP; Thu, 18 Nov 2010 00:08:13 -0800 (PST) In-Reply-To: <201011180842.27427.milu@dat.pl> References: <201011171356.24140.milu@dat.pl> <201011180842.27427.milu@dat.pl> Date: Thu, 18 Nov 2010 09:08:13 +0100 Message-ID: From: Monthadar Al Jaberi To: Maciej Milewski Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: 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 08:08:15 -0000 2010/11/18 Maciej Milewski : > > Thursday 18 November 2010 07:53:45 Monthadar Al Jaberi napisa=B3(a): >> 2010/11/17 Maciej Milewski : >> > Dnia =B6roda 17 listopad 2010 o 11:31:42 Monthadar Al Jaberi napisa=B3= (a): >> >> > I'll try to post my script and Makefile for the mkfwimage.c (here i= s a >> >> > >> >> > sample with the ouput of routerstation for the flashing procedure: >> >> > >> >> > http://loos.no-ip.org:280/routerstation/) >> >> >> >> That would be great! I have problems with mkfwimage.c too. Interestin= g >> >> >> >> that your firmware version does not start with RSPRO as Adrian >> >> >> >> specified... >> > >> > Because it is Routerstation board not Routerstation Pro. >> >> Sorry, I just assumed from the subject line that it was RSPRO. >> >> > Please explain what problems do you have with the mkfwimage. >> >> I get invalid image error from redboot. >> >> I made changes to mkfwimage according to Adrians instruction, padded >> the kernel image I generated to be 64k and create the filesystem with >> makefs -t ffs -B big... >> >> How do you do it? >> >> -- >> //Monthadar Al Jaberi > I don't know what changes because I've got Adrian's mkfwimage and it work= s :) Where can I find Adrian's mkfwimage? Maybe I missed something.... > If kernel needs padding to 64k maybe rootfs needs the same? =A0I haven't = tried > yet with makefs but image with rootfs=3D65536 of 0's works. How do you generate the filesystem then? And actually when I checked the makefile Adrian is refering to, they made the filesystem padded by 128k and that I did to :) > > 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 la= st > 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: 6881688 bytes Invalid image format (error: -2) hmm... > > Regards, > Maciej Milewski > --=20 //Monthadar Al Jaberi