From: Siju Viswanath Date: Thu, 23 Feb 2006 06:25:04 +0000 (UTC) Subject: [U-Boot-Users] U-Boot hang on icache enable Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 at 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