[U-Boot-Users] [Q]MPC8245 Extended Rom Setting
배장식
jsbae at imctech.co.kr
Thu Jul 31 09:11:02 CEST 2003
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~~
More information about the U-Boot
mailing list