2 Replies Latest reply on Feb 22, 2016 9:39 AM by CurtisR

    Troubles building kernel modules in the yocto environment

    CurtisR

      Hi, I am trying to build a kernel module and have been failing miserably. Following the BSP guide http://download.intel.com/support/edison/sb/edisonbsp_ug_331188005.pdf I have done steps 2, 2.1, and 5. I am able to include modules by modifying the kernel in step 5 but getting the module to build has been troublesome. I am following the "Add BATMAN module" guide (here IoT - Intel® Edison - adding kernel modules to Yocto* - example "batman" | Intel® Developer Zone) but cannot even get the batman module to add. The image succeeds on the build but there is no .ipk or .tar output file after the build. I tried to "opkg install" one of the already built packages in the "build/tmp/deploy/ipk/edison/" directory and I get the response "opkg command not recognized". Would this mean the environment is broken somehow? I am new to this whole building custom images thing and any help would be appreciated. Also I am running Ubuntu 12.04 on the host.

       

      Thanks, Curtis