# SPMODE1
mem [CCSR 0x7020] = 0x28170008
##################################################################################
# configure IFC controller
wait 2000
## CS0 - NOR flash settings
## AMASK0 64M NOR
mem [CCSR 0x1E0A0] = 0xFC000000
## CSOR0
mem [CCSR 0x1E130] = 0x00008000
##FTIM0_CS0
mem [CCSR 0x1E1C0] = 0x40050005
##FTIM1_CS0
mem [CCSR 0x1E1C4] = 0x1e000f00
##FTIM2_CS0
mem [CCSR 0x1E1C8] = 0x0410001c
##FTIM3_CS0
mem [CCSR 0x1E1CC] = 0x00000000
## CSPR0
mem [CCSR 0x1E010] = 0xFC000101
####################################################################
# interrupt vectors initialization
# IVPR (default reset value)
reg ${SPR}IVPR = 0x00000000
# interrupt vector offset registers
# IVOR0 - critical input
reg${SPR}IVOR0 = 0x00000100
# IVOR1 - machine check
reg${SPR}IVOR1 = 0x00000200
# IVOR2 - data storage
reg${SPR}IVOR2 = 0x00000300
# IVOR3 - instruction storage
reg${SPR}IVOR3 = 0x00000400
# IVOR4 - external input
reg${SPR}IVOR4 = 0x00000500
# IVOR5 - alignment
reg${SPR}IVOR5 = 0x00000600
# IVOR6 - program
reg${SPR}IVOR6 = 0x00000700
# IVOR8 - system call
reg${SPR}IVOR8 = 0x00000c00
# IVOR10 - decrementer
reg${SPR}IVOR10 = 0x00000900
# IVOR11 - fixed-interval timer interrupt
reg${SPR}IVOR11 = 0x00000f00
# IVOR12 - watchdog timer interrupt
reg${SPR}IVOR12 = 0x00000b00
# IVOR13 - data TLB errror
reg${SPR}IVOR13 = 0x00001100
# IVOR14 - instruction TLB error
reg${SPR}IVOR14 = 0x00001000
# IVOR15 - debug
reg${SPR}IVOR15 = 0x00001500
# IVOR32 - SPE-APU unavailable
reg${SPR}IVOR32 = 0x00001600
# IVOR33 - SPE-floating point data exception
reg${SPR}IVOR33 = 0x00001700
# IVOR34 - SPE-floating point round exception
reg${SPR}IVOR34 = 0x00001800
# IVOR35 - performance monitor
reg${SPR}IVOR35 = 0x00001900
# put a valid opcode at debug and progrm exception vector address
mem v:0x00000700 = 0x48000000
mem v:0x00001500 = 0x48000000
##############################################################################
apply_e500v2_workaround
# enable floating point
reg ${SSPR}MSR = 0x02001200
############
# time base enable & MAS7 update
C29x PCIe Card User Guide, Rev. 0, 10/2013
60
Freescale Semiconductor, Inc.
Содержание C29x
Страница 1: ...C29x PCIe Card User Guide Document Number C29xPCIeUG Rev 0 10 2013 ...
Страница 2: ...C29x PCIe Card User Guide Rev 0 10 2013 2 Freescale Semiconductor Inc ...
Страница 6: ...C29x PCIe Card User Guide Rev 0 10 2013 6 Freescale Semiconductor Inc ...
Страница 18: ...Secure Boot Mode C29x PCIe Card User Guide Rev 0 10 2013 18 Freescale Semiconductor Inc ...
Страница 54: ...CPLD Memory Map Register Definition C29x PCIe Card User Guide Rev 0 10 2013 54 Freescale Semiconductor Inc ...
Страница 62: ...C29x PCIe Card User Guide Rev 0 10 2013 62 Freescale Semiconductor Inc ...
Страница 64: ...C29x PCIe Card User Guide Rev 0 10 2013 64 Freescale Semiconductor Inc ...