#
# Init file for Linux kernel debug using uboot initialization scenario. 
#

# let uboot initialize the board.
reset 0		# reset & run
sleep 4500	# the uboot must be stopped before its prompt appear
stop		# the board is prepared to download and start the kernel

# inform the debugger about the 8560 memory-mapped register base CCSRBAR
#   commented out setMMRBaseAddr command (it is obsolete)
#setMMRBaseAddr	0xfdf00000

#############
#
# activate debug interrupt and enable SPU
writereg        MSR 0x02000200

#########################
#
# CW debugger settings
#
#Trap debug event enable
writereg        DBCR0           0x41000000

#disable the cache

writereg 	L1CSR0		0x0
writereg 	L1CSR1		0x0

