All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Uboot md crash on PDK
@ 2009-04-09 17:13 alfred steele
  2009-04-09 17:53 ` Magnus Lilja
  0 siblings, 1 reply; 7+ messages in thread
From: alfred steele @ 2009-04-09 17:13 UTC (permalink / raw)
  To: u-boot

Hi all,
I started with trying to tftpload uImage to RAM address 0x10000.

It was getting stuck. Hence i thought of doing a memory dump on it.
md 0x10000

It too crashed or got stuck.

But when i do a md 0x80010000, it works.

I checked my linker script to double check on the memory layout.

What could have gone wrong when memory dump of specific addresses dont' work.

Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Uboot md crash on PDK
  2009-04-09 17:13 [U-Boot] Uboot md crash on PDK alfred steele
@ 2009-04-09 17:53 ` Magnus Lilja
  2009-04-13 13:53   ` alfred steele
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Lilja @ 2009-04-09 17:53 UTC (permalink / raw)
  To: u-boot

Hi

2009/4/9 alfred steele <alfred.jaquez@gmail.com>:
> Hi all,
> I started with trying to tftpload uImage to RAM address 0x10000.
>
> It was getting stuck. Hence i thought of doing a memory dump on it.
> md 0x10000
>
> It too crashed or got stuck.
>
> But when i do a md 0x80010000, it works.
>
> I checked my linker script to double check on the memory layout.
>
> What could have gone wrong when memory dump of specific addresses dont' work.

There is no RAM at 0x10000 in the PDK/i.MX31, the reference manual
states that the memory between 0x0 and 0x404000 is reserved (except
for first 0x4000 which is the ROM).

/Magnus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Uboot md crash on PDK
  2009-04-09 17:53 ` Magnus Lilja
@ 2009-04-13 13:53   ` alfred steele
  2009-04-13 17:24     ` Magnus Lilja
  0 siblings, 1 reply; 7+ messages in thread
From: alfred steele @ 2009-04-13 13:53 UTC (permalink / raw)
  To: u-boot

Hi Magnus,

For that matter, I can dump memory between 0x0000 and 0x00000100
though. However memory dump at  0x100000 also fails.

Can you point out which pages in the Reference manual point to the same?

Thanks,
Alfred.

On Thu, Apr 9, 2009 at 12:53 PM, Magnus Lilja <lilja.magnus@gmail.com> wrote:
> Hi
>
> 2009/4/9 alfred steele <alfred.jaquez@gmail.com>:
>> Hi all,
>> I started with trying to tftpload uImage to RAM address 0x10000.
>>
>> It was getting stuck. Hence i thought of doing a memory dump on it.
>> md 0x10000
>>
>> It too crashed or got stuck.
>>
>> But when i do a md 0x80010000, it works.
>>
>> I checked my linker script to double check on the memory layout.
>>
>> What could have gone wrong when memory dump of specific addresses dont' work.
>
> There is no RAM at 0x10000 in the PDK/i.MX31, the reference manual
> states that the memory between 0x0 and 0x404000 is reserved (except
> for first 0x4000 which is the ROM).
>
> /Magnus
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Uboot md crash on PDK
  2009-04-13 13:53   ` alfred steele
@ 2009-04-13 17:24     ` Magnus Lilja
  2009-04-14 20:19       ` alfred steele
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Lilja @ 2009-04-13 17:24 UTC (permalink / raw)
  To: u-boot

2009/4/13 alfred steele <alfred.jaquez@gmail.com>:
> Hi Magnus,
>
> For that matter, I can dump memory between 0x0000 and 0x00000100
> though. However memory dump at ?0x100000 also fails.
>
> Can you point out which pages in the Reference manual point to the same?

Chapter 2-1 "Memory map". in MCIMX31RM "Reference Manual".

Regards, Magnus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Uboot md crash on PDK
  2009-04-13 17:24     ` Magnus Lilja
@ 2009-04-14 20:19       ` alfred steele
  2009-04-14 20:31         ` Magnus Lilja
  0 siblings, 1 reply; 7+ messages in thread
From: alfred steele @ 2009-04-14 20:19 UTC (permalink / raw)
  To: u-boot

Thanks!
But should a crash happen if i am trying to read a non-reserved memory
which  0x100000 is.
Can you tell me how do you choose a address in CSDO RAM to be
appropiate for loading uImage and execute it.

-Alfred.

On Mon, Apr 13, 2009 at 12:24 PM, Magnus Lilja <lilja.magnus@gmail.com> wrote:
> 2009/4/13 alfred steele <alfred.jaquez@gmail.com>:
>> Hi Magnus,
>>
>> For that matter, I can dump memory between 0x0000 and 0x00000100
>> though. However memory dump at ?0x100000 also fails.
>>
>> Can you point out which pages in the Reference manual point to the same?
>
> Chapter 2-1 "Memory map". in MCIMX31RM "Reference Manual".
>
> Regards, Magnus
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Uboot md crash on PDK
  2009-04-14 20:19       ` alfred steele
@ 2009-04-14 20:31         ` Magnus Lilja
  2009-04-14 21:02           ` alfred steele
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Lilja @ 2009-04-14 20:31 UTC (permalink / raw)
  To: u-boot

2009/4/14 alfred steele <alfred.jaquez@gmail.com>:
> Thanks!
> But should a crash happen if i am trying to read a non-reserved memory
> which ?0x100000 is.

That's up to the hardware (i.e. i.MX31), I don't know the details but
crashing seems perfectly fine with me (or generating a data abort
interrupt).

> Can you tell me how do you choose a address in CSDO RAM to be
> appropiate for loading uImage and execute it.

Any address within the range of the mounted RAM is fine, as long as
you don't load it to where U-boot is residing in RAM, also avoid
loading it to where the kernel parameters are passed.

And could you please stop top-posting.

Best regards, Magnus

>
> -Alfred.
>
> On Mon, Apr 13, 2009 at 12:24 PM, Magnus Lilja <lilja.magnus@gmail.com> wrote:
>> 2009/4/13 alfred steele <alfred.jaquez@gmail.com>:
>>> Hi Magnus,
>>>
>>> For that matter, I can dump memory between 0x0000 and 0x00000100
>>> though. However memory dump at ?0x100000 also fails.
>>>
>>> Can you point out which pages in the Reference manual point to the same?
>>
>> Chapter 2-1 "Memory map". in MCIMX31RM "Reference Manual".
>>
>> Regards, Magnus
>>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Uboot md crash on PDK
  2009-04-14 20:31         ` Magnus Lilja
@ 2009-04-14 21:02           ` alfred steele
  0 siblings, 0 replies; 7+ messages in thread
From: alfred steele @ 2009-04-14 21:02 UTC (permalink / raw)
  To: u-boot

Thanks. Apologies for top posting.
-Alfred.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-14 21:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 17:13 [U-Boot] Uboot md crash on PDK alfred steele
2009-04-09 17:53 ` Magnus Lilja
2009-04-13 13:53   ` alfred steele
2009-04-13 17:24     ` Magnus Lilja
2009-04-14 20:19       ` alfred steele
2009-04-14 20:31         ` Magnus Lilja
2009-04-14 21:02           ` alfred steele

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.