From owner-freebsd-mips@FreeBSD.ORG Mon Apr 2 20:20:23 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90AC110656A8 for ; Mon, 2 Apr 2012 20:20:23 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 11BC38FC16 for ; Mon, 2 Apr 2012 20:20:22 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so3424457bkc.13 for ; Mon, 02 Apr 2012 13:20:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=CQqo6v2xM6MPAxXFYeNf6YnfbUdm747t+gIBqURnm6I=; b=I5018zlBBRu/ePu3MARO7SrGH2BHBAokUT6UNQw1cmfr33454Xp1NcWOxGKG/HMgZ+ CgZynxqnM3yroCx/y82uC3QDmfUmNp+l1nok8pu/8d0BhrJep4C42MlUpOJGQoz3i0qp 17Hq8xq7VzXQeNrSF9RhX2a/DPWo/JLli3RovNOAF4c7xkuesyJWSpQga+ApF5E+xr9I dVNvHDlco+ZMe2Bd0hnEMzTNLTXIRb80dJ/VjEflboMnF05wpKHTIJFXGtw3p8WU0Ojz X1eLbt4faixgTY+vgrb3BC+khQfkK1bQ6FtLEyHKVI/+9OkxQSKQnqa+YNwF+pu05Iup e2ZQ== Received: by 10.204.153.215 with SMTP id l23mr4230588bkw.11.1333398021379; Mon, 02 Apr 2012 13:20:21 -0700 (PDT) Received: from rnote.ddteam.net (244-233-133-95.pool.ukrtel.net. [95.133.233.244]) by mx.google.com with ESMTPS id r8sm21339103bki.2.2012.04.02.13.20.19 (version=SSLv3 cipher=OTHER); Mon, 02 Apr 2012 13:20:20 -0700 (PDT) Date: Mon, 2 Apr 2012 23:20:17 +0300 From: Aleksandr Rybalko To: jan.augusta@fifejdy.cz Message-Id: <20120402232017.558b0f75.ray@ddteam.net> In-Reply-To: <20120402091516.8e695f89@tchuza> References: <20120402005626.b27929c0.ray@ddteam.net> <20120402091516.8e695f89@tchuza> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlezj1BRMfrCGdeZyJTJe7H61n7p18HClhPspoO4mV97QSe12/oXN9OGTsvC1RnuFXAmDqJ Cc: Juli Mallett , mips@FreeBSD.org Subject: Re: How to compile and install Freebsd to Routerstation PRO 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: Mon, 02 Apr 2012 20:20:23 -0000 On Mon, 02 Apr 2012 11:15:16 +0200 "Jan Augusta" wrote: > Hello, > your docs are very fine ;) > > I succesfully install FreeBSD on RSPRO ;) > > But, there is problem with writing changes to flash. When I > change /etc/rc.conf and reboot system no changes was saved :( "This not bug, this feature" :) Since we still not have good FS for NOR flashes, we use it as Read-Only, but few blocks (in most cases 64k, sometime 128k) we use for store tar.gz of /etc. To save it you need just run: /etc/save_etc > Are anywhere ports to install such as quagga, iperf, mc, snmpd, > trafshow, etc? Think bsnmpd can easily be added by creating simple profile (see profiles/ssh for example). How to use ports you can see here: http://ray-freebsd.blogspot.com/2011/09/cross-compiling-ports-for-freebsd.html As I was specify there - it is incorrect way, just because ports cross-building not yet done. Software that we have in contrib directory it is copy of projects source code after `make configure` in port. So ports(7) system already apply FreeBSD patches and ./configure done creating configuration headers. But please note: everything done for your host system, not for mips in your box. Then create Makefiles in target dir. You can use DHCP family for reference (target/lib/libdhcp, target/sbin/dhclient, target/sbin/dhcpd). And of course ask me if have something to ask :) And IRC channel #zrouter @EFNet wait for you :) > Thanks > > Jan > _____ > > From: Aleksandr Rybalko [mailto:ray@ddteam.net] > To: Juli Mallett [mailto:jmallett@FreeBSD.org] > Cc: jan.augusta@fifejdy.cz, mips@FreeBSD.org > Sent: Sun, 01 Apr 2012 23:56:26 +0200 > Subject: Re: How to compile and install Freebsd to Routerstation PRO > > On Sun, 1 Apr 2012 14:33:29 -0700 > Juli Mallett wrote: > > > On Sun, Apr 1, 2012 at 14:30, Aleksandr Rybalko > > wrote: > > > On Sun, 1 Apr 2012 14:18:09 -0700 > > > Juli Mallett wrote: > > > > > >> Hi Jan, > > >> > > >> Do you want to boot the RS Pro from network, or from NAND? If > > >> from network, there are probably instructions elsewhere that > > >> would be more useful, and hopefully someone else knows where to > > >> link to (I don't.) > > >> > > >> If you want to boot from NAND, things get a little tricky. > > >> FreeBSD doesn't have usable NAND support yet, so you'll have to > > >> boot Linux to copy the kernel to NAND flash, and you'll have to > > >> erase NAND from the bootloader before doing that otherwise Linux > > >> may place the FreeBSD kernel outside of the range that > > >> RouterBOOT is willing to read from. Also, you kernel has to be > > >> under 4MB big for the same reason. > > > > > > IIRC RSPro have 16M of NOR flash (cfi driver), not NAND :) > > > > Yes, you should ignore me. I had a massive brain-related failure. My > > answers were about RB450G, the original question was about RS Pro. > > Sorry for the noise — that's what I get for using both :) > > > > Someone else can say how to setup RS Pro. Luckily lots of people > > have those and it sucks a lot less :) > > Yep, it is why we doing zrouter :) > http://zrouter.org/ > > Jan, let me know if something not so clear to understand in our docs. > > WBW > -- > Aleksandr Rybalko > > > -- Aleksandr Rybalko