ARM global data space
Had problems with U-boot from ARM ELDK 4.0 on a PXA255 (Lubbock board) that seemed to be attributed to the declaration of global data. This space is declared before the armboot_start (.text) and heap regions, then referenced with the DECLARE_GLOBAL_DATA_PTR macro. The macro uses register R8, but seems to get corrupted (though I was unable to verify root cause of the problem). Note that the CFG_MONITOR_BASE was not in the lubbock header file, so I defined it to CFG_FLASH_BASE. I changed the global data pointer to that used in other architectures, where the pointer references the C declaration of global_data. This fixed my problem, and U-Boot boots successfully. Can anyone provide a hint/explanation about this problem?
Quoted 2 lines · In message <op.tcbmpk0rq7r5pk@rnd-03> you wrote:
Had problems with U-boot from ARM ELDK 4.0 on a PXA255 (Lubbock board) that seemed to be attributed to the declaration of global data. This
As usual, the first thing you should do when ruinning into problems is checking if these might have been fixed in current versions.
Quoted 2 lines
U-Boot boots successfully. Can anyone provide a hint/explanation about this problem?
See the history of changes in the git / CVS repos.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The day-to-day travails of the IBM programmer are so amusing to most of us who are fortunate enough never to have been one - like watching Charlie Chaplin trying to cook a shoe.