[U-Boot-Users] 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,
in message 1083689181.17650.28.camel@localhost.localdomain 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 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
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
participants (2)
-
Petre Pircalabu
-
Wolfgang Denk