[yocto] Quectel EG25-G LTE modem

2021-03-24 Thread Zoltan Kerenyi Nagy
Hi, I'm trying to make a recipie for a quectel-cm driver. I created a folder for it and put all the source files into a file folder. This would be the first time that I'm making a recipie for multiple files with a Makefile. In the manuals there is only an example for a singe helloworld.c file,

Re: [yocto] Huawei e3372h & Quectel EG25-G LTE modems

2021-02-23 Thread Zoltan Kerenyi Nagy
I'm reading the Quectel dokumentation, and it say that a *GobiNet* driver should be included as well. But there is no Yocto recipe for that -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52470):

Re: [yocto] Huawei e3372h & Quectel EG25-G LTE modems

2021-02-23 Thread Zoltan Kerenyi Nagy
Hi Khem, There is no NetworkManager.conf file on the device. Shoudl I create one? -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52469): https://lists.yoctoproject.org/g/yocto/message/52469 Mute This Topic:

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-25 Thread Zoltan Kerenyi Nagy
Hi, If I intentionally typo in the defconfig file: USB_NET_HUAWEI_CDC_NCM_cat=y USB_NET_DRIVERS=y USB_USBNET=y The bitbake -f linux command doesn't recognize the change. It means to me that any change in this will not have an effect. -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-21 Thread Zoltan Kerenyi Nagy
Im experimenting with the kernel's defconfig. Added these: USB_NET_HUAWEI_CDC_NCM=m USB_NET_DRIVERS=y USB_USBNET=y and I'm recompiling the kernel: bitbake -f linux Takes some time... -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-20 Thread Zoltan Kerenyi Nagy
Hi Zoran, Interestingly I don't have any header file on the target: # find / -name *.h # -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52056): https://lists.yoctoproject.org/g/yocto/message/52056 Mute This Topic:

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-19 Thread Zoltan Kerenyi Nagy
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:

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-19 Thread Zoltan Kerenyi Nagy
Here is an error message: modprobe - insmod ( http://paste.ubuntu.com/p/hMWBQSDKcF/ ) -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52043): https://lists.yoctoproject.org/g/yocto/message/52043 Mute This Topic:

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-19 Thread Zoltan Kerenyi Nagy
I don have a recipie for /etc/modules To my understanding this order will cause the load: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver iProduct=USB_Host_Driver_for_Network_Control_Model iManufacturer=NCM" KERNEL_MODULE_AUTOLOAD +=

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-17 Thread Zoltan Kerenyi Nagy
uawei_cdc_ncm* > > You need to, using YOCTO recipes, to modify /etc/modules file to look > as shown above, while bitbaking the target. > > Zoran > ___ > > > On Sun, Jan 17, 2021 at 1:34 PM Zoltan Kerenyi Nagy < > kerenyi.nagy.zol...@gmail.com> wrote: > &

[yocto] devtool add

2021-01-17 Thread Zoltan Kerenyi Nagy
Hi Folks, Is it possible to create a recipe file with devtool? *devtool add cdc-ncm https://raw.githubusercontent.com/torvalds/linux/master/drivers/net/usb/cdc_ncm.c * There is gonna be a file not found error:

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-17 Thread Zoltan Kerenyi Nagy
Hi, I contacted the kernel module (cdc_ncm) developper, and he suggested to change/experiment the kernel module load order. I thought if I specify this way: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-12 Thread Zoltan Kerenyi Nagy
If I make a symbolic link for modprobe, the message is the same like insmod: root@barix-ipam400:~# ln -s /lib/modules/4.10.0/extra/cdc-ncm.ko /lib/modules/4.10.0/ root@barix-ipam400:~# modprobe cdc_ncm.ko modprobe: can't load module cdc_wdm (extra/cdc-wdm.ko): invalid module format -- Zolee

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-12 Thread Zoltan Kerenyi Nagy
Intrestingly modprobe gives me a different error than insmod: To me this means that it's gonna be a Yocto issue during bitbake. My testing kernel module (hello word) bitbakes, and can be loaded and unloaded on the hardware root@barix-ipam400:~# modprobe /lib/modules/4.10.0/extra/cdc-ncm.ko

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-11 Thread Zoltan Kerenyi Nagy
I managed to bitbake without errors/warning the 2 additional modules, however I cannot load those modules manually on the device: http://paste.ubuntu.com/p/My4x5j3t4R/ Do you you have any idea? -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-11 Thread Zoltan Kerenyi Nagy
Hi, Im doing this: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver iProduct=USB_Host_Driver_for_Network_Control_Model iManufacturer=NCM" KERNEL_MODULE_AUTOLOAD += "wmc_device_managment"KERNEL_MODULE_PROBECONF += "wmc_device"cdc_wdm =

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoltan Kerenyi Nagy
I experimented with the latest and greatest source, this is my log during bitbake: http://paste.ubuntu.com/p/R5PjtrtVYn/ Thank you for your efforts! -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51948):

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoltan Kerenyi Nagy
Does it mean that it will never ever work? Could you please try this one? This might match your kernel version: https://elixir.bootlin.com/linux/v5.8.18/source/drivers/net/usb/huawei_cdc_ncm.c -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoltan Kerenyi Nagy
No success :-( insmod /lib/modules/4.10.0/extra/huawei_cdc_ncm.ko insmod: can't insert '/lib/modules/4.10.0/extra/huawei_cdc_ncm.ko': *unknown symbol in module, or unknown parameter* -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoltan Kerenyi Nagy
Hi, I managed to bitbake with these: http://paste.ubuntu.com/p/4W2525MQDj/ http://paste.ubuntu.com/p/VT3zyhy7h2/ I'm very curious how it behaves on the hardware -- Zolee -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51937):

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoltan Kerenyi Nagy
Hi, Makefile: huawei_cdc_ncm-y :=    huawei_cdc_ncm.o obj-m += huawei_cdc_ncm.o KDIR ?= /lib/modules/`uname -r`/build all: make -C $(KDIR) M=$(PWD) modules clean: make -C $(KDIR) M=$(PWD) clean install: cp *.ko /lib/modules/$(shell uname -r)/kernel/drivers/misc/ depmod -a This one doesnt

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-07 Thread Zoltan Kerenyi Nagy
le with Makefile above on > the target. > > (my two cent thoughts) > > Zoran > ___ > > On Thu, Jan 7, 2021 at 2:46 PM Zoltan Kerenyi Nagy > wrote: > > > > Hi Folks, > > > > I bitbaked a Huawei E3372h driver into the distro with this rec

[yocto] insmod - huawei E3372h kernel module

2021-01-07 Thread Zoltan Kerenyi Nagy
Hi Folks, I bitbaked a Huawei E3372h driver into the distro with this recipe file: SUMMARY = "Huawei Stick kernel module" LICENSE = "CLOSED" inherit module SRC_URI = "file://Makefile \ file://huawei_cdc_ncm.c \ " S = "${WORKDIR}" The makefile looks like this: obj-m :=

[yocto] loading huawei_cdc_ncm #kernel

2020-11-21 Thread Zoltan Kerenyi Nagy
Hi, I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object. I did this in the main recipie file, but it's not enogh: KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko" I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.

[yocto] loading huawei_cdc_ncm #kernel

2020-11-20 Thread Zoltan Kerenyi Nagy
Hi, I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object. I did this in the main recipie file, but it's not enogh: KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko" I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.

[yocto] loading huawei_cdc_ncm #kernel

2020-11-18 Thread Zoltan Kerenyi Nagy
Hi, I'd li to include as a kernel module the huawei_cdc_ncm.c file and autoloaded as a kernel object. I did this in the main recipie file, but it's not enogh: KERNEL_MODULE_AUTOLOAD += "cdc_ncm.ko" I guess I should have a bb file for the huawei_cdc_ncm.c, but I didnt find any on the net.

[yocto] wvdial

2020-09-17 Thread Zoltan Kerenyi Nagy
*now there is only one issue has left:* *ERROR: ExpansionError during parsing /home/kerenyiz/oe-core/build/../stuff/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb | ETA: 0:00:00Traceback (most recent call

[yocto] wvdial

2020-09-17 Thread Zoltan Kerenyi Nagy
Hi, Here is the error now, all the files are there, it says that *04_signed_request.diff* is not there: *WARNING: wvstreams-4.6.1-r0 do_fetch: Failed to fetch URL file://04_signed_request.diff, attempting MIRRORS if availableERROR: wvstreams-4.6.1-r0 do_fetch: Fetcher

Re: [yocto] vwdial

2020-09-11 Thread Zoltan Kerenyi Nagy
Ok, I will do that. Could you please tell me where am I supposed to remove from the exclusion list? :-) On 2020. Sep 11., Fri at 18:57, Khem Raj wrote: > On Fri, Sep 11, 2020 at 1:54 AM Zoltan Kerenyi Nagy > > wrote: > > > > > > I changed the vwdial reci

[yocto] vwdial

2020-09-11 Thread Zoltan Kerenyi Nagy
I changed the vwdial recipy file for what I've found on openembedded. I think now the error is only with *wvstreams* *NOTE: Resolving any missing task queue dependenciesERROR: Nothing PROVIDES 'wvstreams' (but

[yocto] vwdial

2020-09-10 Thread Zoltan Kerenyi Nagy
Hi, First of all, thank you for accepting me to this mailing list. I got a Barix ipam400 OEM board, and now I've found myself in the situation that vwdial would not compile. The error message is this when bitBake: *ERROR: Nothing RPROVIDES 'vwdial' (but