Re: [U-Boot] U-boot hangs in mtest in MPC8280 Board

On Thu, 30 Jul 2009 20:07:46 +0530 wrote
GurumurthyGowdar wrote:
On Thu, 30 Jul 2009 16:14:30 +0530 wrote
Hello GurumurthyGowdar,
[snip]
i got one new error which is below :- U-Boot 1.3.1 (Jul 27 2009 - 17:27:10)
MPC8260 Reset Status: Check Stop, External Soft, External Hard
MPC8260 Clock Configuration - Bus-to-Core Mult 3x, VCO Div 4, 60x Bus Freq 16-50 , Core Freq 50-150
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WHAT IS YOUR BUS FREQUENCY? WHAT IS YOUR CORE FREQUENCY? WHY DO THE NUMBERS THE ABOVE NOT MATCH THE ONES BELOW?
- dfbrg 1, corecnf 0x10, busdf 4, cpmdf 1, plldf 0, pllmf 4, pcidf 3 - vco_out 500000000, scc_clk 125000000, brg_clk 31250000 - cpu_clk 300000000, cpm_clk 250000000, bus_clk 100000000
^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
300MHz >> 15-150MHz 100MHz >> 16-50MHz
i have configured according to MPC8280 Reference Manual. it is correct values , i have checked HRCW and MOC_CK configuration.
but when U-boot boots the values does not matching i am also surprised about this. you are saying according to MPC8260.
have anyon eported U-boot to MPC8280,let me know what configuration you have set?
The MPC8260 has different configuration options to compensate (I presume) for hardware clocking delays, etc. when it is run fast vs. slow. If you have your CPU misconfigured for running at a slow speed but actually clocking fast, I would expect your CPU and bus will be flaky.
IIRC (it's been a while), you need to read the reset section of the User's Manual and make sure your Hardware Reset Configuration Word and configuration strapping pins are correct for the clocking you are using.
CPU: MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 300 MHz Board: MPC8280 Based Remote IO CARD.SLN Technologies Pvt Ltd. I2C: ready DRAM: 512 MB FLASH: 256.5 MB *** Warning - bad CRC, using default environment
NIP: 1FFE8A88 XER: 00000000 LR: 1FFE89CC REGS: 1ffa1df0 TRAP: 0700 DAR: 00000000 MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
GPR00: 00729878 1FFA1EE0 EFFFFFFF 28EE0928 1FFAB424 00006BC4 1FFA201D 3D313135 GPR08: 1FFF0314 00000000 0028EE09 E6635C01 1FFA1CB0 FFF7FEFF 1FFFE000 DFFD2000 GPR16: 1FFF6E00 00000000 00000000 00000000 00003002 00000001 00000000 1FFD5098 GPR24: 1FFD57D4 01000000 1FFA1F20 00000000 1FFA2008 1FFA1F6C 1FFFEB88 1FFF715C Call backtrace: Program Check Exception
Hmmm, CPU and bus flaky.
[snip]
Best regards, gvb

Dear "GurumurthyGowdar",
In message 1248964666.S.4202.18697.f4mail-235-213.rediffmail.com.old.1249024209.63308@webmail.rediffmail.com you wrote:
--===============0249435520== Content-Type: multipart/alternative; boundary="=_735971d1aa93205218ff6547f173efbb"
--=_735971d1aa93205218ff6547f173efbb Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1"
Please stop this crap. Please post plain text _only_.
i have configured according to MPC8280 Reference Manual. it is correct values , i have checked HRCW and MOC_CK configuration.
but when U-boot boots the values does not matching i am also surprised about this. you are saying according to MPC8260.
have anyon eported U-boot to MPC8280,let me know what configuration you have set?
We have ported U-Boot to many MPC82xx systems and never observers any such problems.
But of course it is ompossible to give you any recommendations as we don't know your hardware design, and we don't know the modifications to U-Boot you made to port it to your hardware.
Judging from waht we see here this is either a serious hardware issue, or missing and/or incorrect initialization in U-Boot, and eventually both in combination.
Re-read the U-Boot Porting Guide in the README and check if maybe time has come to call out to the no_more_time() resort.
Best regards,
Wolfgang Denk
participants (2)
-
GurumurthyGowdar
-
Wolfgang Denk