From owner-freebsd-arm@FreeBSD.ORG Sat May 3 18:35:43 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 E88B21C3 for ; Sat, 3 May 2014 18:35:43 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD1BA1791 for ; Sat, 3 May 2014 18:35:42 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Wgemj-000MS8-Ph; Sat, 03 May 2014 18:35:41 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s43IZd9Y021755; Sat, 3 May 2014 12:35:39 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19Pp/smqHlJlBo7PrC2Rmxa Subject: Re: FreeBSD on Dockstar: U-Boot / ubldr? From: Ian Lepore To: Torfinn Ingolfsen In-Reply-To: <20140503202047.294ad097b30f4240099659e6@getmail.no> References: <20140503202047.294ad097b30f4240099659e6@getmail.no> Content-Type: text/plain; charset="us-ascii" Date: Sat, 03 May 2014 12:35:39 -0600 Message-ID: <1399142139.22079.222.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2014 18:35:44 -0000 On Sat, 2014-05-03 at 20:20 +0200, Torfinn Ingolfsen wrote: > I'm trying to set up a crochet config for the Seagate Dockstar. > (For some reason it seems like nobody has done this for Dockstar / Dreamplug already) > Anyway, my Dockstar currently uses the built-in U-Boot and loads the kernel directly off a FAT partition. > I see that the "modern" way to do it seems to be to load U-Boot and ubldr from a boot partition, then let ubldr figure out how to load the kernel and boot. > Show it be this way for Dockstar / Dreamplug too? > > If so, does the Dockstar need a "special" version of U-Boot, like the RaspberryPi? > And how to set that up? Using ubldr requires a u-boot that has the 'API' feature enabled. Virtually no u-boot comes that way from a vendor. I don't think the feature even existed when the kirkwood systems were current. To enable that, all you need to do is add the CONFIG_API option when building u-boot. I'm not sure that's the exact spelling, but look at the patches that get applied to rpi or beaglebone, it'll be like that. -- Ian