jpm Posted February 9, 2023 Share Posted February 9, 2023 Has anyone managed to get video encoder working with the latest mainline kernel? I'm getting stuck trying to compile the cedar_ve kernel driver from https://github.com/uboborov/sunxi-cedar-mainline I have downloaded the kernel source using armbian-config and then built the sunxi-cedar-mainline kernel driver. However, I fail to load the driver due to version magic: Quote root@nanopineo:~# modprobe cedar_ve modprobe: ERROR: could not insert 'cedar_ve': Exec format error root@nanopineo:~# dmesg | tail -n 1 [ 653.998366] cedar_ve: version magic '5.15.80 SMP mod_unload ARMv7 thumb2 p2v8 ' should be '5.15.80-sunxi SMP mod_unload ARMv7 thumb2 p2v8 ' When trying to force the load: Quote root@nanopineo:~# modprobe -f cedar_ve modprobe: ERROR: could not insert 'cedar_ve': Exec format error But no dmesg message about magic check failure. 0 Quote Link to comment Share on other sites More sharing options...
jpm Posted February 18, 2023 Author Share Posted February 18, 2023 Some updates: 1) Updated the dts file as required in https://github.com/uboborov/sunxi-cedar-mainline 2) Fixed cedar_ve compilation issues / kernel name 3) after loading the cedar_ve.ko, get only this is dmesg: Quote [ 71.096286] cedar_ve: loading out-of-tree module taints kernel. [ 71.097176] cedar_ve: module verification failed: signature and/or required key missing - tainting kernel [ 71.098546] sunxi cedar version 0.1 @ubobrov I would appreciate any insights. 0 Quote Link to comment Share on other sites More sharing options...
ning Posted February 19, 2023 Share Posted February 19, 2023 0 Quote Link to comment Share on other sites More sharing options...
jpm Posted February 19, 2023 Author Share Posted February 19, 2023 @ning Thanks for the link. But if I understand correctly - this is for decode. I need to encode h264. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.