linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* U-Boot with DDR ECC Compilation Error
@ 2004-11-23 16:11 Jeff Stevens
  2004-11-23 19:04 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Stevens @ 2004-11-23 16:11 UTC (permalink / raw)
  To: linuxppc-embedded

I am porting U-Boot for a custom board that is very
similar to the MPC8540ADS.  Everything compiles fine,
until I try to compile in DDR SDRAM ECC support.  I
tried compiling U-Boot for the MPC8540ADS and I get
the same error once I define 'CONFIG_DDR_ECC'.  Here
is the output:

ppc_8xx-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -fPIC
-ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0xfff80000
-I/orss/gtvme/uboot/u-boot-1.1.1/include -fno-builtin
-ffreestanding -nostdinc -isystem
/usr/lib/gcc/i386-redhat-linux/3.4.2/include -pipe 
-DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC85xx
-DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500
-msoft-float -DCONFIG_MPC85xx=1 -DCONFIG_MPC8540=1
-DCONFIG_E500=1 -c -o cpu/mpc85xx/start.o
/orss/gtvme/uboot/u-boot-1.1.1/cpu/mpc85xx/start.S
/orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:
Assembler messages:
/orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:16:
Error: Unrecognized opcode: `void'
/orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:17:
Error: Unrecognized opcode: `uint'
/orss/gtvme/uboot/u-boot-1.1.1/include/mpc85xx.h:18:
Error: Unrecognized opcode: `int'
make: *** [cpu/mpc85xx/start.o] Error 1


I am using the ppc_8xx- tools from ELDK 3.1. I would
appreciate any help!

Thanks,
   Jeff Stevens




		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: U-Boot with DDR ECC Compilation Error
  2004-11-23 16:11 U-Boot with DDR ECC Compilation Error Jeff Stevens
@ 2004-11-23 19:04 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-11-23 19:04 UTC (permalink / raw)
  To: Jeff Stevens; +Cc: linuxppc-embedded

In message <20041123161139.2563.qmail@web41415.mail.yahoo.com> you wrote:
> I am porting U-Boot for a custom board that is very

You should post U-Boot related questions to the u-boot-users  mailing
list instead. Here on this list you re off topic.

> similar to the MPC8540ADS.  Everything compiles fine,
> until I try to compile in DDR SDRAM ECC support.  I
> tried compiling U-Boot for the MPC8540ADS and I get
> the same error once I define 'CONFIG_DDR_ECC'.  Here
> is the output:

CONFIG_DDR_ECC is set by default for the MPC8540ADS board; this configuration builds fine here. I guess you must be doing something wrong.

Is there any chance that your files got corrupted  by  storing  in  a
Windoze filesystem?

...
> ppc_8xx-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -fPIC

Why do you chose the ppc_8xx compiler here? This is not  the  optimal
choice  for  a  85xx processor (allthough this does not really matter
here).

...
> /orss/gtvme/uboot/u-boot-1.1.1/cpu/mpc85xx/start.S

Seems you are using U-Boot 1.1.1; why are you using  an  old  version
for a new port? Please use current code (top of CVS) instead.

> I am using the ppc_8xx- tools from ELDK 3.1. I would

Try using current code,  and  make  sure  that  your  files  are  not
corrupted.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Every living thing wants to survive.
	-- Spock, "The Ultimate Computer", stardate 4731.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-23 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 16:11 U-Boot with DDR ECC Compilation Error Jeff Stevens
2004-11-23 19:04 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).