[U-Boot] U-boot for PPC405GP based custom Board

Wolfgang Denk wd at denx.de
Sun Jun 27 23:18:38 CEST 2010


Dear ravi.rao at rflelect.com,

please post U-Boot related questions always on the U-Boot mailing list.

In message <OF223063CB.29974FC8-ON8525774F.00694481-8525774F.00699FE3 at slpower.com> you wrote:
>
>    Thanks for the help. I deleted the flash.c and enabled the standard CFI 
> and it seems to have fixed my problem. As per your suggestion I downloaded 
> the latest current version of U-boot                      (
> u-boot-2010.06-rc3) and Iam getting the following error during 
> compilation.
> 
> /opt/timesys/toolchains/ppc4xx-linux/bin/ppc4xx-linux-gcc -E -g  -Os 
> -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xFFFC0000 
> -I/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/include -fno-builtin 
> -ffreestanding -nostdinc -isystem 
> /opt/timesys/toolchains/lib/gcc/powerpc-timesys-linux-gnu/4.2.1/include 
> -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring 
> -msoft-float -Wa,-m405 -mcpu=405 -include 
> /mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/include/u-boot/u-boot.lds.h 
>  -ansi -D__ASSEMBLY__ -P - 
> </mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds 
> >u-boot.lds
> UNDEF_SYM=`/opt/timesys/toolchains/ppc4xx-linux/bin/ppc4xx-linux-objdump 
> -x board/amcc/taihu/libtaihu.a lib/libgeneric.a lib/lzma/liblzma.a 

You should not use the Taihu board consifuration, but instead create
your own.

...
> /opt/timesys/toolchains/bin/powerpc-timesys-linux-gnu-ld:/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds:23: 
> ignoring invalid character `#' in expression
> /opt/timesys/toolchains/bin/powerpc-timesys-linux-gnu-ld:/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds:23: 
> syntax error
> Can you please tell me what I am missing ??

This should not happen. Either your tool chain is broken, or there was
some problem with your download. Is there any chance that a Windows
system was involved, so you have corrupted line endings (\r\n instead
of plain \n) ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Humans do claim a great deal for that particular emotion (love).
	-- Spock, "The Lights of Zetar", stardate 5725.6


More information about the U-Boot mailing list