This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 resizer question ??

Dear all:

We are using DM365 platform and dvsdk_2_10_01_18 , we find a resizer question as below:

The CSL_rszIntWait return Fail when we umount or format SD card.

It sometime cause resizer to be stuck.


I can't understand why operation of sd card can affect resizer????!!!

 


Does everybody know what happen ????
Please give us some direction debugging

Thanks a lot

PS:This question is different from DM365 resizer issuer that I posted before

  • dear all:

    I discribe the question in more detail.

    When we format or umount SD card , the CSL_rszIntWait often return FAIL as below.
     ERROR  (drv_resz.c|DRV_reszRun|595): CSL_rszIntWait()
    I trace the CSL_rszIntWait , it reach the wait_for_completion_interruptible in csl_LinuxFlag.c

    My analysis is as follows:
    in normal:
        If it's complete , then wait_for_completion_interruptible return zero
    in abnormal:
        It was forced to return by the other signal when it wait for resizer interrupt , and wait_for_completion_interruptible return non-zero in this case.

    So I think I have encounter the abnormal case described above.
    The big question is Why does operation of SD card affect the resizer and there is no relationship between Sd card and resizer

    Can anyone give me some direction or suggestion to find out what happen about it???

    I'm very gratefully

  • Hi,

    Does the problem happen only when format/unmount done? What if you keep on doing file write operations on SD card continuously.

    Regards,

    Anshuman

  • Dear Anshuman:


    This case only happen in format or umount SD card  , read or write of SD card dose not cause the problem.
    I found the following conditions:

    No increase PPLN and LPFR in abnoraml case:
        It's sometime cause the program to be stuck in the CSL_rszIntWait and or CSL_rszIntWait return fail.

    Increase PPLN and LPFR in abnoraml case:
        It's sometime cause the program to be stuck for a few seconds or the CSL_rszIntWait return fail.
        And it will resume normal after format or umount SD card

    Obviously , the action that Increase PPLN and LPFR can alleviate the question but it still occur.
    This give the feeling of instability.
    I don't know where to debug from ( software or hareware or driver ..??? )
    I need your valuable advice.

    Thanks a lot

  • Ideally, i dont suspect that format or umount should cause anything on DDR bandwidth, but your PPLN experiment shows that the resizer might be aborting because of peak bandwidth getting stuck. Anyways, instead of playing with PPLN/LPFR, i would suggest to try increasing the clkdiv.N parameter and slow down the resizer. This way, we can confirm if it is anything to do with the DDR bandwidth or is it to do with some other issues on interrupts coming due to SD card.

    Regards,

    Anshuman

    PS: Please mark the post as verified, if you think it has answered your question. Thanks.