|
@@ -56,14 +56,14 @@ function reset_dma () {
|
|
|
function reset_logic () {
|
|
|
pci -w 0x9040 80000005
|
|
|
sleep .1
|
|
|
- pci -w 0x9040 80000001
|
|
|
+ pci -w 0x9040 80000201
|
|
|
sleep .1
|
|
|
}
|
|
|
|
|
|
function reset_cmosis () {
|
|
|
pci -w 0x9040 80000000
|
|
|
sleep .3
|
|
|
- pci -w 0x9040 80000001
|
|
|
+ pci -w 0x9040 80000201
|
|
|
sleep .3
|
|
|
}
|
|
|
|
|
@@ -72,7 +72,7 @@ function reset_all () {
|
|
|
sleep .2
|
|
|
pci -w 0x9040 80000000
|
|
|
sleep .3
|
|
|
- pci -w 0x9040 80000001
|
|
|
+ pci -w 0x9040 80000201
|
|
|
sleep .3
|
|
|
}
|
|
|
|
|
@@ -377,6 +377,12 @@ if [ "$RESET_CMOSIS" ]; then
|
|
|
configure_cmosis
|
|
|
set_number_lines $NUM_ROWS
|
|
|
set_exp_time $EXP_TIME
|
|
|
+ #set max number of frames in ddr
|
|
|
+ if [ "$MODE12b" ]; then
|
|
|
+ pci -w 0x91a0 e
|
|
|
+ else
|
|
|
+ pci -w 0x91a0 38
|
|
|
+ fi
|
|
|
check_status
|
|
|
fi
|
|
|
|
|
@@ -387,5 +393,11 @@ if [ "$RESET_ALL" ]; then
|
|
|
configure_cmosis
|
|
|
set_number_lines $NUM_ROWS
|
|
|
set_exp_time $EXP_TIME
|
|
|
+ #set max number of frames in ddr
|
|
|
+ if [ "$MODE12b" ]; then
|
|
|
+ pci -w 0x91a0 e
|
|
|
+ else
|
|
|
+ pci -w 0x91a0 38
|
|
|
+ fi
|
|
|
check_status
|
|
|
fi
|