public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Matej Kupljen <matej.kupljen@ultra.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PXA resume
Date: Thu, 27 May 2004 10:00:23 +0200	[thread overview]
Message-ID: <1085644823.3796.44.camel@mbmatejdebian.ultra.si> (raw)

Hi

I've implemented resume into the U-Boot which can resume Linux from
sleep, but I have a "strange bug". Maybe someone have seen this and 
can help me.

We have two identical development boards, the only difference is the
amount of SDRAM on board. One has 32MB and the other one has 64 MB
of SDRAM. When configuring the memory controller the code checks the
value of the DIP switch on board and configures the memory controller
for 32 MB or 64 MB of SDRAM. The difference between those configurations
is, that when configuring for 64 MB I have to turn on the SA1111
addressing (in the MDCNFG), the refresh interval and the number of 
row address bits.

I can resume the board with the 32 MB, but cannot resume the board
with the 64 MB. If I add a single NOP instruction (or any other
instruction, like LDR, MOV, ...) before (or just after) the code
that reads the value of the DIP switch, I can resume the board with
64 MB and not the board with 32 MB.

I have attached the memsetup.S.

What might be wrong?

Regards,
Matej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memsetup.S
Type: text/x-asm
Size: 10159 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040527/600ce22d/attachment.bin 

                 reply	other threads:[~2004-05-27  8:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1085644823.3796.44.camel@mbmatejdebian.ultra.si \
    --to=matej.kupljen@ultra.si \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox