How to compile and install Freebsd to Routerstation PRO
Aleksandr Rybalko
ray at ddteam.net
Mon Apr 2 20:20:23 UTC 2012
On Mon, 02 Apr 2012 11:15:16 +0200
"Jan Augusta" <jan.augusta at fifejdy.cz> 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 at ddteam.net]
> To: Juli Mallett [mailto:jmallett at FreeBSD.org]
> Cc: jan.augusta at fifejdy.cz, mips at 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 <jmallett at FreeBSD.org> wrote:
>
> > On Sun, Apr 1, 2012 at 14:30, Aleksandr Rybalko <ray at ddteam.net>
> > wrote:
> > > On Sun, 1 Apr 2012 14:18:09 -0700
> > > Juli Mallett <jmallett at FreeBSD.org> 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 <ray at ddteam.net>
>
>
>
--
Aleksandr Rybalko <ray at ddteam.net>
More information about the freebsd-mips
mailing list