All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zoran" <zoran.stojsavljevic@gmail.com>
To: Zoltan Kerenyi Nagy <kerenyi.nagy.zoltan@gmail.com>
Cc: Yocto-mailing-list <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] insmod - huawei E3372h kernel module
Date: Tue, 19 Jan 2021 17:54:14 +0100	[thread overview]
Message-ID: <CAGAf8Lwm=8s0Q=hhtou4ML562Gx83h41eHDGLc3MqR-mzhsmoQ@mail.gmail.com> (raw)
In-Reply-To: <2283.1611067697958905459@lists.yoctoproject.org>

Zolee,

You need also to do on the target platform the following (very first time):

You must have header files, at minimum, in target's : /usr/src/$(uname -r)/

Or for yocto (AFAIK), maybe: /usr/src/kernel/$(uname -r)/

To prepare out-of-tree device driver compilation in /usr/src/kernel/$(uname -r)/

/usr/src/kernel/$(uname -r)$ make oldconfig && make prepare
/usr/src/kernel/$(uname -r)$ sudo make scripts prepare

Zee
_______

On Tue, Jan 19, 2021 at 3:48 PM Zoltan Kerenyi Nagy
<kerenyi.nagy.zoltan@gmail.com> wrote:
>
> My modeles.dep file looks like this on target:
>
> kernel/fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko:
> kernel/crypto/echainiv.ko:
> kernel/crypto/gcm.ko:
> kernel/crypto/ccm.ko:
> kernel/crypto/ghash-generic.ko:
> kernel/drivers/char/hw_random/rng-core.ko:
> kernel/net/ipv4/tcp_bic.ko:
> kernel/net/ipv4/tcp_westwood.ko:
> kernel/net/ipv4/tcp_htcp.ko:
> kernel/net/bridge/br_netfilter.ko:
> kernel/net/wireless/cfg80211.ko: kernel/net/rfkill/rfkill.ko
> kernel/net/mac80211/mac80211.ko: kernel/net/wireless/cfg80211.ko kernel/net/rfkill/rfkill.ko
> kernel/net/rfkill/rfkill.ko:
> kernel/net/rfkill/rfkill-regulator.ko: kernel/net/rfkill/rfkill.ko
> kernel/net/rfkill/rfkill-gpio.ko: kernel/net/rfkill/rfkill.ko
> extra/cdc-ncm.ko: extra/cdc-wdm.ko
> extra/hello.ko:
> extra/cdc-wdm.ko:
> extra/huawei_cdc_ncm.ko: extra/cdc-wdm.ko
>
> --
> Zolee
> 
>

  reply	other threads:[~2021-01-19 16:54 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07 13:46 insmod - huawei E3372h kernel module Zoltan Kerenyi Nagy
2021-01-07 15:03 ` [yocto] " Zoran
2021-01-07 15:16   ` Zoltan Kerenyi Nagy
2021-01-07 15:27     ` Zoran
     [not found]     ` <1657FCB4180F6472.31350@lists.yoctoproject.org>
2021-01-07 17:20       ` Zoran
     [not found]         ` <CAHwRhWZSW+g0qJkAQLz5npmi5ig37XTvM6r_tJWmpk3ERMB9ew@mail.gmail.com>
2021-01-07 18:35           ` Zoran
2021-01-08 10:36         ` Zoltan Kerenyi Nagy
2021-01-08 11:22           ` Zoltan Kerenyi Nagy
2021-01-08 11:59             ` [yocto] " Zoran
2021-01-08 12:28               ` Zoltan Kerenyi Nagy
2021-01-08 12:49                 ` [yocto] " Zoran
     [not found]                 ` <165842AB3B8C5237.7830@lists.yoctoproject.org>
2021-01-08 14:43                   ` Zoran
2021-01-11 10:23                     ` Zoltan Kerenyi Nagy
2021-01-11 13:20                     ` Zoltan Kerenyi Nagy
2021-01-12 15:13                     ` Zoltan Kerenyi Nagy
2021-01-12 15:17                       ` Zoltan Kerenyi Nagy
2021-01-17 12:34                     ` Zoltan Kerenyi Nagy
2021-01-17 22:27                       ` [yocto] " Zoran
2021-01-18  5:27                         ` Zoltan Kerenyi Nagy
2021-01-19 13:00                         ` Zoltan Kerenyi Nagy
2021-01-19 13:23                           ` [yocto] " Zoran
     [not found]                           ` <165BA4E49F808CA9.28472@lists.yoctoproject.org>
2021-01-19 13:27                             ` Zoran
2021-01-19 13:41                         ` Zoltan Kerenyi Nagy
2021-01-19 14:48                           ` Zoltan Kerenyi Nagy
2021-01-19 16:54                             ` Zoran [this message]
2021-01-20 11:20                               ` Zoltan Kerenyi Nagy
2021-01-20 13:04                                 ` [yocto] " Zoran
2021-01-21 10:00                                   ` Zoltan Kerenyi Nagy
2021-01-25 13:39                                     ` Zoltan Kerenyi Nagy
2021-01-08 12:35               ` Zoltan Kerenyi Nagy
2021-01-08 10:24     ` Zoltan Kerenyi Nagy

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='CAGAf8Lwm=8s0Q=hhtou4ML562Gx83h41eHDGLc3MqR-mzhsmoQ@mail.gmail.com' \
    --to=zoran.stojsavljevic@gmail.com \
    --cc=kerenyi.nagy.zoltan@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.