U-boot problem with a mcf5485 processor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

U-boot problem with a mcf5485 processor

跳至解决方案
1,697 次查看
raulen
Contributor III
Hello everybody!
 
I am trying to port U-boot to my custom board which has a mcf5485 processor.
 
First of all I run the U-boot in an evaluation board (M5484Lite evb) and it worked perfectly. Then I tried to do it with my custom board (after modifying and adding the right files). The problem seems to be in the internal SRAM at the beginning of the code (start.S). I enabled some LEDS and after several tries, I found out I couldn't have access to the internal SRAM, in spite of having the same code to the evaluation board.
 
However, if I use an external sram, the u-boot goes (not completely, but at least till I know it should without doing changes).
Regarding the datasheet and the code, I have to configure the RAMBAR0 and RAMBAR1 of the internal SRAM. From this moment, I should have access, but if I try to write in the memory, it crashes (I can observe that because the leds).
 
Does anyone ported the U-boot for their custom boards?
Some help would be appreciated.
Thanks.
标签 (1)
0 项奖励
回复
1 解答
861 次查看
raulen
Contributor III
Upps! I realised it was an error mapping... it works perfectly!

在原帖中查看解决方案

0 项奖励
回复
1 回复
862 次查看
raulen
Contributor III
Upps! I realised it was an error mapping... it works perfectly!
0 项奖励
回复