[ELDK] building u-boot

Érico Porto ericoporto2008 at gmail.com
Tue Dec 27 15:55:17 CET 2011


did a

erico at 050278:~/Downloads/u-boot-2011.12-rc3$ make clean
erico at 050278:~/Downloads/u-boot-2011.12-rc3$ source
/opt/eldk-5.1/powerpc-softfloat/environment-setup-powerpc-nf-linux
erico at 050278:~/Downloads/u-boot-2011.12-rc3$ export
CROSS_COMPILE=powerpc-linux-
erico at 050278:~/Downloads/u-boot-2011.12-rc3$ make mpc832xemds_config
Configuring for MPC832XEMDS board...
erico at 050278:~/Downloads/u-boot-2011.12-rc3$ make all

still getting

make[1]: Entering directory
`/home/erico/Downloads/u-boot-2011.12-rc3/common'
make[1]: *** No rule to make target
`/home/erico/Downloads/u-boot-2011.12-rc3/include/asm/system.h', Needed by
`cmd_bdinfo.o'.  Stop.
make[1]: Leaving directory `/home/erico/Downloads/u-boot-2011.12-rc3/common'
make: ** [common/libcommon.o] Error 2



Érico V. Porto


On Tue, Dec 27, 2011 at 12:45 PM, Érico Porto <ericoporto2008 at gmail.com>wrote:

> Thanks, this got me a lot further
>
> Now I'm getting
>
> make[1]: *** No rule to make target
> `/home/erico/Downloads/u-boot-2011.12-rc3/include/asm/system.h', needed by
> `cmd_boot.o'.  Stop.
> make[1]: Leaving directory
> `/home/erico/Downloads/u-boot-2011.12-rc3/common'
> make: ** [common/libcommon.o] Error 2
>
> Which is really weird because this file doesn't exist - and it is a .h,
> should not be target..
>
> Érico V. Porto
>
>
>
> On Tue, Dec 27, 2011 at 12:33 PM, Érico Porto <ericoporto2008 at gmail.com>wrote:
>
>> uhm.. I found some compiler tools in here:
>>
>> /opt/eldk-5.1/powerpc-softfloat/sysroots/i686-eldk-linux/usr/bin/powerpc-nf-linux$
>> ls
>> powerpc-linux-addr2line  powerpc-linux-objcopy
>>  powerpc-softfloat-gcc
>> powerpc-linux-ar         powerpc-linux-objdump
>>  powerpc-softfloat-gcov
>> powerpc-linux-as         powerpc-linux-ranlib
>> powerpc-softfloat-gdb
>> powerpc-linux-c++filt    powerpc-linux-readelf
>>  powerpc-softfloat-gprof
>> powerpc-linux-cpp        powerpc-linux-size           powerpc-softfloat-ld
>> powerpc-linux-elfedit    powerpc-linux-strings
>>  powerpc-softfloat-ld.bfd
>> powerpc-linux-embedspu   powerpc-linux-strip          powerpc-softfloat-nm
>> powerpc-linux-g++        powerpc-softfloat-addr2line
>>  powerpc-softfloat-objcopy
>> powerpc-linux-gcc        powerpc-softfloat-ar
>> powerpc-softfloat-objdump
>> powerpc-linux-gcov       powerpc-softfloat-as
>> powerpc-softfloat-ranlib
>> powerpc-linux-gdb        powerpc-softfloat-c++filt
>>  powerpc-softfloat-readelf
>> powerpc-linux-gprof      powerpc-softfloat-cpp
>>  powerpc-softfloat-size
>> powerpc-linux-ld         powerpc-softfloat-elfedit
>>  powerpc-softfloat-strings
>> powerpc-linux-ld.bfd     powerpc-softfloat-embedspu
>> powerpc-softfloat-strip
>> powerpc-linux-nm         powerpc-softfloat-g++
>>
>> is this what I'm looking for?
>>
>> will try
>>
>> export
>> CROSS_COMPILE=/opt/eldk-5.1/powerpc-softfloat/sysroots/i686-eldk-linux/usr/bin/powerpc-nf-linux/powerpc-linux-
>>
>> thanks
>>
>> Érico V. Porto
>>
>>
>>
>> On Tue, Dec 27, 2011 at 11:24 AM, krish <radhakrishna.p at gmail.com> wrote:
>>
>>> You must set the environment variable CROSS_COMPILE in your shell and
>>> export it. Or you can pass it as command line parameter in make command.
>>> If CROSS_COMPILE is not set, u-boot takes ppc_8xx-gcc for ppc
>>> architecture by default.
>>>
>>>
>>> On Tue, Dec 27, 2011 at 6:30 PM, Érico Porto <ericoporto2008 at gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> I've been using u-boot with ltib for some time, but recently I decided
>>>> to
>>>> update it to a newer version. But I'm having problem building the
>>>> u-boot,
>>>> it says:
>>>>
>>>> /bin/bash: ppc_8xx-gcc: command not found
>>>>
>>>> I've downloaded the eldk5.1 for powerpc-softfloat from the ftp and
>>>> installed using
>>>>
>>>> ./install.sh -s gmae -r basic powerpc-softfloat
>>>>
>>>> And runned the:
>>>>
>>>>  sh /opt/eldk-5.1/powerpc-softfloat/environment-setup-powerpc-nf-linux
>>>>
>>>> No success.
>>>>
>>>> Ideas?
>>>>
>>>> Érico V. Porto
>>>>
>>>> _______________________________________________
>>>> eldk mailing list
>>>> eldk at lists.denx.de
>>>> http://lists.denx.de/mailman/listinfo/eldk
>>>>
>>>>
>>>
>>
>


More information about the eldk mailing list