d1dd1 Posted December 31, 2015 Share Posted December 31, 2015 Hello, I was trying to add the module em28xx (PCTV 460e DVB S2 drivers) but get errors Cubietruck Vanilla 2.81 What I did: 1. make menuconfig in /usr/src/linux-headers-4.3.3-sunxi 2. add Device Drivers -> Multimedia support -> Media USB Adapters -> Empia EM28xx USB devices support -> DVB/ATSC Support for em28xx based TV cards as Module 3. "make scripts" as there was an error with the scripts 4. make modules I get the following error root@cubietruck:/usr/src/linux-headers-4.3.3-sunxi# make modules ARCH=arm CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: *** No rule to make target 'arch/arm/tools/gen-mach-types', needed by 'include/generated/mach-types.h'. Stop. arch/arm/Makefile:313: recipe for target 'archprepare' failed make: *** [archprepare] Error 2 Is there a tutorial how to build additional modules on the cubietruck ? Could you include the module in future releases ( iirc the S2 adapter works with the legacy image out of the box so the driveres are already in there) Thanks ! Link to comment Share on other sites More sharing options...
Igor Posted December 31, 2015 Share Posted December 31, 2015 We don't have full kernel source on the images, only headers. Added: https://github.com/igorpecovnik/lib/commit/0d39b31811f93d9208bcd166072499b7e5766842 1 Link to comment Share on other sites More sharing options...
d1dd1 Posted December 31, 2015 Author Share Posted December 31, 2015 Thanks, waiting for the next build 1 Link to comment Share on other sites More sharing options...
d1dd1 Posted January 12, 2016 Author Share Posted January 12, 2016 Meanwhile I compiled the image from github sources according to the documention with KERNEL_ONLY=YES and installed it over 4.81 and the USB DVB stick works. Thanks again ! 1 Link to comment Share on other sites More sharing options...
Recommended Posts