From owner-freebsd-mips@FreeBSD.ORG Thu Nov 18 07:42:17 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 152F11065674 for ; Thu, 18 Nov 2010 07:42:17 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id C2B7F8FC17 for ; Thu, 18 Nov 2010 07:42:16 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 1095467; Thu, 18 Nov 2010 08:42:15 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m31GfwjPi6yk; Thu, 18 Nov 2010 08:42:09 +0100 (CET) Received: from snifi.laptop (unknown [87.205.144.182]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 8297A30; Thu, 18 Nov 2010 08:42:09 +0100 (CET) From: Maciej Milewski To: Monthadar Al Jaberi Date: Thu, 18 Nov 2010 08:42:27 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; i386; ; ) References: <201011171356.24140.milu@dat.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <201011180842.27427.milu@dat.pl> 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 07:42:17 -0000 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 is= a > >> >=20 > >> > sample with the ouput of routerstation for the flashing procedure: > >> >=20 > >> > http://loos.no-ip.org:280/routerstation/) > >>=20 > >> That would be great! I have problems with mkfwimage.c too. Interesting > >>=20 > >> that your firmware version does not start with RSPRO as Adrian > >>=20 > >> specified... > >=20 > > Because it is Routerstation board not Routerstation Pro. >=20 > Sorry, I just assumed from the subject line that it was RSPRO. >=20 > > Please explain what problems do you have with the mkfwimage. >=20 > I get invalid image error from redboot. >=20 > 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... >=20 > How do you do it? >=20 > -- > //Monthadar Al Jaberi I don't know what changes because I've got Adrian's mkfwimage and it works = :) If kernel needs padding to 64k maybe rootfs needs the same? I haven't trie= d=20 yet with makefs but image with rootfs=3D65536 of 0's works.=20 Do you have proper name of this fw image? I've read somewhere that it's=20 required. My working name is RSPRO.ar7100pro.FreeBSD.Test and you can change the last= =20 two words for sure. Regards, Maciej Milewski