Re: [yocto] How to select Linux kernel version?

2021-01-08 Thread JH
Hi Quentin, Thanks for your helps, I finally figured out an old Yocto version thud is able to pick up the latest the kernel version to run 5.10 where the Zeus could not, there are a couple of bugs in Zeus which I could not run Zeus in Ubuntu 20.4, it is time for me to upgrade to the latest Yocto

Re: [yocto] Suggestions on improvements

2021-01-08 Thread Robert Berger
Hi, On 08/01/2021 04:59, Meh Mbeh Ida Delphine wrote: > > Due to some mismatches, warnings pop up during the build. Below are some > few sample warnings and I'm aware of false positives; Why do you think they are false positives? > > WARNING: glibc-2.32-r0 do_package: License for package nscd

Re: [yocto] rebuild issues using sstate mirror

2021-01-08 Thread Randy MacLeod
On 2021-01-08 6:16 a.m., Markus Volk wrote: Hi Folks, i did some research on building a custom yocto image using gatesgarth branch. The testcase was building an image on one machine and rebuild it on another using sstate mirror. I encountered two issues witch i was able to fix in a way that

[yocto] why would "file" command not print out "ISO 9660" for .iso image?

2021-01-08 Thread Robert P. J. Day
was just handed this little puzzler and, before i dive into it, perhaps someone has an answer. in working WRL9/morty system, the "file" command (file_5.28.bb) is used to determine whether a file is a valid ISO image, by running "file" against the image file, expecting to get output like:

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoran
Even better: debian@arm:/lib/modules/5.8.18-bone24/kernel/drivers/net/usb$ lsmod Module Size Used by *huawei_cdc_ncm 16384 0cdc_wdm24576 1 huawei_cdc_ncmcdc_ncm32768 1 huawei_cdc_ncm* spidev 20480 0 evdev

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Vijay Rakesh Munganda
On Fri, Jan 8, 2021 at 04:09 AM, Quentin Schulz wrote: > > On Fri, Jan 08, 2021 at 04:00:54AM -0800, Vijay Rakesh Munganda wrote: > >> On Fri, Jan 8, 2021 at 03:15 AM, Quentin Schulz wrote: >> >> >>> >>> On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote: >>> >>> On

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoran
> 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 [vuser@fedora33-ssd usb]$ kdiff3 huawei_cdc_ncm_5.8.18.c huawei_cdc_ncm.c

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] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Quentin Schulz
On Fri, Jan 08, 2021 at 04:00:54AM -0800, Vijay Rakesh Munganda wrote: > On Fri, Jan 8, 2021 at 03:15 AM, Quentin Schulz wrote: > > > > > On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote: > > > >> On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote: > >> > >> > >>> >

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Vijay Rakesh Munganda
On Fri, Jan 8, 2021 at 03:15 AM, Quentin Schulz wrote: > > On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote: > >> On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote: >> >> >>> >>> Hi, >>> >>> On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote: >>>

Re: [yocto] insmod - huawei E3372h kernel module

2021-01-08 Thread Zoran
> 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* On my target (Pocket Bone): debian@arm:/lib/modules/5.8.18-bone24/kernel$ find . -name huawei_cdc_ncm*

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

[yocto] rebuild issues using sstate mirror

2021-01-08 Thread Markus Volk
Hi Folks, i did some research on building a custom yocto image using gatesgarth branch. The testcase was building an image on one machine and rebuild it on another using sstate mirror. I encountered two issues witch i was able to fix in a way that may also be interesting upstream. The first

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Quentin Schulz
On Fri, Jan 08, 2021 at 03:07:43AM -0800, Vijay Rakesh Munganda wrote: > On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote: > > > > > Hi, > > > > On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote: > > > >> Hi Paul Barker, > >> > >> No, ${WORKDIR}/tokbox directory is

[yocto] build issues using sstate mirror

2021-01-08 Thread Markus Volk
Hi Folks, i did some research on building a custom yocto image using gatesgarth branch. The testcase was building an image on one machine and rebuild it on another using sstate mirror. I encountered two issues which i was able to fix in a way that may also be interesting upstream. The first

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Vijay Rakesh Munganda
On Fri, Jan 8, 2021 at 01:26 AM, Quentin Schulz wrote: > > Hi, > > On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote: > >> Hi Paul Barker, >> >> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can >> only see it in the downloads directory. > > S =

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Vijay Rakesh Munganda
On Fri, Jan 8, 2021 at 01:28 AM, Paul Barker wrote: > > >> Hi Paul Barker, >> >> No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can >> only see it in the downloads directory. >> >> I'm Yocto Project Dunfell version. > > What I mean is, do you see the file >

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] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Quentin Schulz
Hi, On Fri, Jan 08, 2021 at 01:19:51AM -0800, Vijay Rakesh Munganda wrote: > Hi Paul Barker, > > No, ${WORKDIR}/tokbox directory is empty, it is not getting placed. I can > only see it in the downloads directory. > S = "${WORKDIR}/libopentok_linux_llvm_arm64" This is the root directory of

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Paul Barker
On Fri, 8 Jan 2021 at 08:49, Vijay Rakesh Munganda wrote: > > Hi Zoran, > > Thanks for the reply. The reason behind CMakeLists.txt does not appear is > because tgz file is getting extracted into the source folder, it is empty > when I checked. My recipe is unable to extract the tgz file which

Re: [yocto] How to select Linux kernel version?

2021-01-08 Thread Quentin Schulz
Hi Jupiter, On Fri, Jan 08, 2021 at 02:03:47PM +1100, Jupiter wrote: > Thanks Quentin, here are results: > > > So we can stop half guessing and help you can you give us the output of: > > > bitbake -e virtual/kernel | grep -e "^PREFERRED_PROVIDER_" > > $ bitbake -e virtual/kernel | grep -e

Re: [yocto] Unable to extract tar file #dunfell #yocto

2021-01-08 Thread Vijay Rakesh Munganda
Hi Zoran, Thanks for the reply. The reason behind CMakeLists.txt does not appear is because tgz file is getting extracted into the source folder, it is empty when I checked. My recipe is unable to extract the tgz file which is download in the downloads directory. Do I need to write something