hi, guys.
we are now processing a vpss reset function in our product with a few problem.
the vpss module might go to be unstable if we do vpss reset with a few times.
tested case: boot the system, run the bellow scripts one by one and then run the reset test app.
2 methods that we used for the basically test:
1.
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=320x240x16,150K:osd1=0x0x8 ch0_output=LCD ch0_mode=320x240
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=off:osd1=320x240x16,150K ch0_output=LCD ch0_mode=320x240
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=800x480x32,1500K:osd1=0x0x8 ch0_output=LCD ch0_mode=800x480 (A)
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=800x480x32,1500K:osd1=off ch0_output=LCD ch0_mode=800x480
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=720x576x16,2025K:osd1=off ch0_output=COMPOSITE ch0_mode=PAL
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=720x576x16,2025K:osd1=0x0x8 ch0_output=COMPOSITE ch0_mode=PAL
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=720x576x16,2025K:osd1=720x576x16,2025K ch0_output=COMPOSITE ch0_mode=PAL
2.
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=off:osd1=offch0_output=LCD ch0_mode=800x480 (B)
insmod /usr/lib/modules/vpbek.ko options=vid0=off:vid1=off:osd0=off:osd1=off ch0_output=COMPOSITE ch0_mode=PAL
condition 1 which has a few scripts for the vpbe driver always make vpss hangle up after a few resets of vpss.
when the vpss has hangle up, the register can not be read but only once, after we read one of the vpbe's registers,
the linux system crashed, the device cannot be pinged and no respose from the terminal at the same time. after a few seconds, the system reboot because of the arm watch dog timeout. we dont konw how did this happen because wdt and vpss goes by system bus. if vpss is passed, the bus should be locked, and the wdt will not be processed as i can tell.
read register with condition A in case 1 against B in case 2:
we found that the problem connect to the above 3 registers. if we use condition 2, and change the 3 regissters with a, it came out with the same result as condition 1.
will upload the reset source code and ubl source code relate to the vpss module.
regards, Mike
thanks in advance.