This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: imx6 Debian Kernel Module

Other Parts Discussed in Thread: CC1350

Tool/software: Linux

Hi everyone,

I have imx6-quad and Debian Jessie installed on it. Here is the full info about (uname -a):

"Linux linaro-alip 4.1.15-g5599520 #1 SMP PREEMPT Sun Jan 8 13:03:20 IST 2017 armv7l GNU/Linux"

I'm trying to run tunslip application for CC1350 Launchpad, but there is no kernel module "tun" in my OS. When I run command "modprobe tun", I given an error:

"modprobe: FATAL: Module tun not found."

 

At this point, I don't know how to install tun module to my Debian. I even don't know where to start. Is it possible to add tun module to running operation system or should I compile whole kernel from scratch? If I can add kernel module, how could I add to running OS?

Any help is too precious for me.

Best Regards,

Said.

 

  • Hi Said,

    I am not familiar with the IMX6 kernels (for a detailed info on it you should ask in the vendor forums).

    Is it possible to add tun module to running operation system or should I compile whole kernel from scratch?


    Most likely you'll have to enable your drivers (if you have the sources integrated in your kernel) in your defconfig fiel & then recompile. If you don't have the drivers, you'll have to add them to the kernel source, modify the Kconfig & defconfig and rebuild. You also may need to do some porting in the dts file. Again for specifics you should ask in the IMX forums.

    NOTE that we support linux kernel running ONLY on TI devices.

    Best Regards,
    Yordan