Re: [U-Boot-Users] Regarding Toolchain used for Compilation

Hi Denk..
' Failing' means im not able to get any output on serial console.
Compilation is successful but after flashing im not able to boot the board [MPC8540 based board]
Thats why i asked the ques..
I'm new to U-boot and if some questions seems to be silly i apologize for that.
Thanks and Regards, Sudhakar V
On Friday 06 August 2004 23:37, Wolfgang Denk wrote:
In message 200408062258.16209.v.sudhakar@gdatech.co.in you wrote:
But im failing when i use montavista toolchain or Metrowerks powerpc toolchain.
Maybe you want to describe what "failing" actually means? I guess there is probably some error message or another? Don't you think it might be helpful if we knew what errors you're talking about?
So what is the main difference between these toolchains ??
The _main_ difference is that they come from different vendors. Except from that, they are all based on the same GNU tools :-)
Whether the e500 core plays any role ?
Maybe.
If anybody can clearly explain the diff it would be useful for me.
Giving a vague error description and asking for a clear explanation is much. Too much, actually.
Best regards,
Wolfgang Denk
-------------------------------------------------------

Sudhakar writes:
Sudhakar> ' Failing' means im not able to get any output on serial Sudhakar> console.
Sudhakar> Compilation is successful but after flashing im not able Sudhakar> to boot the board [MPC8540 based board]
Sudhakar> Thats why i asked the ques..
Sudhakar> I'm new to U-boot and if some questions seems to be silly Sudhakar> i apologize for that.
MPC85xx Makefile in the U-Boot tree does not specify CPU type nor any e500-specific options. This means that the compiler uses its defaults and the defaults can be different in different toolchains. Try adding -mcpu=8540 -mno-string to cpu/mpc85xx/config.mk

In message 200408071913.27574.v.sudhakar@gdatech.co.in you wrote:
' Failing' means im not able to get any output on serial console.
Then attach a debugger and debug the problem.
Compilation is successful but after flashing im not able to boot the board [MPC8540 based board]
Thats why i asked the ques..
Well, this can be anything. A misconfiguration, bad jumper settings, unexpected memory configuration, hardware problems - anything.
I'm new to U-boot and if some questions seems to be silly i apologize for that.
Go on like you would do with any other piece of software: there is a problem, so fire up the debugger and find out what's going wrong. Then think about a solution.
Best regards,
Wolfgang Denk
participants (3)
-
Sudhakar
-
Wolfgang Denk
-
Yuli Barcohen