Uboot-1.2.0 on MPC8360EMDS board

4 messages, 4 authors, 2008-09-24 · open the first message on its own page

Uboot-1.2.0 on MPC8360EMDS board

From: mike zheng <hidden>
Date: 2008-09-23 18:56:14

Hello,

I am having problem when I try to bootup MPC8360EMDS with Uboot1.2.
The following are logs. The board reboot when the uboot tried to run
on the RAM. Any idea on this issue?

Thanks,

Mike


U-Boot 1.2.1 (Sep 23 2008 - 14:35:42) MPC83XX

Clock configuration:
  Coherent System Bus:  264 MHz
  Core:                 528 MHz
  QE:                   396 MHz
  Local Bus Controller: 264 MHz
  Local Bus:             66 MHz
  DDR:                  264 MHz
  DDR Secondary:        264 MHz
  SEC:                   88 MHz
  I2C1:                 264 MHz
  I2C2:                 264 MHz
CPU: MPC8360E, Rev: 21 at 528 MHz
Board: Freescale MPC8360EMDS
I2C:   ready
DRAM:
cs0_bnds = 0x0000000f
cs0_config = 0x80000102
DDR:bar=0x00000000
DDR:ar=0x8000001b
DDR:Module maximum data rate is: 400Mhz
DDR:Effective data rate is: 266Mhz
DDR:The MSB 1 of CAS Latency is: 4
Errata DDR6 (debug_reg=0x002c0000)
DDR:timing_cfg_1=0x37353321
DDR:timing_cfg_2=0x00000800

   DDR DIMM: data bus width is 64 bit with ECC

14 more lines

Re: Uboot-1.2.0 on MPC8360EMDS board

From: Wolfgang Denk <hidden>
Date: 2008-09-23 21:07:28

Dear Mike,

In message [off-list ref] you wrote:
I am having problem when I try to bootup MPC8360EMDS with Uboot1.2.
The following are logs. The board reboot when the uboot tried to run
on the RAM. Any idea on this issue?
Two ideas actually:

1) Don't cross-post the very same question to several mailing lists.

2) Don't use ancient software versions. Use current code instead.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The ultimate barrier is one's viewpoint.
                        - Terry Pratchett, _The Dark Side of the Sun_

How to use mtdcr from userland code

From: Ayman El-Khashab <hidden>
Date: 2008-09-23 21:41:51

Greetings,

I am developing an app that needs to map pci address space to the PLB on
the ppc460ex.  From what I gather I need to use the mtcdr
instruction/macro to configure the PIM0 space.  However, I cannot figure
out how to use that from userland code.  Is it possible?  Can I change
the PIM some other way?

Thanks

Re: How to use mtdcr from userland code

From: Josh Boyer <hidden>
Date: 2008-09-24 12:33:51

On Tue, 23 Sep 2008 16:41:49 -0500
"Ayman El-Khashab" [off-list ref] wrote:
Greetings,

I am developing an app that needs to map pci address space to the PLB on
the ppc460ex.  From what I gather I need to use the mtcdr
instruction/macro to configure the PIM0 space.  However, I cannot figure
out how to use that from userland code.  Is it possible? 
Normally, no.  The mtdcr/mfdcr instructions are privileged
instructions.  On that particular core though, there are userspace dcr
instructions.  They are mtdcrux/mfdcrux instructions documented in the
CPU manual.

You will have to hard code them, as there are no versions of binutils
that I know of that will emit the userspace dcr instructions.
Can I change the PIM some other way?
Yes, write a proper driver.

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help