memory display question
Hello List.
I have a Freescale iMX25. Seems to work fine and I'm trying to get some of the security features working.
I'm currently getting an error when I try to do a secure boot (internal to the processor). So the next step is to verify that my u-boot image is loaded where I think it should be loaded (at TEXT_BASE (0x83F0_0000)).
When I do a md.w 0x83F00000 0x20 it display's all zero's which is wrong.
It should have my reset vector and some other things there. The image
header is really at offset 0x400.
So I tried md.w 0x83F00400 0x20 and still all 0's.
This makes no sense because the darn thing boots!
When I hook my Lauterbach to it and do a view memory through the JTAG the memory looks as I expect. This makes complete sense because if this wasn't the case I wasn't sure how my system was going to boot.
Has anyone else seen something like this? If so, could you shed some light on what you did to remedy the issue.
thanks.
Signature · 13 lines
Steve Iribarne Sr. Software Engineer Embedded Devices This e-mail and any of its attachments may contain proprietary information, which is privileged, confidential or subject to copyright belonging to Grid Net, Inc. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or action taken in relation to the contents of this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete.
Hi Steve,
Quoted 10 lines
I'm currently getting an error when I try to do a secure boot (internal to the processor). So the next step is to verify that my u-boot image is loaded where I think it should be loaded (at
TEXT_BASE(0x83F0_0000)).When I do a md.w
0x83F000000x20it display's all zero's which is wrong.
It should have my reset vector and some other things there. The image
header is really at offset0x400.So I tried md.w
0x83F004000x20and still all 0's.
Why do you do a "md.w" to explicitely select 16-bit entities? Did you try without (i.e. correpsonding to .l) and .b? Maybe your system has problems with different access widths.
Quoted 5 lines
This makes no sense because the darn thing boots!
When I hook my Lauterbach to it and do a view memory through the JTAG the memory looks as I expect. This makes complete sense because if this wasn't the case I wasn't sure how my system was going to boot.
What accesses do you perform in this setup to read the memory?
Cheers
Detlev
Signature · 6 lines
You get 3 opportunities to advertise your Rock band, no more.
-- Proposed Symbolics guidelines for mail messages (1984)
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.deQuoted 10 lines · Detlev Zundel
Hi Steve,
Quoted 8 lines
I'm currently getting an error when I try to do a secure boot (internal to the processor). So the next step is to verify that my u-boot image is loaded where I think it should be loaded (at
TEXT_BASE(0x83F0_0000)).When I do a md.w
0x83F000000x20it display's all zero's which is wrong.
It should have my reset vector and some other things there. The image
header is really at offset0x400.
Quoted 6 lines
Quoted 1 line
So I tried md.w
0x83F004000x20and still all 0's.Why do you do a "md.w" to explicitely select 16-bit entities? Did you try without (i.e. correpsonding to .l) and .b? Maybe your system has problems with different access widths.
Yes I've tried both md.b and md.l, same deal.
Quoted 8 lines
Quoted 5 lines
This makes no sense because the darn thing boots!
When I hook my Lauterbach to it and do a view memory through the JTAG the memory looks as I expect. This makes complete sense because if this wasn't the case I wasn't sure how my system was going to boot.
What accesses do you perform in this setup to read the memory?
Oh good question.. I'll look at that...
Thanks.
Signature · 13 lines
Steve Iribarne Sr. Software Engineer Embedded Devices This e-mail and any of its attachments may contain proprietary information, which is privileged, confidential or subject to copyright belonging to Grid Net, Inc. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or action taken in relation to the contents of this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete.