<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Remove conflicting builtin kernel module using yocto]]></title><description><![CDATA[<p dir="auto">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.</p>
<p dir="auto">Now I am trying to recompile the kernel without the offending builtin driver. I'm using <code>yocto</code>, 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.</p>
<p dir="auto">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 <code>asix</code> already.</p>
<p dir="auto">I tried recompiling the driver with a new name <code>asix_new</code> and using a <code>udev</code> rule to disconnect the relevant device from the old builtin <code>asix</code> driver and connecting it to the <code>axix_new</code> 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.</p>
<p dir="auto">I am following <a href="https://docs.modalai.com/voxl2-kernel-build-guide/" rel="nofollow ugc">the instructions on the docs</a> to rebuild and flash the kernel to the VOXL 2.</p>
<p dir="auto">I have also tried using:</p>
<pre><code class="language-shell">$ bitbake linux-msm -c menuconfig
$ bitbake linux-msm -c diffconfig
</code></pre>
<p dir="auto">then deselecting what I believe are the only two USB ethernet dongle drivers from Asix (<code>CONFIG_USB_NET_AX8817X</code> and <code>CONFIG_USB_NET_AX88179_17A</code>), moving the resulting <code>.cfg</code> file into <code>meta-voxl2-bsp/recipes-kernel/linux-msm/files/fragments/</code> then adding that file to the <code>meta-voxl2-bsp/recipes-kernel/linux-msm/linux-msm_4.19.bbappend</code> file as described in the <a href="https://docs.yoctoproject.org/2.5/kernel-dev/kernel-dev.html#configuring-the-kernel" rel="nofollow ugc">yocto docs</a>. But when I rebuild the project and flash it to the board, I still get the error that <code>asix</code> is builtin:</p>
<pre><code>$ modprobe -r asix    
modprobe: FATAL: Module asix is builtin.
</code></pre>
<p dir="auto">I'll also add that <code>modinfo</code> provides no information here:</p>
<pre><code>$ modinfo asix
modinfo: ERROR: Module asix not found.
</code></pre>
]]></description><link>https://forum.modalai.com/topic/2397/remove-conflicting-builtin-kernel-module-using-yocto</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 06:04:58 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/2397.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Jul 2023 16:13:18 GMT</pubDate><ttl>60</ttl></channel></rss>