Dear ravi....@rflelect.com, please post U-Boot related questions always on the U-Boot mailing list.
In message <of223063cb.29974fc8-on8525774f.00694481-8525774f.00699...@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: w...@denx.de Humans do claim a great deal for that particular emotion (love). -- Spock, "The Lights of Zetar", stardate 5725.6 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot