public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: 심덕주 <djshim@armitel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: U-Boot-Users digest, Vol 1 #22 - 1 msg
Date: Fri, 15 Nov 2002 11:35:12 +0900	[thread overview]
Message-ID: <007001c28c4f$9fdcfc00$ac00a8c0@shimmany> (raw)
In-Reply-To: E18CQZ5-0001o6-00@usw-sf-list2.sourceforge.net

I think that SRAM need not UPM table. SRAM device must be connected GPCM not UPMx.

----- Original Message ----- 
From: <u-boot-users-request@lists.sourceforge.net>
To: <u-boot-users@lists.sourceforge.net>
Sent: Friday, November 15, 2002 5:25 AM
Subject: U-Boot-Users digest, Vol 1 #22 - 1 msg


> Send U-Boot-Users mailing list submissions to
> u-boot-users at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> or, via email, send a message with subject or body 'help' to
> u-boot-users-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
> u-boot-users-admin at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of U-Boot-Users digest..."
> 
> 
> Today's Topics:
> 
>    1. MPC860T - UPM SRAM (My-Hong Vuong)
> 
> --__--__--
> 
> Message: 1
> From: My-Hong Vuong <My-Hong.Vuong@au.thalesgroup.com>
> To: u-boot-users at lists.sourceforge.net
> Date: Thu, 14 Nov 2002 19:18:04 +1100
> Subject: [U-Boot-Users] MPC860T - UPM SRAM
> 
> Hi,
> 
> I've been trying to get SRAM working with ppcboot v 2.0.  My SRAM is a
> Samsung K1S321615M UtRAM - we are using this due to it's high capacity
> and low noise.
> 
> I am using (largely butchered) code based on the gen860t.
> Currently I have it configured in ppcboot on CS2:
> 
> #define BR2 0x00000081
> #define OR2 0xfc000100
> 
> and my upm table is:
> 0x00f3fc04, 0x00f3cc04, 0x00f3cc04, 0x10f3ec04,
> 0xf1f7fc04, 0xfffffc04, 0x0fffcc24, 0x0fffcc04,
> 0x08ffcc00, 0x03ffcc4c, 0x08ffcc00, 0x03ffcc4c,
> 0x08ffcc00, 0x03ffcc4c, 0x08ffcc00, 0x33ffcc47,
> 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> 0xffffffff, 0xffffffff, 0xffffcc04, 0xc0ffdc04,
> 0x00ff4c04, 0x00ffcc04, 0x00ffcc04, 0x10ffec04,
> 0xf1fffc04, 0xfffffc04, 0x0fafcc04, 0x0cafcc00,
> 0x01afcc4c, 0x0cafcc00, 0x01afcc4c, 0x0cafcc00,
> 0x01afcc4c, 0x0cafcc00, 0x31bfcc43, 0xffffffff,
> 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> 0xffffffff, 0xffffffff, 0xc0ffcc84, 0xfffffc05,
> 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> 0xffffffff, 0xffffffff, 0x33ffcc07, 0xffffffff,
> 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
> 
> from mcuinit.
> 
> dumping variables, i have MAMR at 0x00000000 and MPTPR at 0x0000 (i
> have not set MAR to anything tho)
> 
> i have also made sure that my MCR has been set to CS2 -> to upmconfig()
> in cpu/mpc8xx/cpu.c i have modified the MCR line:
> 
> memctl->memc_mcr = addr | upm | 0x00004100;
> 
> with all this in place, I am quite certain that I have turned off the
> refresh timers associated with UPMA, however, ppcboot still refuses to
> copy successfully into SRAM.
> 
> I tried to set a breakpoint at the "relocate_code" so by that time it
> should have configured the UPMA table, however, trying to even do a 
> set {int} 0x0 = 0xaaaaaaaa
> does not work.
> 
> AFAIK, it also does configure the UPMA table before setting or2 and
> br2.
> 
> With the same parameters outlined above, I have been able to enter the
> same things using GDB - i have written macros to enter in the mdr/mcr
> variables as well as configure the BRx and ORx (I can write and read
> from SRAM).
> 
> We have thought about using GPCM, but due to the SRAM requiring bank
> select functionality, it is a non-option.
> 
> Can anyone help me with this problem??  Has anyone used similar
> technology - no DRAM??
> 
> Thanks in advance,
> My Hong Vuong
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 
> End of U-Boot-Users Digest
> 

           reply	other threads:[~2002-11-15  2:35 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E18CQZ5-0001o6-00@usw-sf-list2.sourceforge.net>]

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='007001c28c4f$9fdcfc00$ac00a8c0@shimmany' \
    --to=djshim@armitel.com \
    --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