MPC850: strange problem with icache
Hi Folks,
I'm porting u-boot-1.3.1 to customer board, which includes MPC850 and 32MB SDRAM.
When I turned off icache, bus can work correctly under 25MHz/50MHz clock frequence.
Note that CPU is working under 50MHz. However, the board only can work with bus
frequence of 25MHz with enabled icache. If I tried to set bus frequence to 50MHz with
enabled icache, it will crash with MCE.
I don't know why. Since it can work at 25MHz with enabled icache, the UPM words seem
ok. Thanks for your advices!
Gavin
Dear Guowen SHAN,
Quoted 6 lines · In message <[email protected]> you…
I'm porting u-boot-1.3.1 to customer board, which includes MPC850 and 32MB SDRAM. When I turned off icache, bus can work correctly under 25MHz/50MHz clock frequence. Note that CPU is working under 50MHz. However, the board only can work with bus frequence of 25MHz with enabled icache. If I tried to set bus frequence to 50MHz with enabled icache, it will crash with MCE.
Easy problem - actually FAQ: please see
http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation
Quoted 2 lines
I don't know why. Since it can work at 25MHz with enabled icache, the UPM words seem ok. Thanks for your advices!
Keep in mind that the UPM setup is only part of the required RAM initialization sequence. Follow the instructions in the chip manufacturer's manual to the letter.
Best regards,
Wolfgang Denk
Signature · 5 lines
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 at denx.de The number you have dialed is imaginary. Please divide by 0 and try again.
Dear Guowen SHAN,
Quoted 8 lines
In message <[email protected]>
Quoted 2 lines · you
I'm porting u-boot-1.3.1 to customer board, which includes MPC850 and
32MB SDRAM.
Quoted 1 line
When I turned off icache, bus can work correctly under 25MHz/50MHz clock
frequence.
Quoted 8 lines
Quoted 1 line
Note that CPU is working under 50MHz. However, the board only can work
with bus
Quoted 1 line
frequence of 25MHz with enabled icache. If I tried to set bus frequence
to 50MHz with
Quoted 1 line
enabled icache, it will crash with MCE.
Easy problem - actually FAQ: please see
http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation
I don't understand it completely. 25MHz with enabled icache could use burst to fecth instructions
from RAM, which should have proved the UPM words and initialization sequence was ok, right?
Quoted 12 lines
<http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation>
Quoted 1 line
I don't know why. Since it can work at 25MHz with enabled icache, the UPM
words seem
Quoted 1 line
ok. Thanks for your advices!
Keep in mind that the UPM setup is only part of the required RAM initialization sequence. Follow the instructions in the chip manufacturer's manual to the letter.