From owner-freebsd-mips@FreeBSD.ORG Fri Mar 14 13:26:33 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16792ACD for ; Fri, 14 Mar 2014 13:26:33 +0000 (UTC) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0FC2A30 for ; Fri, 14 Mar 2014 13:26:32 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Fri, 14 Mar 2014 14:26:32 +0100 id 004FCD34.53230388.00006F96 Date: Fri, 14 Mar 2014 14:26:30 +0100 From: Milan Obuch To: "=?ISO-8859-1?Q?=D6zkan?= KIRIK" Subject: Re: MIPS installing and etherswitch questions Message-ID: <20140314142630.77f95fff@zeta.dino.sk> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; i386-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 13:26:33 -0000 On Fri, 14 Mar 2014 15:03:41 +0200 "=C3=96zkan KIRIK" wrote: > Hi >=20 > I'm interested with FreeBSD MIPS. > Which devices can boot FreeBSD from onboard flash? > Can we use etherswitch ports as network interfaces ? >=20 > I have an Mikrotik RB750UP. I saw that FreeBSD can boot over network. > Can freebsd be installed to onboard flash? >=20 > Best regards, > Hi, if you want to do some research and development, it helps. Main trouble here is, if I am not mistaken, the RB750 does not have serial console. This would be great help. Basically, there is support for booting from onboard flash, but it depends. Mikrotik devices have RouterBoot for starting an OS, so if you could but some image containing FreeBSD on your device, it could work. Problem is exact image construction. To put prepared image to flash, one can use Mikrotik's NetInstall, if it accepts an image. I did not test this possibility yet. I strongly prefer having serial console, which enables me to work with kernel even if something does not work right. This way I can configure RouterBoot to load a kernel from network using DHCP/TFTP servers. Etherswitch can be used as full (depends on chip used) featured vlan capable switch, so if CPU port is arge1 (as in a RouterStationPro from Ubiquiti I have), you could make arge1.1, arge1.2 up to defined max number of vlan groups arge1.n interfaces and configuring the switch the way you need. It does not yet work for me in every detail, but well enough for three externally accessible ports. Mikrotik devices are good as they are, but it is sometimes hard to find relevant info on them, they are a bit 'closed' in their own world. Ubiquiti devices are somewhat more 'open', but you can every time try to find an answer in OpenWrt sources, if you can find working kernel for your device and can work with Linux sources. In any case, if you think it is interesting for you, please do some research and I am sure if you will have any question, someone will help you. Regards, Milan