Ok I am moving forward.
I've written a code, which successfully takes data from Avalon-ST and writes to the memory. The code is available ->here<- (
http://www.codeupload.com/4087).
Now when I check the memory contents, I see data written after SOP(Start Of Packet) until EOP(End Of Packet). So SGDMA generates interrupt, status says that EOP is found, descriptor completed and chain is completed.
To continue the operation, I thought I had to write do_async_transfer again into SGDMA transfer complete interrupt routine, but that's not working. I suppose I need to set up descriptors again?
How can I make the stream-to-memory transfer always continuous? Now it is done once and thats it.