From owner-freebsd-mips@FreeBSD.ORG Sun Apr 1 21:18:31 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 798A51065670 for ; Sun, 1 Apr 2012 21:18:31 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id 038978FC19 for ; Sun, 1 Apr 2012 21:18:30 +0000 (UTC) Received: by wibhr17 with SMTP id hr17so1989572wib.1 for ; Sun, 01 Apr 2012 14:18:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=CLBY31qaKmJiC9pti0F9Y6wAy0g9Pc9QxkEqpYbdVpY=; b=owLNRje14wd2j1fVYYzb18lVhjHxyIRvsNa7oY3wIcGmcZFz0UM8Hu5qYdLPTId+U3 zcfXHMyfLK3F37RAOHXNMel7NqPDEktcUEFlghdQ9AGY/+cIrrV5izNOp7Hxw5eD4TOm NedQc2lrhi7VMdIAeMDq4S6WilDIbGc+UxoFCN0Gw6udHWMtYhZfVNWD5OeWKmoGNvM2 WB2bohTrxoN6JF8459Lo5W73XjPx4lJc4JnCgP99n8skuSpXeOdAacdhf5U3ai3ZVWGC KTjfsvCKnuJFWb1thWMOXMQwc6NfNLsQ8CFH08YrIrRJErA3DrYDWUoIH1iH2hCwtYz1 NWVA== Received: by 10.180.92.71 with SMTP id ck7mr18047024wib.21.1333315109565; Sun, 01 Apr 2012 14:18:29 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.180.86.37 with HTTP; Sun, 1 Apr 2012 14:18:09 -0700 (PDT) In-Reply-To: <20120401185845.9065dc3f@tchuza> References: <20120401185845.9065dc3f@tchuza> From: Juli Mallett Date: Sun, 1 Apr 2012 14:18:09 -0700 X-Google-Sender-Auth: tHZMGM4PcqMuHr7TRZBNx_nm81s Message-ID: To: jan.augusta@fifejdy.cz Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk4LLiPqP+B1s4zI5vb7JDW5Y5QTrH641sa+uQ0Q+nHJaIkZzJere/kJ7vEQ4RWkXyYQA2n Cc: 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: Sun, 01 Apr 2012 21:18:31 -0000 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 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"