From owner-freebsd-mips@FreeBSD.ORG Thu May 16 01:35:01 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CCD21EAE; Thu, 16 May 2013 01:35:01 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 41E5A7B3; Thu, 16 May 2013 01:35:01 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id c11so2216682wgh.10 for ; Wed, 15 May 2013 18:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=pF1r9KIWAZj/C+z1YmkP5Y2kmRvMoiFwkcxvYfpB4hk=; b=B2je0dScoMP0vYVf3jWexyOFbk1lzYZr0ux6enG2CqB8HwLqsP5eonTGk5WzJkMp2K Z5MoKAv55ShjNrLpPLN7SERbATE3LZcVdFRJwaqGYbd7zP1shl7H1tsrWYUfWc3R9Acl ndF6TNVbDUVprteoDaWKzxqKNri1Tlohrx/dgrym2cJm/Qf6xXpKXx2wdS7prP8H3lKW 87ZcOWvjbzdiYoSPTnINzHQ0X1/Q4kLxTU1JbR+b6SWrXebWi2qsavPh30NfZtLlrPyj hSGuicHHZ3vxEaWFYX491pGjTjkpLSyG7cejlSDw9dsMcCEnGPr6rlTrJQTW8A40vuG1 nbGQ== MIME-Version: 1.0 X-Received: by 10.180.212.3 with SMTP id ng3mr19647391wic.22.1368668100343; Wed, 15 May 2013 18:35:00 -0700 (PDT) Received: by 10.217.117.202 with HTTP; Wed, 15 May 2013 18:35:00 -0700 (PDT) In-Reply-To: References: <518ACFB3.5080104@gmail.com> Date: Wed, 15 May 2013 22:35:00 -0300 Message-ID: Subject: Re: FreeBSD on Mikrotik RB751G-2HnD From: Luiz Otavio O Souza To: Andrew Thompson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Piotr Kubaj , freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 01:35:01 -0000 On 15 May 2013 22:02, Andrew Thompson wrote: > On 16 May 2013 12:34, Luiz Otavio O Souza wrote: > > On 8 May 2013 19:20, Piotr Kubaj wrote: > > > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> Hi all. I've recently noticed that FreeBSD is quite well supported on > >> MIPS routers. I myself own Mikrotik RouterBoard RB751G-2HnD (specs on > >> http://routerboard.com/RB751G-2HnD ). It seems to be supported. So, is > >> there anyone running FreeBSD on this specific model or a similar one? > >> Can I get some how-to on installing FreeBSD? One thing bugs me, most > >> of these supported routers have 16-64MB flash. How is FreeBSD supposed > >> to fit in that? Is some USB drive required? Thanks, Piotr Kubaj. > >> > > > > Hi Piotr, > > > > Well, its kind of supported but there is no driver for the NAND on it, > > which means you can boot from NAND yet. > > I understand RouterBOOT expects /kernel on a yaffs filesystem. There > is no yaffs support so could u-boot be written there from Linux and > chainload FreeBSD? Yes, it is possible but we would need an appropriate uboot for it. But we don't need to do that, we can simply create a yaffs image (with mkyaffs2) and write it to NAND. I'd it working on RB450 once and it boots just fine. If i remember correctly we can easily create a port for mkyaffs[2]. One thing that would be nice about the uboot is remove the 4MB limitation for the kernel 'slice', but the good thing is that RouterBOOT can read a gzipped kernel. Luiz