[U-Boot] Problem in Building the Bootloader for the NAND Flash MPC8313ERDB Board

Balu V balu0983 at gmail.com
Thu Nov 19 10:21:29 CET 2009


Hi all
I am Working on the MPC 8313 ERDREVA4 Board. I need to boot the board from
the NAND flash.
Hence i have down loaded the copy of the u-boot-1.1.6 (the version was
selected based on the LTIB configuration) and then
issued the following commands from the u-boot directory as per the
guidelines from the MPC 8313 ERD Board
manual for booting from the NAND flash.

host-linux> cd $u-boot
host-linux> make MPC8313ERDB_NAND_config
host-linux> make

The problem i am facing is that the make is not happening and i get an error
as the
"make[1]: *** [hello_world.0]error 127"
The complete output of the above commands is also attached with this mail
for the reference.

Kindly provide the solution for the above problem at the earliest.

Thanks and Regards,
Balu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[root at localhost ~]# cd
/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/
[root at localhost u-boot-1.1.6]# make MPC8313ERDB_NAND_config
make: execvp: powerpc-linux-gcc: Not a directory
... NAND Configuring for MPC8313ERDB board...
[root at localhost u-boot-1.1.6]# make
make: execvp: powerpc-linux-gcc: Not a directory
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: Entering directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/tools'
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: Entering directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/examples'
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/examples'
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: Entering directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/post'
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: Entering directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/post/cpu'
make -C tools all
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: Entering directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/tools'
gcc -g -Wall -pedantic -idirafter
/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include -

idirafter
/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include2
-idirafter /mpc8313ltib/ltib

-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include -DTEXT_BASE=0x01000000
-DUSE_HOSTCC -O -c -o

envcrc.o envcrc.c
gcc -g  -idirafter
/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include
-idirafter

/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include2
-idirafter /mpc8313ltib/ltib-

mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include -DTEXT_BASE=0x01000000
-DUSE_HOSTCC -c -o

environment.o environment.c
gcc -Wall -pedantic -idirafter
/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include
-idirafter

/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include2
-idirafter /mpc8313ltib/ltib-

mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include -DTEXT_BASE=0x01000000
-DUSE_HOSTCC -O -o

envcrc envcrc.o crc32.o environment.o
make[1]: Leaving directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/tools'
make -C examples all
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: Entering directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/examples'
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
powerpc-linux-gcc -g  -Os   -fPIC -ffixed-r14 -meabi -D__KERNEL__
-DTEXT_BASE=0x01000000  -

I/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/include
-fno-builtin -ffreestanding -nostdinc

-isystem  -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC83XX -DCONFIG_E300
-ffixed-r2 -ffixed-r29 -

msoft-float -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
make[1]: execvp: powerpc-linux-gcc: Not a directory
make[1]: *** [hello_world.o] Error 127
make[1]: Leaving directory
`/mpc8313ltib/ltib-mpc8313erdb-20070824/rpm/BUILD/u-boot-1.1.6/examples'
make: *** [examples] Error 2
[root at localhost u-boot-1.1.6]#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the U-Boot mailing list