public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC8272ADS and uboot program check
@ 2004-09-15 12:48 Bastos Fernandez Alexandre
  2004-09-15 13:08 ` Wolfgang Denk
  2004-09-15 16:40 ` Yuli Barcohen
  0 siblings, 2 replies; 11+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-09-15 12:48 UTC (permalink / raw)
  To: u-boot

Hi to all,

After some days working ok with my MPC8272ADS board, now it keeps rebooting
all the time with a Program Check report. It has arrived after a hang.

I have been checking the output as this is all the information i have at the
moment. I have realized that clock reporting is incoherent (the true one is
cpu_clk=400Mhz), so i wonder if it has any relation.

Any idea?


The output I get is:


U-Boot 1.0.0 (Jun 30 2004 - 20:20:47)

MPC8272 Reset Status: Check Stop, External Soft, External Hard

MPC8272 Clock Configuration
 - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core Freq 100-300
 - dfbrg 1, corecnf 0x0a, busdf 3, cpmdf 1, plldf 0, pllmf 3
 - vco_out  400000000, scc_clk  100000000, brg_clk   25000000
 - cpu_clk  400000000, cpm_clk  200000000, bus_clk  100000000

CPU:   MPC8272 (HiP7 Rev 13, Mask 0.1 0K50M) at 18.382000 MHz
Board: Motorola MPC8272ADS
I2C:   ready
DRAM:  64 MB
?rT?rT?r\?r\?rd?rd?rl?rl?rt?rt?r|?r|?r
                                      ?r
 
?r?r?r?r?r?r?r??r??r??r??r??r??r??r??r??
r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r?r?r
                                                  ?r
 
?r?r?r?r?r$?r$?r,?r,?r4?r4?r
<?r<?rD?rD?rL?rL?rT?rT?r\?r\?rd?rd?rl?rl?rt?rt?r|?r|?r
                                                      ?r
 
?r?r?r?r?r?r?r??r??r??r?
?r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r??r?r?r
                                                                  ?r
 
?r?r?r?r?r$?
r$?r,?r,?r4?r4?r<?r<?rD?rD?rL?rL?rT?rT 8 MB
*** Warning - bad CRC, using default environment

pci init start-----pci init end
In:    serial
Out:   serial
Err:   serial
NIP: 03F968D8 XER: 20000000 LR: 03FB621C REGS: 03f3fdd8 TRAP: 0700 DAR:
03FB5374
MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00

GPR00: CCC0E043 03F3FEC8 E7FFFFFF 00000001 00000000 00000010 000003A0
000003C4
GPR08: 00000264 B0FFFFFB 03FC86D0 001A6306 48002024 E7FFF3BF 03FC8000
058A0000
GPR16: FBFF9F7B FF7FFFED 00000000 FE729328 00003002 00000001 00000000
03FA3098
GPR24: 03FA390C 00000000 00000010 00000000 00000000 03F3FF64 00000020
F0010D40
Call backtrace:
Program Check Exception

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
  2004-09-15 12:48 Bastos Fernandez Alexandre
@ 2004-09-15 13:08 ` Wolfgang Denk
  2004-09-15 14:08   ` Dan Poirot
  2004-09-15 16:40 ` Yuli Barcohen
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2004-09-15 13:08 UTC (permalink / raw)
  To: u-boot

In message <51DB8827D393D411BB69003048003F46FDCEF4@tvesntr.televes.com> you wrote:
> 
> After some days working ok with my MPC8272ADS board, now it keeps rebooting
> all the time with a Program Check report. It has arrived after a hang.
> 
> I have been checking the output as this is all the information i have at the
> moment. I have realized that clock reporting is incoherent (the true one is
> cpu_clk=400Mhz), so i wonder if it has any relation.

Looks like broken hardware to me. ESD?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You Don't Have To Be 'Damned' To Work Here, But It Helps!!!
                                             - Terry Pratchett, _Eric_

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
@ 2004-09-15 13:34 VanBaren, Gerald
  0 siblings, 0 replies; 11+ messages in thread
From: VanBaren, Gerald @ 2004-09-15 13:34 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Bastos
> Fernandez Alexandre
> Sent: Wednesday, September 15, 2004 8:48 AM
> To: 'u-boot-users at lists.sourceforge.net'
> Subject: [U-Boot-Users] MPC8272ADS and uboot program check
>
>
> Hi to all,
>
> After some days working ok with my MPC8272ADS board, now it
> keeps rebooting
> all the time with a Program Check report. It has arrived after a hang.
>
> I have been checking the output as this is all the
> information i have at the
> moment. I have realized that clock reporting is incoherent
> (the true one is
> cpu_clk=400Mhz), so i wonder if it has any relation.
>
> Any idea?
>
>
> The output I get is:
>
>
> U-Boot 1.0.0 (Jun 30 2004 - 20:20:47)
>
> MPC8272 Reset Status: Check Stop, External Soft, External Hard
>
> MPC8272 Clock Configuration
>  - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core
> Freq 100-300
>  - dfbrg 1, corecnf 0x0a, busdf 3, cpmdf 1, plldf 0, pllmf 3
>  - vco_out  400000000, scc_clk  100000000, brg_clk   25000000
>  - cpu_clk  400000000, cpm_clk  200000000, bus_clk  100000000
>
> CPU:   MPC8272 (HiP7 Rev 13, Mask 0.1 0K50M) at 18.382000 MHz
> Board: Motorola MPC8272ADS
> I2C:   ready
> DRAM:  64 MB

[garbage snipped]

> 8 MB
> *** Warning - bad CRC, using default environment
>
> pci init start-----pci init end
> In:    serial
> Out:   serial
> Err:   serial
> NIP: 03F968D8 XER: 20000000 LR: 03FB621C REGS: 03f3fdd8 TRAP:
> 0700 DAR:
> 03FB5374
> MSR: 00083002 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
>
> GPR00: CCC0E043 03F3FEC8 E7FFFFFF 00000001 00000000 00000010 000003A0
> 000003C4
> GPR08: 00000264 B0FFFFFB 03FC86D0 001A6306 48002024 E7FFF3BF 03FC8000
> 058A0000
> GPR16: FBFF9F7B FF7FFFED 00000000 FE729328 00003002 00000001 00000000
> 03FA3098
> GPR24: 03FA390C 00000000 00000010 00000000 00000000 03F3FF64 00000020
> F0010D40
> Call backtrace:
> Program Check Exception

First of all, I would acknowleging that Wolfgang is probably right and you probably have a hardware problem.  In case that is not true, my follow-up questions and observations are...

#1 question in debugging: what changed between when it last worked and now?

Looking at the above, what is the software trying to do when all the garbage is being spewed out (just before it prints "8MB"?  What it is doing is likely related to the problem.

Did the board previously print the correct clock rate, or has it always been wrong?  Why is it wrong?

#1 rule in debugging: always fix the known bugs before hunting for the unknown, known (but discounted and ignored) bugs tend to cause additional "unknown bugs" in strange and mysterious ways.

gvb

******************************************
The following messages are brought to you by the Lawyers' League of IdioSpeak:

******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
  2004-09-15 13:08 ` Wolfgang Denk
@ 2004-09-15 14:08   ` Dan Poirot
  2004-09-15 17:19     ` Yuli Barcohen
  0 siblings, 1 reply; 11+ messages in thread
From: Dan Poirot @ 2004-09-15 14:08 UTC (permalink / raw)
  To: u-boot

> > After some days working ok with my MPC8272ADS board, now it keeps rebooting
> > all the time with a Program Check report. It has arrived after a hang.
> > 
> > I have been checking the output as this is all the information i have at the
> > moment. I have realized that clock reporting is incoherent (the true one is
> > cpu_clk=400Mhz), so i wonder if it has any relation.
> 
>
> Looks like broken hardware to me. ESD?
> 
> Best regards,
> 
> Wolfgang Denk


I get the same thing when I mount a new MPC8272 part labled:
  MPC8272ZQTIEA
  400/200/100 MHZ

I wonder if the PVR value has changed for newer chips.


U-Boot 1.1.2 (Sep  8 2004 - 13:02:09)

MPC8272 Reset Status: External Soft, External Hard

MPC8272 Clock Configuration
 - Bus-to-Core Mult 3.5x, VCO Div 2, 60x Bus Freq  30-85 , Core Freq 100-300
 - dfbrg 1, corecnf 0x1e, busdf 3, cpmdf 1, plldf 0, pllmf 3
 - vco_out  800000000, scc_clk  200000000, brg_clk   50000000
 - cpu_clk  350000000, cpm_clk  400000000, bus_clk  100000000
 - pci_clk  133333333

CPU:   ### ERROR ### Please RESET the board ###


My old part gives:

U-Boot 1.1.2 (Sep  8 2004 - 13:02:09)

MPC8272 Reset Status: Check Stop, External Soft, External Hard

MPC8272 Clock Configuration
 - Bus-to-Core Mult 3.5x, VCO Div 2, 60x Bus Freq  30-85 , Core Freq 100-300
 - dfbrg 1, corecnf 0x0e, busdf 3, cpmdf 1, plldf 0, pllmf 3
 - vco_out  400000000, scc_clk  100000000, brg_clk   25000000
 - cpu_clk  350000000, cpm_clk  200000000, bus_clk  100000000
 - pci_clk   66666666

CPU:   MPC8272 (HiP7 Rev 13, Mask 0.0 0K50M) at 350 MHz
Board: Motorola MPC8272ADS
DRAM:  64 MB
FLASH:  8 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FCC2 ETHERNET
Hit any key to stop autoboot:  0
=>


- dan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
  2004-09-15 12:48 Bastos Fernandez Alexandre
  2004-09-15 13:08 ` Wolfgang Denk
@ 2004-09-15 16:40 ` Yuli Barcohen
  1 sibling, 0 replies; 11+ messages in thread
From: Yuli Barcohen @ 2004-09-15 16:40 UTC (permalink / raw)
  To: u-boot

>>>>> Bastos Fernandez Alexandre writes:

    Bastos> Hi to all, After some days working ok with my MPC8272ADS
    Bastos> board, now it keeps rebooting all the time with a Program
    Bastos> Check report. It has arrived after a hang.

    Bastos> I have been checking the output as this is all the
    Bastos> information i have at the moment. I have realized that clock
    Bastos> reporting is incoherent (the true one is cpu_clk=400Mhz), so
    Bastos> i wonder if it has any relation.

    Bastos> Any idea?

    Bastos> The output I get is:

    Bastos> U-Boot 1.0.0 (Jun 30 2004 - 20:20:47)

Is it your private port of U-Boot to 8272? If so, the problem can be in
H/W initialisation. U-Boot supports this family and MPC8272ADS since
version 1.1.1. I work with it on daily basis without any problems.

-- 
========================================================================
 Yuli Barcohen       | Phone +972-9-765-1788 |  Software Project Leader
 yuli at arabellasw.com | Fax   +972-9-765-7494 | Arabella Software, Israel
========================================================================

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
  2004-09-15 14:08   ` Dan Poirot
@ 2004-09-15 17:19     ` Yuli Barcohen
  0 siblings, 0 replies; 11+ messages in thread
From: Yuli Barcohen @ 2004-09-15 17:19 UTC (permalink / raw)
  To: u-boot

>>>>> Dan Poirot writes:

    Dan> I get the same thing

It's not the same. This error message (CPU: ### ERROR ### Please RESET
the board ###) means that the chip is not recognised. There is no program
exception.

    Dan> when I mount a new MPC8272 part labled: MPC8272ZQTIEA
    Dan> 400/200/100 MHZ

    Dan> I wonder if the PVR value has changed for newer chips.

Yes, it has. You can see it at Freescale Web site.

-- 
========================================================================
 Yuli Barcohen       | Phone +972-9-765-1788 |  Software Project Leader
 yuli at arabellasw.com | Fax   +972-9-765-7494 | Arabella Software, Israel
========================================================================

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
@ 2004-09-16  6:59 Bastos Fernandez Alexandre
  2004-09-16  8:31 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-09-16  6:59 UTC (permalink / raw)
  To: u-boot

Hi, 

>First of all, I would acknowleging that Wolfgang is probably right and you
probably have a hardware problem.

It could be. I had some problem with the Flash in the past, but there, the
board didn't start at all and kept rebooting in a few miliseconds with a
HRESET. 

> In case that is not true, my follow-up questions and observations are...

>#1 question in debugging: what changed between when it last worked and now?
>

Nothing changed. The uboot version is exactly the same it was before. 

>Looking at the above, what is the software trying to do when all the
garbage is being spewed out (just before it prints "8MB"?  What it is doing
is likely related to the problem.
>

I don't really now what it was doing at this point. So this is the point
where I would need your help. I have tried to guess it. Has it any relation
with the CRC warning, or some other problem with SDRAM?

>Did the board previously print the correct clock rate, or has it always
been wrong?  Why is it wrong?
>

No. Previously it showed the correct clock rate (400 Mhz). I can't imagine
why this is not right. Could be some problem with the integer unit ??? SDRAM
???

>#1 rule in debugging: always fix the known bugs before hunting for the
unknown, known (but discounted and ignored) bugs tend to cause additional
"unknown bugs" in strange and mysterious ways.
>
OK. I will try to follow this method.

>gvb

Thanks

Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
@ 2004-09-16  7:21 Bastos Fernandez Alexandre
  0 siblings, 0 replies; 11+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-09-16  7:21 UTC (permalink / raw)
  To: u-boot

> >Is it your private port of U-Boot to 8272? If so, the problem can be in
> H/W initialisation. U-Boot supports this family and MPC8272ADS since
> version 1.1.1. I work with it on daily basis without any problems.
> 
> No, it is not my private port. And aparently, it was working fine til
> monday.
> 
> Alex
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
  2004-09-16  6:59 [U-Boot-Users] MPC8272ADS and uboot program check Bastos Fernandez Alexandre
@ 2004-09-16  8:31 ` Wolfgang Denk
  2004-09-16 22:42   ` [U-Boot-Users] ppc405gp PCI initialization Tadas
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2004-09-16  8:31 UTC (permalink / raw)
  To: u-boot

Hello,

in message <51DB8827D393D411BB69003048003F46FDCEF6@tvesntr.televes.com> you wrote:
> 
> >First of all, I would acknowleging that Wolfgang is probably right and you
> probably have a hardware problem.

Please configure your mailer to quote correctly.

BOTH lines above are quotes, but only the first  line  is  marked  as
such.  This  essentially  makes  your messages unreadable. please fix
this!

> It could be. I had some problem with the Flash in the past, but there, the
> board didn't start at all and kept rebooting in a few miliseconds with a
> HRESET. 

I think all additional discussion is in vain. You have known hardware
problems, so it makes no sense to continue.

Don't try to understand why the failure mode is a reset in  one  case
or  a  spectacular crash in another one - when yoiur flash is failing
you must assume that the CPU is executing random data.  This  can  be
anything,  and  fail  at  any  time  andin  any way you can or cannot
imagine.

Stop here, and fix or replace the hardware.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I will not say that women have no character;  rather, they have a new
one every day.                                               -- Heine

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] MPC8272ADS and uboot program check
@ 2004-09-16  8:43 Bastos Fernandez Alexandre
  0 siblings, 0 replies; 11+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-09-16  8:43 UTC (permalink / raw)
  To: u-boot

Wolfgang,

>> 
>> >First of all, I would acknowleging that Wolfgang is probably right and
you
>> probably have a hardware problem.

>Please configure your mailer to quote correctly.

>BOTH lines above are quotes, but only the first  line  is  marked  as
>such.  This  essentially  makes  your messages unreadable. please fix
>this!

Sorry about that. For me all this was the same line. I haven't arrived to
configure my mailer to quote this way at all (so I have to do it by hand)
:-(
Sometimes, I have some problems to send plain-text only, but this is another
discussion.

>> It could be. I had some problem with the Flash in the past, but there,
the
>> board didn't start at all and kept rebooting in a few miliseconds with a
>> HRESET. 

>I think all additional discussion is in vain. You have known hardware
>problems, so it makes no sense to continue.

>Don't try to understand why the failure mode is a reset in  one  case
>or  a  spectacular crash in another one - when yoiur flash is failing
>you must assume that the CPU is executing random data.  This  can  be
>anything,  and  fail  at  any  time  andin  any way you can or cannot
>imagine.

>Stop here, and fix or replace the hardware.

OK. I will.

Thank for all.

Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot-Users] ppc405gp PCI initialization
  2004-09-16  8:31 ` Wolfgang Denk
@ 2004-09-16 22:42   ` Tadas
  0 siblings, 0 replies; 11+ messages in thread
From: Tadas @ 2004-09-16 22:42 UTC (permalink / raw)
  To: u-boot

I finaly can run linux on my ppc acess point
and the last thing left is to enable pci, does bootloader must initialize
pci controler?
I it is normal to leave that to linux?

If I do not do anything linux complains that cant alocate resource for pci,
then I added bios fixup code from walnut405,
now linux crashes if  try to load device driver, but it can enumerate pci
devices.

The questions are:
What pci initialization is nesecary for integrated ppc405gp pci bridge?
Which bard pci code is the best example to start?
Does intergrated pci initialization depends on board design?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-09-16 22:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-16  6:59 [U-Boot-Users] MPC8272ADS and uboot program check Bastos Fernandez Alexandre
2004-09-16  8:31 ` Wolfgang Denk
2004-09-16 22:42   ` [U-Boot-Users] ppc405gp PCI initialization Tadas
  -- strict thread matches above, loose matches on Subject: below --
2004-09-16  8:43 [U-Boot-Users] MPC8272ADS and uboot program check Bastos Fernandez Alexandre
2004-09-16  7:21 Bastos Fernandez Alexandre
2004-09-15 13:34 VanBaren, Gerald
2004-09-15 12:48 Bastos Fernandez Alexandre
2004-09-15 13:08 ` Wolfgang Denk
2004-09-15 14:08   ` Dan Poirot
2004-09-15 17:19     ` Yuli Barcohen
2004-09-15 16:40 ` Yuli Barcohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox