Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Remove conflicting builtin kernel module using yocto

Remove conflicting builtin kernel module using yocto

Scheduled Pinned Locked Moved Ask your questions right here!
1 Posts 1 Posters 526 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    liam
    wrote on last edited by
    #1

    I am trying to install a new version of an ASIX usb driver on a development board. Unfortunately, the old version of the driver is built-in to the kernel.

    Now I am trying to recompile the kernel without the offending builtin driver. I'm using yocto, but I don't know what the best way is to figure out exactly where that driver is coming from, and remove it from the build.

    Before trying to rebuild the kernel, I installed a new version of the driver as a loadable module, but was unable to load and bind the device to it because the builtin module had taken the name asix already.

    I tried recompiling the driver with a new name asix_new and using a udev rule to disconnect the relevant device from the old builtin asix driver and connecting it to the axix_new loadable driver. This didn't work for more hazy reasons. My best guess is that the device didn't like being disconnected, but I can't tell for sure.

    I am following the instructions on the docs to rebuild and flash the kernel to the VOXL 2.

    I have also tried using:

    $ bitbake linux-msm -c menuconfig
    $ bitbake linux-msm -c diffconfig
    

    then deselecting what I believe are the only two USB ethernet dongle drivers from Asix (CONFIG_USB_NET_AX8817X and CONFIG_USB_NET_AX88179_17A), moving the resulting .cfg file into meta-voxl2-bsp/recipes-kernel/linux-msm/files/fragments/ then adding that file to the meta-voxl2-bsp/recipes-kernel/linux-msm/linux-msm_4.19.bbappend file as described in the yocto docs. But when I rebuild the project and flash it to the board, I still get the error that asix is builtin:

    $ modprobe -r asix    
    modprobe: FATAL: Module asix is builtin.
    

    I'll also add that modinfo provides no information here:

    $ modinfo asix
    modinfo: ERROR: Module asix not found.
    
    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    ModalAI
    Categories Recent Tags ModalAI.com Docs
    © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups