Re: [yocto] Machine qemuarm linux-yocto-tiny_5.15 Missing ext4 in Kernel

2024-02-23 Thread Bruce Ashfield
The -tiny kernel configuration is just that ... tiny. Most everything is off by default. Unless there's a distro feature to coordinate features, it won't be turned on unless you bbappend a fragment to enable what you need. Bruce On Fri, Feb 23, 2024 at 7:49 PM wrote: > > Getting past that it s

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Bruce Ashfield
On Fri, Feb 23, 2024, 5:26 PM Konstantin Aladyshev wrote: > Thanks Richard! That did the trick! > > I've made the following changes to the "kern-tools-native_git.bb": > ``` > diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb > b/meta/recipes-kernel/kern-tools/kern-tools-native_

Re: [yocto] [kirkstone] dwarfsrcfiles + rust staticlib

2024-02-23 Thread Joel Winarske
Running readelf -h on the file does work and it shows that it is indeed the correct machine architecture ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version:

[yocto] [kirkstone] dwarfsrcfiles + rust staticlib

2024-02-23 Thread Joel Winarske
I'm hitting qa issue when attempting to install a archive file built with Rust: dwarfsrcfiles: /home/joel/agl/raspberrypi4/tmp/work/aarch64-agl-linux/rive-taffy-ffi/0.3.0-r0/package/usr/lib/taffy_ffi/libtaffy_ffi.a: not a valid ELF file I can link this same archive file with C code and the execut

Re: [yocto] Machine qemuarm linux-yocto-tiny_5.15 Missing ext4 in Kernel

2024-02-23 Thread acox
Getting past that it seems like a other options are missing. I'm going to do some more testing and see what I come up with -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62592): https://lists.yoctoproject.org/g/yocto/message/62592 Mute This Topic:

[yocto] Machine qemuarm linux-yocto-tiny_5.15 Missing ext4 in Kernel

2024-02-23 Thread acox
Having trouble with qemuarm for a tiny distro. My system works fine with my target device (albeit different custom kernel) as well as qemux86 which uses this kernel. It seems that for some reason it's producing an ext4 rootfs but not compiling the kernel for ext4 support? Anyone else noticed th

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Konstantin Aladyshev
Thanks Richard! That did the trick! I've made the following changes to the "kern-tools-native_git.bb": ``` diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb index 941160ea9c..7f8ea3e050 100644 --- a/meta/recipes-kernel/ke

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Richard Purdie
On Fri, 2024-02-23 at 13:45 -0500, Bruce Ashfield wrote: > On Fri, Feb 23, 2024 at 12:15 PM Konstantin Aladyshev > wrote: > > > > Should I see the new git version in the linux-yocto devshell? > > """ > > bitbake linux-yocto -c devshell > > """ > > > > I've tried to check it in the current poky m

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Konstantin Aladyshev
Thanks Bruce! I would appreciate that. Should we move this discussion to linux-yocto as well? Best regards, Konstantin On Fri, Feb 23, 2024 at 9:45 PM Bruce Ashfield wrote: > > On Fri, Feb 23, 2024 at 12:15 PM Konstantin Aladyshev > wrote: > > > > Should I see the new git version in the linux-y

Re: [yocto] 'kgit-s2q' doesn't remove 'rebase-apply' directory

2024-02-23 Thread Konstantin Aladyshev
Thanks Bruce! So what do you suggest, that devtool needs to remove the ".git/rebase-apply" directory in its "devtool_post_patch" task? Anyway, I'm moving the discussion to "linux-yocto" with some additional info on how to recreate the error on poky master. Best regards, Konstantin On Fri, Feb 23,

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Bruce Ashfield
On Fri, Feb 23, 2024 at 12:15 PM Konstantin Aladyshev wrote: > > Should I see the new git version in the linux-yocto devshell? > """ > bitbake linux-yocto -c devshell > """ > > I've tried to check it in the current poky master, and it gives me: > """ > $/data/poky/build/workspace/sources/linux-yoc

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Konstantin Aladyshev
Should I see the new git version in the linux-yocto devshell? """ bitbake linux-yocto -c devshell """ I've tried to check it in the current poky master, and it gives me: """ $/data/poky/build/workspace/sources/linux-yocto# git --version git version 2.30.2 $/data/poky/build/workspace/sources/linux-

[yocto] [PATCH yocto-autobuilder2 v2] config.py: add meta-clang to a-full

2024-02-23 Thread Ross Burton
From: Ross Burton Now that meta-clang builds successfully on the autobuilder, we can ensure that it doesn't regress by enabling it in a-full builds. Signed-off-by: Ross Burton --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 652897e.

Re: [yocto] 'kgit-s2q' doesn't remove 'rebase-apply' directory

2024-02-23 Thread Bruce Ashfield
On Fri, Feb 23, 2024 at 5:35 AM Konstantin Aladyshev wrote: > > Hello! > > 'kgit-s2q' in the linux recipe tries to use 'git apply' if 'git am' fails. > In this case 'kgit-s2q' manually creates a ".git/rebase-apply" > directory > (https://git.yoctoproject.org/yocto-kernel-tools/tree/tools/kgit-s2q

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Bruce Ashfield
On Fri, Feb 23, 2024 at 6:43 AM Alexander Kanavin wrote: > > On Fri, 23 Feb 2024 at 12:32, Konstantin Aladyshev > wrote: > > Thanks for the response! What would be a proper way to fix this problem > > then? > > 1. show how to reproduce the issue in plain poky master. > 2. check why none of the t

Re: [yocto] [PATCH yocto-autobuilder2] config.py: add meta-clang to a-full

2024-02-23 Thread Richard Purdie
On Fri, 2024-02-23 at 12:35 +, Ross Burton wrote: > From: Ross Burton > > Now that meta-clang builds successfully on the autobuilder, we can ensure > that it doesn't regress by enabling it in a-full builds. > > Signed-off-by: Ross Burton > --- >  config.py | 2 +- >  1 file changed, 1 insert

[yocto] [PATCH yocto-autobuilder2] config.py: add meta-clang to a-full

2024-02-23 Thread Ross Burton
From: Ross Burton Now that meta-clang builds successfully on the autobuilder, we can ensure that it doesn't regress by enabling it in a-full builds. Signed-off-by: Ross Burton --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 652897e.

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Alexander Kanavin
On Fri, 23 Feb 2024 at 12:32, Konstantin Aladyshev wrote: > Thanks for the response! What would be a proper way to fix this problem then? 1. show how to reproduce the issue in plain poky master. 2. check why none of the tests expose the issue. You can for example grep related keywords in meta/lib

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Konstantin Aladyshev
Hi, Alex! Thanks for the response! What would be a proper way to fix this problem then? Konstantin On Fri, Feb 23, 2024 at 2:24 PM Alexander Kanavin wrote: > > It's probably just a simple oversight. If the problematic code path is > not taken in automated tests, no one will see the issue when i

Re: [yocto] 'kgit-s2q' doesn't remove 'rebase-apply' directory

2024-02-23 Thread Alexander Kanavin
If you want help or fixes, you need to show how to reproduce the issue with plain poky master via specific steps, and not just discuss problems in your local setup. Alex On Fri, 23 Feb 2024 at 11:35, Konstantin Aladyshev wrote: > > Hello! > > 'kgit-s2q' in the linux recipe tries to use 'git appl

Re: [yocto] 'yocto-kernel-tools' requires git version much greater than general Yocto requirement

2024-02-23 Thread Alexander Kanavin
It's probably just a simple oversight. If the problematic code path is not taken in automated tests, no one will see the issue when it's introduced by the commit. Alex On Thu, 22 Feb 2024 at 16:11, Konstantin Aladyshev wrote: > > Hello! > I was investigating some problems with the `devtool modif

[yocto] 'kgit-s2q' doesn't remove 'rebase-apply' directory

2024-02-23 Thread Konstantin Aladyshev
Hello! 'kgit-s2q' in the linux recipe tries to use 'git apply' if 'git am' fails. In this case 'kgit-s2q' manually creates a ".git/rebase-apply" directory (https://git.yoctoproject.org/yocto-kernel-tools/tree/tools/kgit-s2q#n622) But it looks like this directory is not removed after the patches a

[yocto] 'kgit-s2q' doesn't remove 'rebase-apply' directory

2024-02-23 Thread Konstantin Aladyshev
Hello! 'kgit-s2q' in the linux recipe tries to use 'git apply' if 'git am' fails. In this case 'kgit-s2q' manually creates a ".git/rebase-apply" directory (https://git.yoctoproject.org/yocto-kernel-tools/tree/tools/kgit-s2q#n622) But it looks like this directory is not removed after the patches a