Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39B47C636CC for ; Mon, 13 Feb 2023 13:49:58 +0000 (UTC) Subject: Adding backported driver to the kernel #kernel To: yocto@lists.yoctoproject.org From: "Adrian" X-Originating-Location: Darłowo, West Pomerania, PL (77.252.68.106) X-Originating-Platform: Windows Firefox 109 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 13 Feb 2023 05:49:52 -0800 Message-ID: <83UU.1676296192066475347.KRRR@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="PoSbz7xrCiY2Obh78ca2" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 13 Feb 2023 13:49:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/59215 --PoSbz7xrCiY2Obh78ca2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I built cfg80211 driver externally and added it as a recipe to the system: *KERNEL_MODULE_AUTOLOAD +=3D "cfg80211"* *install -m 755 ${S}/cfg80211.ko ${D}${nonarch_base_libdir}/modules/${KERNE= L_VERSION}/extra* ** In kernel I setup to use cfg80211 as a module. If I copy this manually it's working but if I want build this recipe I rece= ived error: *wlan-driver-1.0-r0 do_packagedata: The recipe wlan-driver is trying to ins= tall files into a shared area when those files already exist.* Ofcourse I have already installed cfg80211 because it selected as a module = so kernel create the file: If I disabled cfg80211 from kernel, building is working but I received erro= r during insmod: *cfg80211: disagrees about version of symbol wireless_send_event cfg80211: Unknown symbol wireless_send_event (err -22)* Thanks --PoSbz7xrCiY2Obh78ca2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi,
 
I built cfg80211 driver externally and added it as a reci= pe to the system:
 
KERNEL_MODULE_AUTOLOAD +=3D "cfg80211"
install -m 755 ${S}/cfg80211.ko = ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/extra
 
In kern= el I setup to use cfg80211 as a module.
 <= /span>
If I co= py this manually it's working but if I want build this recipe I received er= ror:
wlan-driver-1.0-r0 do_packagedata: The recipe wlan-driver= is trying to install files into a shared area when those files already exi= st.
 
Ofcourse I have already installed cfg80211 because it selected as= a module so kernel create the file:
<= br aria-hidden=3D"true" />
 
If I disabled cfg80211 from kernel, building is working but I rec= eived error during insmod:
 
cfg80211: disagrees about version of sym= bol wireless_send_event
cfg80211: Unknown symbol wireless_send_event (err -22)

 
Thanks --PoSbz7xrCiY2Obh78ca2--