($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Worik Stanton <worik.stanton@tirotech.co.nz>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] Opkg cannot find anything to satisfy 'kernel-module-iwlmvm'
Date: Tue, 14 May 2024 14:51:38 +1200	[thread overview]
Message-ID: <CANuMBWFqo2P7yY=RKaAUXwCbGFifS4+vGMjK+pgt5njFHVgXUw@mail.gmail.com> (raw)
In-Reply-To: <CANNYZj8zTegW8tnHoKrkDDKKaQPmvY36FVQpGxzsbvjCJisKeQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2521 bytes --]

On Mon, 13 May 2024 at 19:14, Alexander Kanavin <alex.kanavin@gmail.com>
wrote:

> You need to look into build logs and build directory for the kernel
> recipe to see what modules are being built and packaged.
>

Rightio.  (I found that the failure is logged in the "do_rootfs" recipe,
but concentrating on the kernel recipe):

I found a problem, straight away:  The kernel recipe includes in its
SRC_URI a file that (looks like) it sets kernel configuration to load the
iwlwifi modules.
However when I build it and boot it and examine /proc/config.gz none of the
configuration from the kernel recipe are there

Grepping around for the configuration options I found this file in my build
section:
build/tmp/work-shared/apalis-imx8/kernel-source/.kernel-meta/cfg/merge_config_build.log
It is not updated on each build, but has been updated today, so I am unsure
on when and how it was created.

It says (in part)

----------------------------
#
# configuration written to .config
#
make[1]: Leaving directory
'/home/yocto/build/tmp/work/apalis_imx8-tdx-linux/linux-toradex/5.15.77+gitAUTOINC+458ba358fc-r0/build'
Value requested for CONFIG_CFG80211 not in final .config
Requested value:  CONFIG_CFG80211=y
Actual value:     CONFIG_CFG80211=m

Value requested for CONFIG_MAC80211 not in final .config
Requested value:  CONFIG_MAC80211=y
Actual value:     CONFIG_MAC80211=m

Value requested for CONFIG_IWLWIFI not in final .config
Requested value:  CONFIG_IWLWIFI=m
Actual value:

Value requested for CONFIG_IWLWIFI_LEDS not in final .config
Requested value:  CONFIG_IWLWIFI_LEDS=y
Actual value:

Value requested for CONFIG_IWLMVM not in final .config
Requested value:  CONFIG_IWLMVM=m
Actual value:
----------------------------


The kernel recipe from:
meta-tirotech/recipes-kernel/linux/linux-toradex_%.bbappend
----------------------------
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI += "\
        file://tirotech.dts \
        file://intel-wireless.cfg \
        file://0001-Add-missing-M40-UART-clock-to-resource-table.patch \
        "
KERNEL_DEVICETREE += "freescale/tirotech.dtb"

do_patch:append () {
    cp -f ${WORKDIR}/tirotech.dts
${S}/arch/arm64/boot/dts/freescale/tirotech.dts
    echo 'dtb-$(CONFIG_ARCH_MXC) += tirotech.dtb' >> \
        ${S}/arch/arm64/boot/dts/freescale/Makefile
}
----------------------------

The file  intel-wireless.cfg:

----------------------------
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLMVM=m
----------------------------

[-- Attachment #2: Type: text/html, Size: 3581 bytes --]

  reply	other threads:[~2024-05-14  2:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13  0:02 Opkg cannot find anything to satisfy 'kernel-module-iwlmvm' Worik Stanton
2024-05-13  7:13 ` [yocto] " Alexander Kanavin
2024-05-14  2:51   ` Worik Stanton [this message]
     [not found]   ` <17CF3B3BCDD18A8E.29130@lists.yoctoproject.org>
2024-05-15 21:15     ` Worik Stanton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANuMBWFqo2P7yY=RKaAUXwCbGFifS4+vGMjK+pgt5njFHVgXUw@mail.gmail.com' \
    --to=worik.stanton@tirotech.co.nz \
    --cc=alex.kanavin@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).