[U-Boot-Users] mpc8260 reset procedure
walter dicarlo
walter_dicarlo at yahoo.com
Wed Jun 9 16:58:52 CEST 2004
Hi all,
I am new to embedded world and I am trying to port
u-boot on a board based on the mpc8260.
I hope I can bore you a little bit with a simple
question.
I use the Lauterbach Trace32 to program the 4Mb flash.
I compile u-boot 1.0.2 using the following settings:
TEXT_BASE = fff00000
CFG_DEFAULT_IMMR = 00010000
CFG_IMMR = 0f000000
CFG_SDRAM_BASE = 00000000
CFG_FLASH_BASE = ffc00000
CFG_BR0_PRELIM = ffc01001
CFG_OR0_PRELIM = ffc00856
CFG_BR1_PRELIM = 00000041
CFG_OR1_PRELIM = f8002b00
HRCW = 08 c2 01 07
Note that I use three Trace32 scripts to:
- init the board
- store the HRCW at the begin of the flash (FFC00000)
- store the u-boot.bin at fff00000
My problem is with the HRCW and the reset procedure.
It is not clear how it works and what steps I should
follow to setup everything.
When I start debugging, the Program Counter starts
correctly from fff00100,
but as soon as the code starts to manage IMMR
everything seems to not
work. It is like the code expect the registers in one
position but in reality
it is in another location.
I know it is basic knoledge about the mpc8260 but do
you have any advices?
Thanks
Walter
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the U-Boot
mailing list