From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ks_c_5601-1987?B?uejA5b3E?= Date: Thu, 31 Jul 2003 18:06:49 +0900 Subject: [U-Boot-Users] [Q] mpc8245 PortX Message-ID: <000701c35743$13a1ebf0$240110ac@jsbae> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de i want to access extended rom area (0x70000000) in mpc8245 sandpoint board (ARTis Microsystems A-3000) i tried to reallocate BAT1(initial stack area ) 0x40000000 to 0x70000000 but board was hang... i wrote BAT1 reallocation function and call BAT1 reallocation function in board.c ( board_init_r () ) void move_bat1 (void) { mtspr (IBAT1L, (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT)); mtspr (IBAT1U, (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP)); mtspr (DBAT1L, (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT)); mtspr (DBAT1U, (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP)); __asm__ __volatile__("eieio"); __asm__ __volatile__("isync"); __asm__ __volatile__("sync"); } i think ram use stack at this function so 0x40000000 nerver accessed what's wrong... :-(( ^^ best regard~~