[U-Boot-Users] U-Boot hang on icache enable

Hi, I have a MPC8247 board with 2MB flash and 64MB SDRAM. I am using u-boot 1.1.2. The u-boot comes up if I disable the icache. But when I enable instruction cache from config file (HID0_ICE set in CFG_HID0_FINAL) it hangs in cpu/mpc8260/start.S code shown below. Any pointers as to what could be the issue would be helpful.
in_ram:
/* * Relocation Function, r14 point to got2+0x8000 * * Adjust got2 pointers, no need to check for 0, this code * already puts a few entries in the table. */ li r0,__got2_entries@sectoff@l la r3,GOT(_GOT2_TABLE_) lwz r11,GOT(_GOT2_TABLE_) mtctr r0 sub r11,r3,r11 addi r3,r3,-4 1: lwzu r0,4(r3) add r0,r0,r11 stw r0,0(r3) bdnz 1b
thanks, Siju Viswanath Tejas Networks

In message loom.20060223T071512-141@post.gmane.org you wrote:
Hi, I have a MPC8247 board with 2MB flash and 64MB SDRAM. I am using u-boot 1.1.2. The u-boot comes up if I disable the icache. But when I enable instruction cache from config file (HID0_ICE set in CFG_HID0_FINAL) it hangs in cpu/mpc8260/start.S code shown below. Any pointers as to what could be the issue would be helpful.
http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation
Best regards,
Wolfgang Denk

Wolfgang Denk <wd <at> denx.de> writes:
It worked.
thanks, Siju Viswanath Tejas Networks
participants (2)
-
Siju Viswanath
-
Wolfgang Denk