From owner-freebsd-mips@FreeBSD.ORG Sun Apr 1 21:30:47 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 368431065672 for ; Sun, 1 Apr 2012 21:30:47 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B805A8FC15 for ; Sun, 1 Apr 2012 21:30:46 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so2036638wgb.31 for ; Sun, 01 Apr 2012 14:30:45 -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=ITG+vG43JLlQ+MfR3dUQ/5pyxZE9sMMqayzvbmpjFfk=; b=grbTL0k1HZT9LDhcnMljWauk56qFv3pm3dQXxYma0XqGf4rdDtCVwVSZ0+guRpH781 0Wyt5yOF3uCXX4t0YKghxSiXilhrCYcHi12YrTAsz6bQOfyN4/kTnx+HENd2f4gYcilH EN/+jLA4pAdNj+CB8+iqhOofpg1PPpkzcHaBkzPjcRbkit67OupBaa8JCq46Tnu/usSl 6UnLH1nTEt3qmbtMFzXqn6wI0Ax/2NWD6MmQjraK2p1kl65xFhlOm7SUbmW2ETB7RNKb yqOG7Aew1BA0Xs2MgwM3oAcoLhZNSPd9l0Eue0EcdGROZc+Rhr3LCTMeHj/jmeoMLqQD 6LYA== Received: by 10.180.8.231 with SMTP id u7mr18143712wia.9.1333315845736; Sun, 01 Apr 2012 14:30:45 -0700 (PDT) Received: from rnote.ddteam.net (245-196-133-95.pool.ukrtel.net. [95.133.196.245]) by mx.google.com with ESMTPS id fl2sm45956325wib.4.2012.04.01.14.30.43 (version=SSLv3 cipher=OTHER); Sun, 01 Apr 2012 14:30:44 -0700 (PDT) Date: Mon, 2 Apr 2012 00:30:42 +0300 From: Aleksandr Rybalko To: Juli Mallett Message-Id: <20120402003042.c67e423a.ray@ddteam.net> In-Reply-To: References: <20120401185845.9065dc3f@tchuza> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQm7AmxDuR3nbgwMAiJ1AHywfe4dl6W3lPS9LeyUYHQFDbVA/VzrGDC1a114OrKAnAn7Jm/c Cc: mips@freebsd.org, jan.augusta@fifejdy.cz 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:30:47 -0000 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 :) > > 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" > _______________________________________________ > 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" -- Aleksandr Rybalko