Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2012 14:18:09 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        jan.augusta@fifejdy.cz
Cc:        mips@freebsd.org
Subject:   Re: How to compile and install Freebsd to Routerstation PRO
Message-ID:  <CACVs6=9%2BJpXvJKeeA0J55nfZQx3d679LArJH22LGUd89q45Cww@mail.gmail.com>
In-Reply-To: <20120401185845.9065dc3f@tchuza>
References:  <20120401185845.9065dc3f@tchuza>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

If you can get that all sorted out (and I'm happy to help you if this
isn't too daunting) you'll need to use the patches Patrick Kelsey
posted recently to add MMC support on SPI buses to keep your root file
system on an SD card.

It's kind of a pain right now, and I haven't included detailed
instructions here because this all is in a bit of a state of flux
right now.  Someone should be committing Patrick's MMC driver soon
(I'll likely do it if nobody else does) and then NAND support should
be improving in the near future.  It may be that in the very near
future it will be possible to simply netboot a kernel with a
compiled-in root filesystem that then installs the kernel and root
filesystem for you, but for now it's a lot of work piecing together a
working NAND setup, and then using makefs to create a big-endian
filesystem and put it on an SD card.  If you want to give it a shot
right now, do let me know, and I'll gather up the more detailed
instructions I have and post them to the list.

Thanks,
Juli.

On Sun, Apr 1, 2012 at 11:58, Jan Augusta <jan.augusta@fifejdy.cz> wrote:
> Hello,
> can anybody give me a manual how to compile and install Freebsd to Routerstation PRO?
>
> Thanks
> Jan
>
> _______________________________________________
> freebsd-mips@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACVs6=9%2BJpXvJKeeA0J55nfZQx3d679LArJH22LGUd89q45Cww>