Re: [yocto] [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?

2023-01-30 Thread Kuzemko Aleksandr
My results: (32bit CM4 system)
uname -a
Linux b2qt-raspberrypi4 5.15.56-rt56-v7l #1 SMP PREEMPT_RT Fri Jul 22 13:23:23 
UTC 2022 armv7l GNU/Linux

I create linux-raspberrypi_5.15.bbappend and add
SRC_URI += " \
file://patch-5.15.86-rt56.patch \
file://rt.cfg \
"
in rt.cfg I put
CONFIG_PREEMPT_RT=y

with new line at the end.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59113): https://lists.yoctoproject.org/g/yocto/message/59113
Mute This Topic: https://lists.yoctoproject.org/mt/96470693/21656
Mute #raspberrypi:https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Problem with make: *** No targets specified and no makefile found.

2022-09-17 Thread Kuzemko Aleksandr
I am trying adapt fbi recipe. 
(https://github.com/Kuzma30/meta-myconf/blob/main/recipes-core/fbi/fbi_1.31.bb)
When I run bitbake fbi I get

NOTE: Executing Tasks
ERROR: fbi-1.31-r0 do_compile: oe_runmake failed
ERROR: fbi-1.31-r0 do_compile: 
ExecutionError('/home/qtembed/b2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/fbi/1.31-r0/temp/run.do_compile.4355',
 1, None, None)
ERROR: Logfile of failure stored in: 
/home/qtembed/b2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/fbi/1.31-r0/temp/log.do_compile.4355
Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 
'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_compile
| NOTE: make
| make: *** No targets specified and no makefile found.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task 
(/home/qtembed/b2qt/sources/meta-myconfig/recipes-core/fbi/fbi_1.31.bb:do_compile)
 failed with exit code '1'
NOTE: Tasks Summary: Attempted 769 tasks of which 768 didn't need to be rerun 
and 1 failed.

I see empty 
home/qtembed/b2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/fbi/1.31-r0/build
 directory. In 
home/qtembed/b2qt/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/fbi/1.31-r0/fbi-1.31
 I see extracted source code.
As I understand this error make is running in empty build dir, not in source.
How to fix this?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58064): https://lists.yoctoproject.org/g/yocto/message/58064
Mute This Topic: https://lists.yoctoproject.org/mt/93747035/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [Need help] Blacklist snd-bcm2835 #rpi

2022-09-11 Thread Kuzemko Aleksandr
Hello.
I developing now custom CM4 based board. For speed-up development I test 
software on RPi4 with external connection to development plates (2 CAN HAT, 
MAX98357 board)
To make work MAX98357 I need blacklist snd-bcm2835 and add custom asound.conf 
(https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage)
What I try:
1. I add this lines to local.conf
KERNEL_MODULE_PROBECONF += " snd-bcm2835"
module_conf_snd_bcm2835 = "blacklist snd-bcm2835"
This doesn't helps. I see snd-bcm2835.conf on my filesystem after build.
2. I make "hack" of 
meta-boot2qt/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc and delete 
snd-bcm2835 from KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2" line
This works partially- I haven't now snd-bcm2835.conf but also haven't blacklist 
it.
3. I try to add custom asound.conf and create such 
https://github.com/Kuzma30/meta-myconf/blob/main/recipes-bsp/alsa-state/alsa-state.bbappend
Results - no /etc/asound.conf and /etc/asound-rpi4.conf on filesystem

Please help resolve my problem.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58018): https://lists.yoctoproject.org/g/yocto/message/58018
Mute This Topic: https://lists.yoctoproject.org/mt/93607969/21656
Mute #rpi:https://lists.yoctoproject.org/g/yocto/mutehashtag/rpi
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [Need help] How to add one package to build directory of another package

2022-08-06 Thread Kuzemko Aleksandr
Thanks, now it works.

Another question. I have
DEPENDS = "espeak flite pulseaudio libdotconf glib-2.0 libtool gettext"
and
EXTRA_OECONF = " --with-espeak --with-flite --without-ibmtts --without-nas 
--with-alsa --with-pulse "
Is it possible define espeak flite as option? For example if I in local.conf 
define something speech-dispatcher[espeak] it will disable from DEPENDS flite 
depends and in EXTRA_OECONF it wil be as --withot-flite

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57789): https://lists.yoctoproject.org/g/yocto/message/57789
Mute This Topic: https://lists.yoctoproject.org/mt/92675007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [Need help] How to add one package to build directory of another package

2022-08-05 Thread Kuzemko Aleksandr
Report of progress.
https://github.com/Kuzma30/meta-myconf/commit/25035fdb737aecfb765c963085e898d0f33ac0b9
Have errors
ERROR: speech-dispatcher-git-r0 do_package_qa: QA Issue: non 
-dev/-dbg/nativesdk- package libspeechd contains symlink .so 
'/usr/lib/libspeechd.so' [dev-so]
ERROR: speech-dispatcher-git-r0 do_package_qa: Fatal QA errors were found, 
failing task.
ERROR: Logfile of failure stored in: 
/home/qtembed/b2qt/build-raspberrypi4/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/speech-dispatcher/git-r0/temp/log.do_package_qa.26981
ERROR: Task 
(/home/qtembed/b2qt/sources/meta-myconfig/recipes-multimedia/speech-dispatcher/speech-dispatcher_git.bb:do_package_qa)
 failed with exit code '1'

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57782): https://lists.yoctoproject.org/g/yocto/message/57782
Mute This Topic: https://lists.yoctoproject.org/mt/92675007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [Need help] How to add one package to build directory of another package

2022-07-30 Thread Kuzemko Aleksandr
I have fixed one problem ("No package 'dotconf' found" error) by coping .pc file
https://github.com/Kuzma30/meta-myconf/commit/6b01df5f7adaa3fec1fd1a34d74d9be5d4b9cdbf

But now I has problem with main package (speech-dispatcher)
Log here
https://github.com/Kuzma30/meta-myconf/commit/7c5e3a070f526dafe01b43aa5ba95573dd55d07d

ERROR: speech-dispatcher-git-r0 do_package_qa: QA Issue: -dev package 
speech-dispatcher-dev contains non-symlink .so '/usr/lib/libvoxin.so'

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57692): https://lists.yoctoproject.org/g/yocto/message/57692
Mute This Topic: https://lists.yoctoproject.org/mt/92675007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [Need help] How to add one package to build directory of another package

2022-07-29 Thread Kuzemko Aleksandr
I have already this string https://github.com/Kuzma30/meta-myconf/blob/400deddb4a6eab2e2c5054c482d18623b4c9a498/recipes-multimedia/speech-dispatcher/speech-dispatcher_git.bb#L9  I will try migrate it to 3.4 release and report here. От: Quentin SchulzОтправлено: 29 июля 2022 г. в 11:31Кому: Kuzemko Aleksandr; yocto@lists.yoctoproject.orgТема: Re: [yocto] [Need help] How to add one package to build directory of another package > > Question> > How to add libdotconf to the speech-dispatcher build environment?>  DEPENDS += "libdotconf" in speech-dispatcher recipe. This adds a dependency on libdotconf target recipe so that it makes it to the sysroot of the speech-dispatcher recipe at build time. I had a quick glance at your layer and it seems you're targeting kirkstone release but you're still using the old override syntax. Please read https://docs.yoctoproject.org/migration-guides/migration-3.4.html#override-syntax-changes (and the migration guides of all releases between the one supported by the original recipe you got speech dispatcher from so that all required changes are made). E.g. it's not FILES_${PN} anymore but FILES:${PN}. Cheers,Quentin > > > > >  

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57690): https://lists.yoctoproject.org/g/yocto/message/57690
Mute This Topic: https://lists.yoctoproject.org/mt/92675007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [Need help] How to add one package to build directory of another package

2022-07-28 Thread Kuzemko Aleksandr
Hello all. This is my first work with Yocto.I build b2qt for qt6 dev (follow https://raymii.org/s/tutorials/Yocto_boot2qt_for_the_Raspberry_Pi_4_both_Qt_6_and_Qt_5.html instruction)It build fine.Now I want to add some packages (libdotconf and speech-dispatcher). I found old version of it here http://git.openembedded.org/openembedded/plain/recipes/speech-dispatcher/ and http://git.openembedded.org/openembedded/plain/recipes/libdotconf/I trying to update it for new releases. My changes is here https://github.com/Kuzma30/meta-myconf when i run bitbake speech-dispatcher I get this error  checking for dotconf >= 1.3.. no | configure: error: Package requirements (dotconf >= 1.3) were not met: |  | No package 'dotconf' found |  | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. |  | Alternatively, you may set the environment variables DOTCONF_CFLAGS | and DOTCONF_LIBS to avoid the need to call pkg-config.| See the pkg-config man page for more details.  more info is here https://github.com/Kuzma30/meta-myconf/blob/main/recipes-multimedia/libdotconf/log QuestionHow to add libdotconf to the speech-dispatcher build environment?  

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57663): https://lists.yoctoproject.org/g/yocto/message/57663
Mute This Topic: https://lists.yoctoproject.org/mt/92675007/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-