Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 14:58:36 -0400
From:      Winston Smith <smith.winston.101@gmail.com>
To:        fabiodive <fabiodive@gmail.com>
Cc:        FreeBSD ARM <freebsd-arm@freebsd.org>, Xuebing Wang <xbing6@gmail.com>
Subject:   Re: BBB 1GHz patches for u-boot 2014-01
Message-ID:  <CADH-AwHSXLyCnFQJoYm=mf1M%2BdbJbRD1xvQiHRc3L3C7T97oig@mail.gmail.com>
In-Reply-To: <F4349BE4-05CC-458A-8E97-CA3B0DEDBB8A@gmail.com>
References:  <F12C31D0-535B-4A67-8613-A66BABF7BD0B@gmail.com> <CADH-AwHycQ1aOstiCn_iE3cHHq1%2Bu18EkFkSVCf%2BdvfP1zn%2BGQ@mail.gmail.com> <7249A68B-E3D4-4795-BD51-4DF149B4104A@gmail.com> <CADH-AwFGB_eA_4x%2BCrT1r0-Q9xFzbgh6JaBChQd=U8_z1UiDSw@mail.gmail.com> <746D7AE2-54D1-4758-816F-4954F3F01A5E@gmail.com> <CADH-AwEjeb99QrdQGyQkHAE6%2BAWwbtU6k-i8H5eZy0pR2nn7cQ@mail.gmail.com> <535C7E1B.1090605@hot.ee> <535D1576.6040005@gmail.com> <CADH-AwEZ9R4vP5ijmFKeTDd5QWVqSd0hRoehVunhFZmZEcGFCg@mail.gmail.com> <F4349BE4-05CC-458A-8E97-CA3B0DEDBB8A@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 30, 2014 at 9:26 AM, fabiodive <fabiodive@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADH-AwHSXLyCnFQJoYm=mf1M%2BdbJbRD1xvQiHRc3L3C7T97oig>