This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to load out file into u-boot

Guru 20755 points

 

Hello,

I have compiled a project in IAR (uc/os) and it is in out format.

I see in map various address as following:

...

__vector 0x80000000 Code Gb cstartup.o [1]
_call_main 0x80000ae4 Code Gb cmain.o [5]
_exit 0x80000bd4 Code Gb cexit.o [5]
_main 0x80000aec Code Gb cmain.o [5]
exit 0x80000ba1 0x4 Code Gb exit.o [3]
main 0x80000b30 0x68 Code Gb app.o [1]

...

Now I try to load it into running u-boot, but it seems not to work, I'm not sure why.

I first tried to do the conversion as following:

out->hex->img (kmimage) and load with :

  loadb 0x80000000

  go 0x80000000

Is that correct ? Will it put the symbols in the correct addresses ?

Thanks for your help,

Ran