You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so i added some debug prints to tbsecp3-dma.c that output the adapter->dma.dma_addr
which result in
DMAAddr: 0x4 1ac8 0000
DMAAddr: 0x4 1ad0 0000
DMAAddr: 0x4 1ad8 0000
DMAAddr: 0x4 1ae0 0000
WITH the 32-bit dma overlay patch the 0x4 high byte is gone and the card streams fine, so i did a quick test and hardcoded
what i find strange is, that the card still streams with dtoverlay=pcie-32bit-dma as if the firmware of the card is simply ignoring the TBSECP3_DMA_ADDRH
i also tried to read it but that leads to which seems a different endianess, but my 4 made it?
0x1ac8000004000000
i am not a C developer so i am not sure if i made a mistake or its the cards firmware,could anyone give me a hand on this?
The text was updated successfully, but these errors were encountered:
hi,
i am trying to get the 6904se card to run on a raspberry pi 4 WITHOUT using the dtoverlay=pcie-32bit-dma patch (since that breaks the ahci driver)
i noticed that the high byte of the address is hardcoded to 0 which should be the issues
linux_media/drivers/media/pci/tbsecp3/tbsecp3-dma.c
Line 113 in b782005
so i added some debug prints to tbsecp3-dma.c that output the adapter->dma.dma_addr
which result in
DMAAddr: 0x4 1ac8 0000
DMAAddr: 0x4 1ad0 0000
DMAAddr: 0x4 1ad8 0000
DMAAddr: 0x4 1ae0 0000
WITH the 32-bit dma overlay patch the 0x4 high byte is gone and the card streams fine, so i did a quick test and hardcoded
tbs_write(adapter->dma.base, TBSECP3_DMA_ADDRH, (u32) 4);
but unfortunatelly it did not help.
what i find strange is, that the card still streams with dtoverlay=pcie-32bit-dma as if the firmware of the card is simply ignoring the TBSECP3_DMA_ADDRH
i also tried to read it but that leads to which seems a different endianess, but my 4 made it?
0x1ac8000004000000
i am not a C developer so i am not sure if i made a mistake or its the cards firmware,could anyone give me a hand on this?
The text was updated successfully, but these errors were encountered: