From owner-freebsd-arm@FreeBSD.ORG Fri Feb 21 19:13:38 2014 Return-Path: Delivered-To: freebsd-arm@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 63BF4349 for ; Fri, 21 Feb 2014 19:13:38 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 35E931270 for ; Fri, 21 Feb 2014 19:13:37 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WGvXV-0001rm-3d for freebsd-arm@FreeBSD.org; Fri, 21 Feb 2014 19:13:37 +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 s1LJDYP6033207 for ; Fri, 21 Feb 2014 12:13:34 -0700 (MST) (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: U2FsdGVkX1/v0OIisON+byWdi+NFr0jS Subject: u-boot-2014.01 and freebsd arm From: Ian Lepore To: freebsd-arm Content-Type: text/plain; charset="us-ascii" Date: Fri, 21 Feb 2014 12:13:34 -0700 Message-ID: <1393010014.1145.137.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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: Fri, 21 Feb 2014 19:13:38 -0000 Just an FYI, I've updated locally to u-boot version 2014.01 for my wandboards. It works fine without needing any patches except for the options you want to add/change in configs/wandboard.h, with one caveat: u-boot now enables the caches and our kernel startup code isn't coping well with that right now. I'm going to look into fixing that, but you can get around it for now by adding the CONFIG_SYS_DCACHE_OFF option or just putting "dcache flush;dcache off;" in your boot command in the u-boot env. I haven't tried the newer u-boot on my other boards yet (BBW, rpi). If anyone feels like doing a bit of work on u-boot, I think it would be great if we could get FFS support into u-boot so that we can boot from a disk image that doesn't need an msdos partition just to hold ubldr. There is a patchset for this that no longer applies cleanly (at least to 2014.01, I haven't tried earlier versions). It's available at http://www.springdaemons.com/stas/u-boot-ffs.patch if anyone wants to give it a shot. The work to be done is really two tasks: re-integrate the changes with the latest u-boot code, and then get the u-boot folks to incorporate those changes upstream. It doesn't have to be the same person tackling both problems, but the second part will be easier if the first part is done with an eye to making the changes "fit" in their world -- adopt their mechanisms and coding style as much as possible. -- Ian