From owner-freebsd-arm@FreeBSD.ORG Wed Apr 30 18:58:39 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 154978D9; Wed, 30 Apr 2014 18:58:39 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79B17172A; Wed, 30 Apr 2014 18:58:38 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y10so2170043wgg.12 for ; Wed, 30 Apr 2014 11:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lzrrpZWf6HIK7xccvhmPkvteT/xp8BST0mHFN1o7nLQ=; b=nNuzgYTpJ4p68+PIb0cX0VIb5GjK1qJ4T5JnHfE4Ohlf0NrX1JIxPQI1BuHVqC4GO8 e1aYXhmSbxueFX4htp+W5IfEWrj1L2mo3Y6S22drVGaXeM6j/leBuOPrxkjPny7Z6WT2 ztT3vtkmvSWj3GB+vfXk/wsg8BgZOXcg//qgSOlMuO9SAZbbWHh3CD19T7o7WHNAJD2q bZNvUyT4mzu1aDhUKHygXn4r8Zxww/JwPaldJPsnRR8/MO5ilZcaTgSTgHtQ8chwc8GB 2SOCjfzj3fJrfuwYBx126LQxbpu7HHpMwtqI2cZFZPzw37AFES0tvxU7B+ayAm4W1isL PS8g== MIME-Version: 1.0 X-Received: by 10.194.24.194 with SMTP id w2mr5336552wjf.25.1398884316685; Wed, 30 Apr 2014 11:58:36 -0700 (PDT) Received: by 10.217.10.195 with HTTP; Wed, 30 Apr 2014 11:58:36 -0700 (PDT) In-Reply-To: References: <7249A68B-E3D4-4795-BD51-4DF149B4104A@gmail.com> <746D7AE2-54D1-4758-816F-4954F3F01A5E@gmail.com> <535C7E1B.1090605@hot.ee> <535D1576.6040005@gmail.com> Date: Wed, 30 Apr 2014 14:58:36 -0400 Message-ID: Subject: Re: BBB 1GHz patches for u-boot 2014-01 From: Winston Smith To: fabiodive Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD ARM , Xuebing Wang 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: Wed, 30 Apr 2014 18:58:39 -0000 On Wed, Apr 30, 2014 at 9:26 AM, fabiodive wrote: > I also had the same problem during crochet building, > in the end I solved it changing the crochet script, > I disabled an u-boot checking block and I changed the > source path where to install from the u-boot forcing the > absolute path of the port, that was a dirty fix because I wanted first > to see if the patch set works. After installing u-boot-beaglebone-eabi, it puts the results in /usr/local/share/u-boot/beaglebone-eabi. The problem is that the crotchet scripts are looking for a tool called `u-boot-beaglebone-eabi-install` that appears to install u-boot into the directory specified as the argument. I can't find this script anywhere, so I wrote one: http://pastebin.com/FJfrqThb If you put this somewhere in the path (e.g. /usr/local/bin), and in your crotchet-config you need to: 1) Comment out: BEAGLEBONE_UBOOT_SRC 2) Add the following: BEAGLEBONE_UBOOT_PATCH_VERSION=2014.01 Assuming you've already done `make ; make install` in /usr/ports/sysutils/u-boot-beaglebone-eabi, you should be able to re-run crotchet and it will pick up the u-boot-beaglebone-eabi version (which, if you apply the patches should run at 1Ghz). Hope this helps someone! -W