* [U-Boot-Users] Trouble w/GLOBAL_DATA_PTR on PXA255
@ 2005-01-12 2:12 Craig A. Vanderborgh
2005-01-12 8:57 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Craig A. Vanderborgh @ 2005-01-12 2:12 UTC (permalink / raw)
To: u-boot
Hello Booters,
I am having some strange problems with "gd" on PXA255. Basically, I am
experiencing intermittent memory corruption (e.g. a reported RAM size of
3955MB) and the like. DECLARE_GLOBAL_DATA_PTR is defined as:
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8")
on ARM platforms. I guess the question is then - what is supposed to be
in r8, and where is this supposed to be set up? It looks like the setup
for "gd" is simply incorrect for my platform, but I am not sure how it
supposed to be.
Please advise.
Thanks in advance,
craig vanderborgh
voxware incorporated
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Trouble w/GLOBAL_DATA_PTR on PXA255
@ 2005-01-12 2:18 Woodruff, Richard
0 siblings, 0 replies; 3+ messages in thread
From: Woodruff, Richard @ 2005-01-12 2:18 UTC (permalink / raw)
To: u-boot
Its set up at the beginning of lib_arm/board.c :: start_armboot()
Regards,
Richard W.
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-
> admin at lists.sourceforge.net] On Behalf Of Craig A. Vanderborgh
> Sent: Tuesday, January 11, 2005 8:13 PM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] Trouble w/GLOBAL_DATA_PTR on PXA255
>
> Hello Booters,
>
> I am having some strange problems with "gd" on PXA255. Basically, I
am
> experiencing intermittent memory corruption (e.g. a reported RAM size
of
> 3955MB) and the like. DECLARE_GLOBAL_DATA_PTR is defined as:
>
> #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm
("r8")
>
> on ARM platforms. I guess the question is then - what is supposed to
be
> in r8, and where is this supposed to be set up? It looks like the
setup
> for "gd" is simply incorrect for my platform, but I am not sure how it
> supposed to be.
>
> Please advise.
>
> Thanks in advance,
> craig vanderborgh
> voxware incorporated
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Trouble w/GLOBAL_DATA_PTR on PXA255
2005-01-12 2:12 [U-Boot-Users] Trouble w/GLOBAL_DATA_PTR on PXA255 Craig A. Vanderborgh
@ 2005-01-12 8:57 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-01-12 8:57 UTC (permalink / raw)
To: u-boot
In message <41E48799.8080108@voxware.com> you wrote:
>
> on ARM platforms. I guess the question is then - what is supposed to be
> in r8, and where is this supposed to be set up? It looks like the setup
> for "gd" is simply incorrect for my platform, but I am not sure how it
> supposed to be.
You found section "Initial Stack, Global Data" in the README, didn't
you? Initialization of the global data pointer is architecture
specific, but not board-dependent. See start_armboot() in
"lib_arm/board.c"
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." - George Bernard Shaw
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-12 8:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12 2:12 [U-Boot-Users] Trouble w/GLOBAL_DATA_PTR on PXA255 Craig A. Vanderborgh
2005-01-12 8:57 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2005-01-12 2:18 Woodruff, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox