[ELDK] Building U-Boot

Nate Jozwiak njozwiak at mlsw.biz
Mon Nov 8 19:00:57 CET 2010

Hi all,


I am having an issue debugging U-Boot so I decided to try and go back and
rebuild it from the start to verify it was built correctly. I have an AMCC
Taishan eval board. It is a PPC-440GX. Following the instructions in the
U-Boot documentation doesn't seem to be correct.


$ wget ftp://ftp.denx.de/pub/u-boot/u-boot-1.2.0.tar.bz2

$ bunzip2 < u-boot-1.2.0.tar.bz2 | tar xf -

$ cd u-boot-1.2.0

$ make distclean
$ make taishan_config
$ make all


But I get the following error: 


[njozwiak at localhost u-boot-1.2.0]$ make taishan_config

make: *** No rule to make target `taishan_config'.  Stop.


So I pull up the Makefile in the root directory and sure enough, there is no
rule for a taishan_config. So I downloaded the latest version of U-Boot
(2010.09) and tried with that. 


[njozwiak at localhost u-boot]$ make distclean

[njozwiak at localhost u-boot]$ make taishan_config

Configuring for taishan board...

[njozwiak at localhost u-boot]$ make all

make: ppc_8xx-gcc: Command not found

/bin/sh: ppc_8xx-gcc: command not found

dirname: missing operand


I wasn't sure why it was trying to build with ppc_8xx-gcc, but I thought I
got lucky with the new version at least having a taishan config. So I open
up the Makefile in the root directory and again... there is also no rule for
taishan_config. The Makefile doesn't even contain the text, "taishan".
However, there is a taishan folder under ../u-boot-2010.09/board/amcc. 


My path includes the following, which are the locations of the ELDK

- /opt/eldk/ppc-4xx/usr/bin

- /opt/eldk/ppc-4xx/bin


So my question is: how do I configure and build U-Boot for the AMCC Taishan
board? It appears to be trying to build with ppc-8xx which is not correct.
It needs to be pcc-4xx. What am I missing?



More information about the eldk mailing list