Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 14:26:46 +0100
From:      fabiodive <fabiodive@gmail.com>
To:        Winston Smith <smith.winston.101@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:  <F4349BE4-05CC-458A-8E97-CA3B0DEDBB8A@gmail.com>
In-Reply-To: <CADH-AwEZ9R4vP5ijmFKeTDd5QWVqSd0hRoehVunhFZmZEcGFCg@mail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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=20
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.

thank you
f.

On Apr 30, 2014, at 3:34 , Winston Smith <smith.winston.101@gmail.com> =
wrote:

> On Sun, Apr 27, 2014 at 10:34 AM, Xuebing Wang <xbing6@gmail.com> =
wrote:
>> 1) We have 2 packages that concerning u-boot:
>>=20
>> 1a) Crocket
>> 1b) /usr/ports/sysutils/u-boot-beaglebone-eabi
>>=20
>> Please note: the patches for u-boot in the above 2 packages are =
different.
>>=20
>> In my humble opinion, I'd think the u-boot patches for the above 2 =
packages
>> are better to be identical.
>>=20
>> 2) My patches to the latest u-boot are against above 1b)
>> /usr/ports/sysutils/u-boot-beaglebone-eabi
>=20
> Now that I have 10-STABLE working from eMMC, I decided to take a look
> at the 1Ghz patches.
>=20
> I started out with uboot_beaglebone_eabi_port, but although I was able
> to get it to build (after removing the 0 length patch files), I
> couldn't seem to get crotchet-freebsd to pick it up.  It seems that
> the `uboot_eabi_port` tools is missing; I'm using pkgng, so maybe
> that's the problem.
>=20
> I noticed that uboot_beaglebone_eabi_port with the 1Ghz patches builds
> against u-boot-2014.01 so I downloaded u-boot-2014.01.tar.bz2,
> unpacked it in the crotchet-freebsd directory and replaced the patches
> in crotchet-freebsd/boards/BeagleBone/files with the 1Ghz ones and
> tried a crotchet build. This failed to link with:
>=20
> armv6-freebsd-ld: region .sram is full (u-boot-spl section .data)
> armv6-freebsd-ld: region .sram is full (u-boot-spl section .data)
> armv6-freebsd-ld: section .u_boot_list [00000000402f0400 ->
> 00000000402f0477] overlaps section .text [00000000402f0400 ->
> 000000004030657b]
> armv6-freebsd-ld: u-boot-spl: section .text lma 0x402f0400 overlaps
> previous sections
> armv6-freebsd-ld: u-boot-spl: section .rodata lma 0x4030657c overlaps
> previous sections
> armv6-freebsd-ld: u-boot-spl: section .data lma 0x4030aec8 overlaps
> previous sections
>=20
>=20
> So no luck there.  I did try also building Patrick Kelsey's fork of
> u-boot which failed with very similar errors:
>=20
> armv6-freebsd-ld: region .sram is full (u-boot-spl section .rodata)
> armv6-freebsd-ld: region .sram is full (u-boot-spl section .rodata)
> armv6-freebsd-ld: section .data [00000000402f0400 -> 00000000402f1141]
> overlaps section .text [00000000402f0400 -> 0000000040307257]
> armv6-freebsd-ld: u-boot-spl: section .text lma 0x402f0400 overlaps
> previous sections
> armv6-freebsd-ld: u-boot-spl: section .u_boot_list lma 0x402f1144
> overlaps previous sections
>=20
>=20
> I did notice that the *original* patches for
> uboot_beaglebone_eabi_port seem to remove api_net.c from the build,
> perhaps this was an effort to slim down the binary to avoid this issue
> (however, the 1Ghz patches nuke the patches that removed api_net.c and
> it's callers).
>=20
> Finally, I took a look at the patches to see if I could rework them
> for u-boot-2014.04 (since it was recently released), but it seems that
> there have been significant changes since 2013.04 so I need to learn
> more about u-boot before going near that!
>=20
> Thanks,
>=20
> -W.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4349BE4-05CC-458A-8E97-CA3B0DEDBB8A>