relocation problem
Hello,
My name is Petre Pircalabu and I'm a student in Bucharest,
Romania. I'm currently trying to port U-Boot 1.1.1 to an Xscale board based on the PXA255 processor.I used the Csb226 board as starting place, I modified the memsetup.S file according to my board.(I tested the memory writing and reading a value to/from the SDRAM, and then I used the FFUART as an output).
The program work well until it should jump to start_armboot
(/cpu/pxa/start.S:175). What intrigues me the most is that when i try to read a value from SDRAM (where the program should be after relocation - 0xa1fe0000 and higher, i get only 0's ).
If you have any suggestion, please help me
Thanks in advance,
Petre
Dear Petre,
Quoted 12 lines · in message <[email protected]> you wrote:
My name is Petre Pircalabu and I'm a student in Bucharest,
Romania. I'm currently trying to port U-Boot 1.1.1 to an Xscale board based on the PXA255 processor.I used the Csb226 board as starting place, I modified thememsetup.Sfile according to my board.(I tested the memory writing and reading a value to/from the SDRAM, and then I used the FFUART as an output).
The program work well until it should jump tostart_armboot
(/cpu/pxa/start.S:175). What intrigues me the most is that when i try to read a value from SDRAM (where the program should be after relocation -0xa1fe0000and higher, i get only 0's ).
Quoted 1 line
If you have any suggestion, please help me
Did you read the archives? Did you?
This is a FAQ, and the answer is: your SDRAM initialization is broken.
No, I'm not going to explain it today. Look it up in the archives.
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
If programming was easy, they wouldn't need something as complicated
as a human being to do it, now would they?
- L. Wall & R. L. Schwartz, _Programming Perl_