From owner-freebsd-arm@FreeBSD.ORG Mon Mar 2 22:33:54 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D17D063E for ; Mon, 2 Mar 2015 22:33:54 +0000 (UTC) Received: from pmta2.delivery8.ore.mailhop.org (pmta2.delivery8.ore.mailhop.org [54.148.222.11]) by mx1.freebsd.org (Postfix) with ESMTP id AF8CF1DD for ; Mon, 2 Mar 2015 22:33:54 +0000 (UTC) Received: from smtp7.ore.mailhop.org (172.31.36.112) by pmta2.delivery1.ore.mailhop.org id hujima20u50b for ; Mon, 2 Mar 2015 22:34:06 +0000 (envelope-from ) Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp7.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YSYuK-0004AH-KT; Mon, 02 Mar 2015 22:33:48 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t22MXkww092314; Mon, 2 Mar 2015 15:33:46 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1/ZtKQHBuMSCP5g7IUlcVvU Message-ID: <1425335626.90327.15.camel@freebsd.org> Subject: Re: Booting FreeBSD 10.1 (and 11) on CuBox-i4pro From: Ian Lepore To: Greg Cole Date: Mon, 02 Mar 2015 15:33:46 -0700 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 22:33:54 -0000 On Sun, 2015-03-01 at 23:19 -0500, Greg Cole wrote: > Hi, > > I am trying to boot into FreeBSD 10.1 (or 11) on a CuBox-i4pro. > > I've tried from images generated using the crochet tool (using > Wandboard-Quad) > - and also using pre-built/WandBoard images from ftp.freebsd.org. I've > dd'd > the u-boot.imx file per README instructions from the > sysutils/u-boot-cubox-hummingboard port. > > I believe the CuBox is reaching the first boot stages - evidenced by > appearance of red LED on front of box (and a brief appearance of > Solid-Run name/logo on connected HDMI monitor). But then the screen > blanks (the red LED remains on until I remove power) and I'm at a > loss for what to do next. > > I'm sure I'm missing something really basic re: informing the boot > loader where to "go next" - and wondering/hoping someone else has > managed to get further. > > I sure will appreciate any pointers. Thanks, > > Greg 10.1 is a non-starter for most all arm systems, but 10-stable is in good shape. (We were not able to get the 10.1 branch whipped into shape for arm before the release deadline.) SolidRun systems (cubox-i and hummingboard) now work on 11-current. I've just committed the last missing piece to build and install all the dtb files, in r279551. The dtb files for all imx6 systems will get installed into /boot/dtb, and the u-boot script can set the fdt_file variable to name the right one for ubldr to load. Speaking of u-boot, there is also a port/package for u-boot for SolidRun systems, just "pkg install u-boot-cubox-hummingboard". This will install the files you need in /usr/local/share/u-boot and there is a readme in there that tells you how to put the file(s) onto an sdcard. For kernel config, just use IMX6 (the old WANDBOARD-* files need to be deleted, they are obsolete). The crochet script needs to be updated to use the new u-boot packages for the systems where they are available, and to use the IMX6 kernel config for all imx6 systems (but I don't have any control over that). Oh, I guess I should mention that I have 11-current running on a cubox i4pro. Gonzo has tested a hummingboard (solo). 10-stable should work fine too, expecpt that it doesn't have the new stuff to build the dtb files yet. -- Ian