petit_miner Posted September 15, 2019 Share Posted September 15, 2019 Hi there, I'm currently struggling to get the Cedrus VPU up and running. I have downloaded the specific version from bootlin and got the kernel up and running, however the V3s isn't supported by the Sunxi SRAM driver. This driver is important to get the VPU going. I tried altering the devicetree of the V3s to match a SoC that is somehow similiar, but it clearly failed for obvious reasons. I get this error message: [ 1.035259] cedrus 1c0e000.video-codec: Failed to claim SRAM [ 1.040990] cedrus 1c0e000.video-codec: Failed to probe hardware [ 2.478247] cedrus 1c0e000.video-codec: Failed to claim SRAM [ 2.484047] cedrus 1c0e000.video-codec: Failed to probe hardware [ 2.505765] cedrus 1c0e000.video-codec: Failed to claim SRAM [ 2.511591] cedrus 1c0e000.video-codec: Failed to probe hardware [ 8.595278] cedrus 1c0e000.video-codec: Failed to claim SRAM [ 8.601112] cedrus 1c0e000.video-codec: Failed to probe hardware I tried to understand whats going on in the linux/drivers/soc/sunxi/sunxi_sram.c file to adapt this driver to the V3s, but in the end I don't know how to do that. I hope somebody can help me with that or can give me a hint. Link to comment Share on other sites More sharing options...
jernej Posted September 17, 2019 Share Posted September 17, 2019 Show your DT patch. It shouldn't be that hard to make it work. Link to comment Share on other sites More sharing options...
jagath Posted January 8, 2020 Share Posted January 8, 2020 Hi I am trying to use v3s for video encoding with cedrus driver. i am not able to use cedrus with mainline kernal without proper device tree can you share your dt. is the problem is resolved ? Link to comment Share on other sites More sharing options...
wolfallein Posted July 16, 2020 Share Posted July 16, 2020 Hi, Did you managed to solve this? Could you share your dts, I'm not able to get it working. Link to comment Share on other sites More sharing options...
Recommended Posts