Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2015 14:31:38 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Rui Paulo <rpaulo@me.com>
Cc:        Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Digi-CCWMX53 - u-boot
Message-ID:  <CABx9NuRhwfW=AZ%2BLUnQ4f2yzO-cf%2BbNX28BZqP6KCs5xKf-G-g@mail.gmail.com>
In-Reply-To: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com>
References:  <CABx9NuQZe3k%2BAtRxtUg5k3=5jM20RQdgnwpuKr9uc07VY1C1EQ@mail.gmail.com> <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for getting back to me Rui,

I have done the following bit of flailing around:

- updated my userland to 1100065
- Installed arm-none-eabi from pkgng as Mr. Lepore has indicated
- installed the latest gcc (gcc48?)
- I have since built the xdev target as well.
- Installed mpc
- setenv LD_LIBRARY_PATH "/usr/local/lib"
- ldconfig


So after much faffing about I've tried a whole bunch of combinations:
gmake HOSTCC=gcc48 CROSS_COMPILE=arm-none-eabi-
gmake HOSTCC=gcc48 CROSS_COMPILE=armv6-freebsd-
gmake SED=gsed HOSTCC=cc CROSS_COMPILE=armv6-freebsd-
gmake SED=gsed HOSTCC=gcc48 CROSS_COMPILE=arm-none-eabi-


All with the same result:

for dir in tools examples/standalone examples/api ; do gmake -C $dir
_depend ; done
gmake[1]: Entering directory '/usr/uboot/tools'
gmake[1]: Nothing to be done for '_depend'.
gmake[1]: Leaving directory '/usr/uboot/tools'
gmake[1]: Entering directory '/usr/uboot/examples/standalone'
gmake[1]: Nothing to be done for '_depend'.
gmake[1]: Leaving directory '/usr/uboot/examples/standalone'
gmake[1]: Entering directory '/usr/uboot/examples/api'
gmake[1]: Nothing to be done for '_depend'.
gmake[1]: Leaving directory '/usr/uboot/examples/api'
gmake -C tools all
gmake[1]: Entering directory '/usr/uboot/tools'
gcc48 -g -Wall -idirafter /usr/uboot/include -idirafter
/usr/uboot/include2 -idirafter /usr/uboot/include -I /usr/uboot/libfdt
-I /usr/uboot/tools -DTEXT_BASE=0x77800000 -DUSE_HOSTCC
-D__KERNEL_STRICT_NAMES -O -c -o fdt.o
gcc48: fatal error: no input files
compilation terminated.
Makefile:231: recipe for target 'fdt.o' failed
gmake[1]: *** [fdt.o] Error 1
gmake[1]: Leaving directory '/usr/uboot/tools'
Makefile:402: recipe for target 'tools' failed
gmake: *** [tools] Error 2


I'm trying to interpret what I'm seeing but I'm still a long way off
of solving this stuff myself.

interestingly I've managed to tweak something. If I re-open a shell to
my jail, vim now fails with the error "Shared object "libpng16.so.16"
not found, required by "libgdk_pixbuf-2.0.so.0"" unless I execute

# setenv LD_LIBRARY_PATH "/usr/local/lib"

Go figure.

Thanks,

Russ


Russ

On Fri, Mar 20, 2015 at 6:54 PM, Rui Paulo <rpaulo@me.com> wrote:
> On 19 Mar 2015, at 16:11, Russell Haley <russ.haley@gmail.com> wrote:
>>
>> Rui,
>>
>> I am finally at a point where I can compile your u-boot fork for the
>> Digi-CCWMX53 dev kit but I am getting the following error:
>>
>> # gmake SED=gsed HOSTCC=cc CROSS_COMPILE=arm-none-eabi-
>> for dir in tools examples/standalone examples/api ; do gmake -C $dir
>> _depend ; done
>> gmake[1]: Entering directory '/usr/uboot/tools'
>> gmake[1]: Nothing to be done for '_depend'.
>> gmake[1]: Leaving directory '/usr/uboot/tools'
>> gmake[1]: Entering directory '/usr/uboot/examples/standalone'
>> gmake[1]: Nothing to be done for '_depend'.
>> gmake[1]: Leaving directory '/usr/uboot/examples/standalone'
>> gmake[1]: Entering directory '/usr/uboot/examples/api'
>> gmake[1]: Nothing to be done for '_depend'.
>> gmake[1]: Leaving directory '/usr/uboot/examples/api'
>> gmake -C tools all
>> gmake[1]: Entering directory '/usr/uboot/tools'
>> cc -g -Wall -idirafter /usr/uboot/include -idirafter
>> /usr/uboot/include2 -idirafter /usr/uboot/include -I /usr/uboot/libfdt
>> -I /usr/uboot/tools -DTEXT_BASE=0x77800000 -DUSE_HOSTCC
>> -D__KERNEL_STRICT_NAMES -O -c -o fdt.o
>> cc: error: no input files
>> Makefile:231: recipe for target 'fdt.o' failed
>> gmake[1]: *** [fdt.o] Error 1
>> gmake[1]: Leaving directory '/usr/uboot/tools'
>> Makefile:402: recipe for target 'tools' failed
>> gmake: *** [tools] Error 2
>
> Hmm.  Have you tried building with gcc?
>
> --
> Rui Paulo
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuRhwfW=AZ%2BLUnQ4f2yzO-cf%2BbNX28BZqP6KCs5xKf-G-g>