[U-Boot-Users] U-boot for MIPS - problem using latest gcc

Hello:
I have three issues. The exisiting distro uses the "mips-4KC-gcc", I am using "mipsel-gnu-linux-gcc". There are 2 command line options:
1) -mcpu= 2) -mabicall
For "-mcpu=" I substituted "-march=mips32" - is this correct?
For -mabicall - what should I substitute?
Also - I get an error building cpu/mips/start.s
On line 242 there is a label "memsetup" - the error is "cannot branch to undefined symbol". Any ideas?
Thanks Much!

In message 603BA0CFF3788E46A0DB0918D9AA95100A0E2F18@sj580004wcom.int.lantronix.com you wrote:
For "-mcpu=" I substituted "-march=mips32" - is this correct?
If this is a MIPS32 processor, yes.
For -mabicall - what should I substitute?
Dunno. Does your compiler documentation mention this keyword?
Also - I get an error building cpu/mips/start.s
On line 242 there is a label "memsetup" - the error is "cannot branch to undefined symbol". Any ideas?
Yes. The file board/<yourname>/memsetup.S is missing / incorrect.
Best regards,
Wolfgang Denk
participants (2)
-
Jerry Walden
-
Wolfgang Denk