Re: [yocto] linux-firmware-mt7601u-license missing - all fw installed not only selected

2023-08-24 Thread Konstantin Kletschke via lists.yoctoproject.org
On Thu, Aug 24, 2023 at 06:00:06PM +0200, Konstantin Kletschke wrote: > meta-insidem2m/recipes-kernel/linux-firmware/linux-firmware_%.bbappend > containing this: > FILES:${PN}-mt7662 = "${nonarch_base_libdir}/firmware/mt7662.bin > ${nonarch_base_libdir}/firmware/mt7

[yocto] linux-firmware-mt7601u-license missing - all fw installed not only selected

2023-08-24 Thread Konstantin Kletschke via lists.yoctoproject.org
Today I updated my kirkstone poky (git pull) to today's version, I do not know when the last time was, though (winter?)... I have IMAGE_INSTALL += " \ kernel-module-rtl8812au \ linux-firmware-ralink \ linux-firmware-rtl8168 \ linux-firmware-rtl8188 \ linux-firmware-rtl8192ce

Re: [yocto] Pick up ${PV} dynamically from environment or file or filename

2023-08-23 Thread Konstantin Kletschke via lists.yoctoproject.org
On Sat, Aug 19, 2023 at 12:07:08PM +0200, Alexander Kanavin wrote: > I think the easiest would be to run a shell script prior to starting > bitbake, which would check what jar needs to be used, and write the > SRC_URI with the name and the checksum into a .inc file in the > meta-layer. Then there'

Re: [yocto] Pick up ${PV} dynamically from environment or file or filename

2023-08-23 Thread Konstantin Kletschke via lists.yoctoproject.org
On Fri, Aug 18, 2023 at 08:48:46PM +, Darcy Watkins wrote: > Then make use of the GIT AUTOREV facility to fetch from that GIT repo. Interesting idea which I will track in the future, thank you very much! Regards Konstantin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [yocto] Pick up ${PV} dynamically from environment or file or filename

2023-08-18 Thread Konstantin Kletschke via lists.yoctoproject.org
On Fri, Aug 18, 2023 at 05:30:50PM +0200, Alexander Kanavin wrote: > You probably need to explain the use case. Why do you want to do > something like that? The yocto build is happening in a gitlab runner thingy. What happens before is that inedependently from the yocto build is that my colleauge

[yocto] Pick up ${PV} dynamically from environment or file or filename

2023-08-18 Thread Konstantin Kletschke via lists.yoctoproject.org
Dear community, I need to build a recipe which does not now, which actual version the source file(s) has. So is it possible, to pick up a version preliminary from either environment, the content of an existing auxiliary file or from the structure of the source file itself? Say, if theres is some

Re: [yocto] Approach for generating two WIC files at once

2023-06-12 Thread Konstantin Kletschke
Meanwhile I tested my proposed approach and it works well... On Mon, Jun 12, 2023 at 11:35:59AM +0200, Alexander Kanavin wrote: > sdcard-base.inc is better, because sdcard-base.bb is a recipe in > itself, but you don't want to build that (or others to get confused > about its purpose). ... but th

Re: [yocto] Remove kernel image from IMAGE_BOOT_FILES for WIC boot partition

2023-06-07 Thread Konstantin Kletschke
On Wed, Jun 07, 2023 at 04:58:41PM +0200, Konstantin Kletschke wrote: > Yeah... I end up in scripts/lib/wic/engine.py get_custom_config() which > I must prepare to avoid falling into the "No Kernel..." pitfall, what is > that, an u-boot extlinux config? I am trying to find

Re: [yocto] Remove kernel image from IMAGE_BOOT_FILES for WIC boot partition

2023-06-07 Thread Konstantin Kletschke
On Wed, Jun 07, 2023 at 02:25:15PM +0200, Alexander Kanavin wrote: > [ak@fedora poky]$ grep -ir "No kernel file found" scripts/ > scripts/lib/wic/plugins/source/bootimg-partition.py: > raise WicError('No kernel file found') Yeah... I end up in scripts/lib/wic/engine.py get_custom_config() which I

Re: [yocto] Approach for generating two WIC files at once

2023-06-07 Thread Konstantin Kletschke
On Wed, Jun 07, 2023 at 02:15:30PM +0200, Alexander Kanavin wrote: > The easiest is probably to make two image recipes pointing to > different wic files, but sharing everything else via .inc. You mean moving my current meta-insidem2m/recipes-core/images/sdcard.bb to something like meta-insidem2m/r

Re: [yocto] Remove kernel image from IMAGE_BOOT_FILES for WIC boot partition

2023-06-07 Thread Konstantin Kletschke
On Wed, Jun 07, 2023 at 02:16:34PM +0200, Alexander Kanavin wrote: > I don't have a ready solution, but you could grep for the error > message, see where it happens and what can be done to 'not make it I am still searching for this like you suggested :-D -=-=-=-=-=-=-=-=-=-=-=- Links: You receiv

[yocto] Approach for generating two WIC files at once

2023-06-07 Thread Konstantin Kletschke
based) and newer ones expecting it on mmcblk0p2 (BBB yocto based). Is that possible, how could one approach such a config? Kind Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136 Mobil: +49 (0) 151 15256238 Fax

[yocto] Remove kernel image from IMAGE_BOOT_FILES for WIC boot partition

2023-06-07 Thread Konstantin Kletschke
7;libcap-ng-native', 'libpcre2-native', 'libxml2-native', 'itstool-native', 'groff-native', 'libpcre-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing python function set_image_size | DEBUG: 345274.80 = 265596

Re: [yocto] Setup no IP address for eth0 - systemd

2023-02-27 Thread Konstantin Kletschke
works like a charme. I suspect the number has to be lower than the 80 found in many files in /lib/systemd/network... Kind Regards Konstantin > > -a -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136 Mobil: +49 (0) 151 1525623

Re: [yocto] Setup a static IP address - systemd

2023-02-27 Thread Konstantin Kletschke
. Thanks for your provided solution, many thanks! Kind Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136 Mobil: +49 (0) 151 15256238 Fax: +49 (0) 5137 9095010 konstantin.kletsc...@inside-m2m.de http://www.insid

[yocto] Setup no IP address for eth0 - systemd

2023-02-27 Thread Konstantin Kletschke
running and tryed the following file in /etc/systemd/network: # cat unmanaged.network [Match] Name = eth0 eth1 eth2 wlan* [Link] Unmanaged = true Kind Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136 Mobil: +49 (0

[yocto] Setup a static IP address - systemd

2023-02-27 Thread Konstantin Kletschke
running and tryed the following file in /etc/systemd/network: # cat eth0.network [Match] Name=eth0 [Network] Address=10.2.3.4/24 Gateway=10.2.3.1 DNS=1.1.1.1 Kind Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136

Re: [yocto] Remove kernel image and modules from rootfs

2023-01-05 Thread Konstantin Kletschke
nse to just have multiple image recipes, each > machine having its own image recipe for example. May be this is most importand for me and not covered from my understanding,yet : Can a machine[.conf] have its onw own image[.bb]? In a single meta-xyz layer? This way "bitbake image" would

Re: [yocto] Remove kernel image and modules from rootfs

2023-01-03 Thread Konstantin Kletschke
uestion though: can the MACHINE variable only be modified in the local.conf (the reference manual - glossary does not mention other places)? If I go with the additional machine approach I am searching for a way to build different images in my distro based on different machines. Is that possible?

[yocto] Remove kernel image and modules from rootfs

2022-12-21 Thread Konstantin Kletschke
it out a new MACHINE, i.e. can this only be done in an own created machine which has to be split out? I thought setting such at the bottom of conf/local.conf always "wins". Kind Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon:

Re: [yocto] Dealing with go dependencies in recipes - native docker-compose

2022-10-19 Thread Konstantin Kletschke
h a small docker-compose.yml for a nginx hello world demo. It worked flawlessly, downloading, installing and starting went really fine. Perfect, nice work! Kind Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137 90950136 M

Re: [yocto] Dealing with go dependencies in recipes - native docker-compose

2022-10-18 Thread Konstantin Kletschke
On Sun, Oct 16, 2022 at 10:28:18PM -0400, Bruce Ashfield wrote: > FYI: Here's the very lightly tested RFC version of the recipe: > > https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=fa24cfc08b129de5c7ba36099985359cc0228630 Thanks for the kind notification. My stuff is b

Re: [yocto] Dealing with go dependencies in recipes - native docker-compose

2022-10-13 Thread Konstantin Kletschke
I would have imagined when starting to dig into the go world... astonishing! > If we just bypass the fetcher, offline builds, some of licensing and SBOM > and reproducible builds .. you can have a simple recipe like that as well :) Yea, and I already learned to lovae this reproducibility appr

[yocto] Dealing with go dependencies in recipes - native docker-compose

2022-10-11 Thread Konstantin Kletschke
ot get yet? Also, I am jealous about the buildroot guys sometimes, how do they do this in a 22 lines makefile including comments: https://git.busybox.net/buildroot/tree/package/docker-compose/docker-compose.mk Regards Konstantin -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler S

Re: [yocto] installed and not shipped files. [installed-vs-shipped]

2022-04-02 Thread Konstantin Kletschke
re you on honister (or master/soon kirkstone) release? If so, it's > FILES:${PN} and not FILES_${PN}. That's it! I wasn't aware of this change, could have searched for another couple of days! Thank. you. very. much. Kind Regards Konsti -- INSIDE M2M GmbH Konstantin Kletschke

[yocto] installed and not shipped files. [installed-vs-shipped]

2022-04-01 Thread Konstantin Kletschke
em2m/recipes-core/openjdk/openjdk-18_18+37.bb:do_package) failed with exit code '1' Well, I am pretty shure the FILES_${PN} refers relative to ${D}, where is my stupid misunderstanding? Side-Quest: In do install the destination is referred as ${D}${JAVA_HOME}. Why does this not nee

[yocto] Pass environment to kernel make

2022-02-12 Thread Konstantin Kletschke
working, but DTC_FLAGS=-@ needs to be added. Is there a best practice to do this, _append/_+= in machine or distro config or local.conf? Change kernel compile make parameters? Regards Konsti -- INSIDE M2M GmbH Konstantin Kletschke Berenbosteler Straße 76 B 30823 Garbsen Telefon: +49 (0) 5137

[yocto] Not all config fragments applied

2021-04-26 Thread Konstantin Kletschke
I added a custom layer and under recipes-kernel I try to apply kernel config fragments: └[ *~* ]> cat poky/meta-insidem2m/recipes-kernel/linux/linux-yocto_5.10.bbappend FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "\ file://wext.cfg \ file://at24.cfg \ file://leds.cfg \ file://

[yocto] BeagleBone Black wig image does not boot

2021-04-01 Thread Konstantin Kletschke
Hi all, I successfully compile/create a target image and binaries for a BeagleBone Black: MACHINE ?= "beaglebone-yocto" The resulting wic image does not boot, when I write it to a sdcard nor when I write it directly into the internal /dev/mmcblk0. There is no console output despite of some