From owner-freebsd-arm@FreeBSD.ORG Sat Feb 23 06:27:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B848C899 for ; Sat, 23 Feb 2013 06:27:10 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ia0-x22e.google.com (mail-ia0-x22e.google.com [IPv6:2607:f8b0:4001:c02::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 91370E8C for ; Sat, 23 Feb 2013 06:27:10 +0000 (UTC) Received: by mail-ia0-f174.google.com with SMTP id u20so1155994iag.5 for ; Fri, 22 Feb 2013 22:27:10 -0800 (PST) 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=7QuKgryAg2G8zLEbu3E7Z4yAmAzdgNniVpZdat3azLs=; b=Br0tWHqK5gNGUqo4ZBD0tN1yoARGCIaOo0Kr7gFBpgFC+p8fbMAU3H1XIUDOA7ZZIY UxYlwV4FDZ6q3AGM6IqAGnVSld8unVe9vpr+G9z8UHZ5V+bDqN6VVjubS+dRaXYVWGw6 XwXSWKTb/ruB8Qijh+/ibk8bFHthpiI+IGKfpKI6Cx1baKUgoWm89QzKUiMAPni24zTU bUy4hPU411SIltoiKSk1CB6canm7o5Fv0dJs7rKfy5w+XHHelL4dTwELHklnfRcHmjS9 3FwWMnEDlVfsh7PnQB4oP9ZoWKlGb9uYcnuGYCXStvRBT9fOr2jlZIVtPi62QsbUvCwQ 59IQ== MIME-Version: 1.0 X-Received: by 10.50.156.198 with SMTP id wg6mr456208igb.47.1361600830266; Fri, 22 Feb 2013 22:27:10 -0800 (PST) Received: by 10.64.6.230 with HTTP; Fri, 22 Feb 2013 22:27:10 -0800 (PST) In-Reply-To: <20130222204949.9c3c315077868dcd88a80200@getmail.no> References: <20130222204949.9c3c315077868dcd88a80200@getmail.no> Date: Sat, 23 Feb 2013 14:27:10 +0800 Message-ID: Subject: Re: Cubieboard - how-to? From: Ganbold Tsagaankhuu To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 06:27:10 -0000 Hi, On Sat, Feb 23, 2013 at 3:49 AM, Torfinn Ingolfsen wrote: > Hello, > > In a surprise move (not even I did see it coming) I was able to get a Cubieboard (bought it secondhand locally) today. > It is the 2012-09-09[2] revision, according to the text on the board itself. > > Naturally, I want to run FreeBSD on it (well, it is natural for me). > - is there a how-to or a writeup somewhere on getting FreeBSD running on the Cubieboard? A10 SoC support is in HEAD, but in beginning period. As for running FreeBSD, there are some netboot tips for Hackberry (uses same SoC A10 as cubieboard) and some scripts files that should work for cubieboard too. Please check those at: http://kernelnomicon.org/?p=298 FYI, I run my cubieboard loading/booting kernel from SD card. > (everything from install on what? usb stick, microSD, sata hard drive - to which bootloader? - to do you need a serial connection?) > - are there ready-made FreeBSD images available somewhere? > > I tried googling, but didn't get much > For very quick testing you can grab kernel from: http://people.freebsd.org/~ganbold/cubieboard/kernel and try to boot from net/SD card using files (script, uboot, spl etc) at http://people.freebsd.org/~gonzo/arm/hackberry/ Kernel assumes you have rootfs on usb stick's second partition (like da0s2) There is no SATA driver yet as well as SD and NAND drivers. usb works (2 host usb interfaces), so I only tested mounting rootfs using usb stick. There is no ethernet driver yet too. So basically board support is in beginning stage but in pretty good shape. Also uart related diff is sent for the review. For test however you can use usb connected devices like maybe ethernet, hard disk etc. If you need rootfs I can send you the link off the list, where you can download the image. You can also build your own rootfs using Tim's scripts (https://github.com/kientzle/freebsd-beaglebone, you can build for BeagleBone and use its disk image) hope this helps, Ganbold > References: > 1) http://cubieboard.org/ > 2) http://linux-sunxi.org/Cubieboard > -- > Torfinn Ingolfsen > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"