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

Jerry Van Baren
2009-07-30T12:23:46Z

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

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