[yocto] boot script for barebox in build/deploy/images/$IMAGE_NAME/ directory

2022-01-29 Thread Ivan Riabtsov
Hello everyone, I need to put the boot.sh file in the build/deploy/images/$IMAGE_NAME/ directory during the build, how can I do this using the yocto build system? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56021):

Re: [yocto] rebuilding images

2022-01-10 Thread Ivan Riabtsov
Ok, thanks. пн, 10 янв. 2022 г. в 16:16, Alexander Kanavin : > > Do not remove sstate cache, it is there specifically so that you do not have > to rebuild all the packages. > > Alex > > On Mon, 10 Jan 2022 at 14:13, Ivan Riabtsov wrote: >> >> I build the imag

[yocto] rebuilding images

2022-01-10 Thread Ivan Riabtsov
I build the image with the command #bitbake phytec-headless-image then I need to add something to the image and I do it like this #rm -rf tmp sstate-cache deploy and #bitbake phytec-headless-image but this is too long, the question is: what to remove , so as not to rebuild all the packages,

[yocto] task do_patch does not exist

2021-09-02 Thread Ivan Riabtsov
Hello. I created a recipe with the following command: $ devtool add mosquitto https://mosquitto.org/files/source/mosquitto-2.0.11.tar.gz i got the file: ivr@home-machine:~/work/yocto/build $ cat workspace/recipes/mosquitto/mosquitto_2.0.11.bb # Recipe created by recipetool # This is the basis

Re: [yocto] editing Makefile after configure stage to disable -Werror

2021-08-31 Thread Ivan Riabtsov
i cleaned out -Werror wherever possible with command: sed -i 's/-Werror//g' $(find . -type f -exec egrep -l _no_Werror {} \;) and elfutils is builded вт, 31 авг. 2021 г. в 09:41, Ivan Riabtsov via lists.yoctoproject.org : > > Hello, I have the following error: > > ../../elfutils-

[yocto] editing Makefile after configure stage to disable -Werror

2021-08-31 Thread Ivan Riabtsov
Hello, I have the following error: ../../elfutils-0.166/libelf/libelfP.h:53:30: error: ‘__elf64_msize’ specifies less restrictive attribute than its target ‘elf64_fsize’: ‘const’ [-Werror=missing-attributes] i try to solve this by patch: diff -Naur elfutils-0.166_orig/libelf/libelfP.h

Re: [yocto] downgrade openssl libraryes

2021-08-30 Thread Ivan Riabtsov
not want to flash the device, as I'm afraid to get brick пн, 30 авг. 2021 г. в 16:51, Alexander Kanavin : > > openssl 1.0.2 went out of support at the end of 2019 and you should not be > using it. What is the problem you need to solve? > > Alex > > On Mon, 30 Aug 2021 at 15:33,

[yocto] downgrade openssl libraryes

2021-08-30 Thread Ivan Riabtsov
hello i am trying to rollback openssl version from 1.1.1i to 1.0.2j. Copied the recipe openssl_1.1.1i.bb to openssl_1.0.2j.bb, saved the openssl_1.1.1i.bb version with the name openssl_1.1.1i.bb.backup Отредактировал новый файл, вот разница в файлах: diff -Nau ./openssl_1.1.1i.bb.backup

[yocto] building mbpoll

2021-08-27 Thread Ivan Riabtsov
Hi All. i need to build mbpoll git://github.com/epsilonrt/mbpoll I was created layer: ivr@home-machine:~/work/yocto_orig/sources/meta-mbpoll/recipes-mbpoll/mbpoll $ cat mbpoll_1.4.11.bb SUMMARY = "bitbake-layers recipe" DESCRIPTION = "mbpoll recipe" LICENSE = "CLOSED" SRC_URI =

Re: [yocto] building additional kenrel module in yocto, ERROR: no makefile found

2021-08-18 Thread Ivan Riabtsov
= "kernel-module-GobiNet" ср, 18 авг. 2021 г. в 19:04, Quentin Schulz : > > > > On August 18, 2021 5:45:28 PM GMT+02:00, Ivan Riabtsov > wrote: > >Ok, thanks. "aptitude install openssl-dev" on host machine is solved this > > > > So you actually need

Re: [yocto] building additional kenrel module in yocto, ERROR: no makefile found

2021-08-18 Thread Ivan Riabtsov
Ok, thanks. "aptitude install openssl-dev" on host machine is solved this ср, 18 авг. 2021 г. в 18:38, Quentin Schulz : > > > > On August 18, 2021 5:16:36 PM GMT+02:00, Ivan Riabtsov > wrote: > >Thanks! > >Can I ask one more question? My module is need for o

Re: [yocto] building additional kenrel module in yocto, ERROR: no makefile found

2021-08-18 Thread Ivan Riabtsov
nssl-native/usr/include/openssl/bio.h ./build/tmp/work-shared/phyboard-segin-imx6ul-6/kernel-source/include/linux/bio.h the file is found in many places, please tell me how to fix it? ср, 18 авг. 2021 г. в 17:00, Quentin Schulz : > > Hi Ivan, > > On August 18, 2021 3:36:58 PM GMT+02:

[yocto] building additional kenrel module in yocto, ERROR: no makefile found

2021-08-18 Thread Ivan Riabtsov
help please, I meet with a problem with assembling the kernel module, created a new layer: $ ll ~/work/yocto/sources/meta-gobinet total 28K drwxr-xr-x 5 ivr ivr 4.0K Aug 18 11:27 . drwxr-xr-x 12 ivr ivr 4.0K Aug 18 11:26 .. drwxr-xr-x 2 ivr ivr 4.0K Aug 18 11:26 conf -rw-r--r-- 1 ivr ivr 1.1K