From owner-freebsd-arm@freebsd.org Thu Dec 15 20:54:13 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF69CC8275D for ; Thu, 15 Dec 2016 20:54:13 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE65F97B for ; Thu, 15 Dec 2016 20:54:13 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 9776d476-c308-11e6-9ec7-5d8fa496b077 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id 9776d476-c308-11e6-9ec7-5d8fa496b077; Thu, 15 Dec 2016 20:53:55 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id uBFKs535001811; Thu, 15 Dec 2016 13:54:05 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1481835245.1972.42.camel@freebsd.org> Subject: Re: Cubieboard2 with custom bootloader From: Ian Lepore To: Mihai Carabas Cc: Emmanuel Vadot , Nicolae-Alexandru Ivan , freebsd-arm@freebsd.org Date: Thu, 15 Dec 2016 13:54:05 -0700 In-Reply-To: References: <20161212160553.dee9d435125f9c6b67355d21@bidouilliste.com> <20161215123900.f141d13bd9814d43feb3f736@bidouilliste.com> <20161215133505.a7ffa64924f3be052840b828@bidouilliste.com> <1481817793.1972.2.camel@freebsd.org> <20161215194847.efbfcd94694e6c71dacdc16a@bidouilliste.com> <1481831623.1972.24.camel@freebsd.org> <20161215210115.b224a164cb32abef56b86e7d@bidouilliste.com> <1481832546.1972.31.camel@freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2016 20:54:14 -0000 On Thu, 2016-12-15 at 22:42 +0200, Mihai Carabas wrote: > > > > > > > > > > I should mention, btw, that enabling the cache does make a huge > > difference.  For a wandboard with caches disabled, loading and > > launching the kernel takes 8 or 9 seconds, with dcache enabled it's > > less than 1 second. > > > Ian thank you for your answers. Do you have anywhere the patches for > u-boot > if we want to compile it from sources? > > Mihai The patches I'm referring to are part of the checked-in u-boot ports.  They used to be in beaglebone and rpi at least, but the beaglebone stuff appears to currently be in a state of flux.  The rpi port still has the patches, though.  The patches aren't rpi-specific, I've been using them on all arm u-boot stuff (I have uncommited changes for wandboard and other imx6 systems, and we use this stuff at $work too). https://svnweb.freebsd.org/ports/head/sysutils/u-boot-rpi/files/patch-common_cmd__elf.c?view=co https://svnweb.freebsd.org/ports/head/sysutils/u-boot-rpi/files/patch-common_cmd__boot.c?view=co The last version of u-boot I know for sure those two patches apply cleanly to was 2016.01; I haven't looked at any u-boot releases since then. -- Ian