
Hi Yuke,
What I am doing is to try to load RTEMS
Ok, that info helps.
It has a BSP for this board.
Thats good.
All the tools I used are targeting powerpc and tailed for this board.
and those tools came from where?
But the final executable format is .exe. I am not sure if this format is good to download and run on the board using U-boot. I just happen to know there is a mkimage utility from U-boot.
Given a file test.exe, type
file test.exe
and it'll tell you if its a PowerPC .elf format.
Before trying to get RTEMs running on the board, see if your tools can build U-Boot, and build the standard stand-alone application that exists in the examples folder.
Here's some notes I wrote a while back for the 8349, which is in the same family as the 8313;
http://www.ovro.caltech.edu/~dwh/carma_board/powerpc_mpc8349e.pdf
Cheers, Dave