From owner-freebsd-arm@FreeBSD.ORG Mon Feb 3 02:30:55 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F4663B2; Mon, 3 Feb 2014 02:30:55 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 24ED11F3B; Mon, 3 Feb 2014 02:30:54 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id s132Ukof022272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 3 Feb 2014 03:30:46 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id s132UZce084695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Feb 2014 03:30:35 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id s132UZjG043775; Mon, 3 Feb 2014 03:30:35 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id s132UY9V043774; Mon, 3 Feb 2014 03:30:34 +0100 (CET) (envelope-from ticso) Date: Mon, 3 Feb 2014 03:30:34 +0100 From: Bernd Walter To: Ian Lepore Subject: Re: Utilite Freescale i.MX6 support Message-ID: <20140203023034.GA43721@cicely7.cicely.de> References: <52E94AE3.5080404@nomadlogic.org> <1391374550.13026.60.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1391374550.13026.60.camel@revolution.hippie.lan> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: ticso@cicely.de List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 02:30:55 -0000 On Sun, Feb 02, 2014 at 01:55:50PM -0700, Ian Lepore wrote: > On Wed, 2014-01-29 at 10:39 -0800, Pete Wright wrote: > > Hello, > > I have recently purchase this device and am interested in trying to get > > FreeBSD running on it: > > > > http://utilite-computer.com/web/utilite-models > > > > I currently have the system booting fine with the provided Debian image > > they ship with these system. At the end of this message is the output > > of dmesg from linux-land. > > > > Helpful documentation is also available here: > > http://utilite-computer.com/download/documentation//utilite/utilite-technical-reference-manual.pdf > > > > From what I can tell Utilite has done a good job at being open about > > their spec's and components. Hopefully this will help get it ported. I > > am personally excited about the dual Intel GBE NIC's on this system and > > would love to test this box out as an embedded router/firewall/nat device. > > > > Is there a good reference I can start from for this chipset? I am not > > %100 clear on which guide I should be following. > > > > Thanks in advance! > > -pete > > > > > > > > [snipped] > > > > I'm sorry it has taken me so long to reply to this. Until today my > reply would have had to been basically "freebsd will only kinda-sorta > run on that box," and every day I've been hoping to fix the > show-stopping bug and have something better to report. As of today > (r261410) the infamous wrong-endian bug is fixed and I think you won't > have too much trouble getting freebsd running on that unit. > > There is, however, still some work to do. Right now we have i.MX6 > drivers for uart, sdcard, usb, and the on-chip ethernet. We do not yet > have imx6 drivers for AHCI/SATA, PCIe, or any audio/video hardware. I'm > not sure about the wifi. The AHCI and PCIe shouldn't be too hard, since > both are standards and we have standard drivers that probably just need > some glue code written. Our current AHCI driver needs to be refactored > a bit to strip out the assumption that the AHCI controller lives on a > PCI bus. While the Intel NIC won't work until we have a PCIe driver, > the onboard GbE will work right now. According to the block diagram it is same as with the wandboard in that the wifi is connected via SDIO to one of the SDMMC controllers, of which the iMX6 has 4 alltogether. AFAIK there is some SDIO support in progress or even exists, but don't know about SDIO-wifi so far. > We don't have SMP working yet; it's probably the next major area I'm > going to work on for imx6. Freebsd will boot on a dual or quad core > imx6 chip, but only one core will run right now. It shouldn't take too > long, others have got it working with some degree of success, I just > haven't caught up yet. > > To get started, you should probably start with the Wandboard dts files > and kernel config. One thing that jumps out at me is that the Utilite > uses uart ports 2 and 4, so to have a serial console for debugging > you'll need to change the dts source to enable uart2 and select it as > the console in the choosen {...} block. Unfortunately, because it's > Compulab, you'll probably have to buy their overpriced serial cable with > the weird connector on it (they do the same thing on the FitPc2). -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.