odroid_c2 compile kernel for 0bda:f179 support

  • Good Morning,
    I have a wireless usb adapter with id 0bda: f179 and I would like to add the rtl8188fu module to it in the kernel.
    I already compiled this module for the armbian on the c2 odroid and it worked correctly.

    How should I compile this module in the kernel?

    the following steps were taken:

    git clone GitHub - LibreELEC/LibreELEC.tv: Just enough OS for KODI
    cd LibreELEC.tv
    git checkout libreelec-9.0
    PROJECT = Amlogic DEVICE = Odroid_C2 ARCH = arm tools / download-tool


    to compile the module in armbian I used following command
    I downloaded the kernel-headers and then

    git clone GitHub - ulli-kroll/rtl8188fu: rtl8188fu driver for linux
    make
    sudo modprobe cfg80211
    insmod rtl8188fu.ko
    make installfw


    here is the cross compile command

    make ARCH = "arm" CROSS_COMPILE = CROSS_COMPILE=aarch64-linux-gnu- KSRC = /usr/lib/linux-kernel-headers-3.14.79-116 modules

  • You will need to add a package to the build.

    Add RTL8188FU to ADDITIONAL_DRIVERS in distributions/LibreELEC/options.

    mkdir packages/linux-drivers/RTL8188FU

    add package.mk to packages/linux-drivers/RTL8188FU (use package.mk from another RTL driver as a reference)

    PROJECT = Amlogic DEVICE = Odroid_C2 ARCH = arm scripts/build RTL8188FU (or PROJECT = Amlogic DEVICE = Odroid_C2 ARCH = arm make image)

  • I compiled and generated the image but it did not work
    when I rebooted the odroid appeared only a black screen.

    should I recompile with this patch?
    if I compile only the driver and install in libreelec already ready how should I do?

  • Code
    I downloaded the patch and put it in the folder so I tried to compile only the module with the command
    
    PROJECT = Amlogic DEVICE = Odroid_C2 ARCH = arm scripts / build RTL8188FU
    
    Returns
    Incorrect checksum calculated on downloaded file: got 820f99039dcd499fa5c87fb371d37e7bac64ab1fb5a532af64bb3180db36160b wanted b51c1c4e8fb1d16fa628337346b32128524c78fc29964d7983959470feff86e4
    
    How do I check checksum?
    I downloaded tar from the package so I rode sha256sum on my linux and entered the value in the package.mk
  • compiled and generated the following files How do I install libreelec?


    /build.LibreELEC-Odroid_C2.arm-9.0-devel/RTL8188FU-fab4f5db4580d9a920f99c64dceaa5711589559d$ ls

    core firmware hal include Kconfig LICENSE Makefile modules.order Module.symvers os_dep README.md rtl8188fu.ko rtl8188fu.mod.c rtl8188fu.mod.o rtl8188fu.o

  • yes

    # additional drivers to install:

    # for a list of additional drivers see packages/linux-drivers

    # Space separated list is supported,

    # e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"

    ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU RTL8188FU"

    how can I install the module in libreelec without recompiling the complete system?

  • after compiling again with the patch I did the update of the image through tarlibreelec started but the module did not appear

    Add RTL8188FU to "ADDITIONAL_DRIVERS=" in projects/Amlogic/options

    how can I install the module in libreelec without recompiling the complete system?

    You can't. You have to compile a new image.

  • Hi Can you share the package.mk file for rtl8188fu driver you used ? Thanks

  • Hi Can you share the package.mk file for rtl8188fu driver you used ? Thanks


    I know this is kinda old thread but this is what i used