he minimum bitbake version since
'danny'.
Remove the check.
Signed-off-by: Enrico Jörns
---
meta/classes-recipe/cml1.bbclass | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass
index
.config
path similar to what we have for the fragment location in the
'diffconfig' task already.
Example output:
| Changed configuration saved at:
|
/path/to/bsp/build/tmp/work/my-machine-oe-linux/linux-custom/6.6.4/build/.config
| Recompile will be forced
Signed-off-by: Enrico Jörns
---
meta
Am Dienstag, dem 27.02.2024 um 14:46 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 2:32 PM Enrico Jörns wrote:
> >
> > Am Dienstag, dem 27.02.2024 um 14:13 -0500 schrieb Bruce Ashfield:
> > > On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns wrote:
> >
Am Dienstag, dem 27.02.2024 um 14:13 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns wrote:
> >
> > Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> > > On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns wrote:
> > >
Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns wrote:
> >
> > The kernel patches may modify the kernel version, thus wait for do_patch
> > before running the version check.
>
> While that may be true
Am Dienstag, dem 27.02.2024 um 12:37 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns wrote:
> >
> > * Version -> version
> > * match of kernel -> match the kernel
> > * Add missing spaces around "=" sign
>
> There's
The kernel patches may modify the kernel version, thus wait for do_patch
before running the version check.
Signed-off-by: Enrico Jörns
---
meta/classes-recipe/kernel-yocto.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/kernel-yocto.bbclass
b
* Version -> version
* match of kernel -> match the kernel
* Add missing spaces around "=" sign
Signed-off-by: Enrico Jörns
---
meta/classes-recipe/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/kernel.bbclass
b/met
noise for people that are not
interested in a consistency between ${PV} and the kernel version, an
option could be to let KERNEL_VERSION_SANITY_SKIP weakly default to "1"
in kernel.bbclass or alternatively move the entire code to
kernel-yocto.bbclass.
Signed-off-by: Enrico Jörns
---
me
The sed command
sed -i -e "s,prefix='\$(DESTDIR_SQ)/usr'$,prefix='\$(DESTDIR_SQ)/usr'
--install-lib='\$(PYTHON_SITEPACKAGES_DIR)' --root='\$(DESTDIR)',g" \
${S}/tools/perf/Makefile.perf
that was introduced by oe-core commit 43f96506 ("perf: fix the
install-python_ext") [1] and adapted
Signed-off-by: Enrico Jorns
---
scripts/lib/wic/plugins/source/empty.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/wic/plugins/source/empty.py
b/scripts/lib/wic/plugins/source/empty.py
index 0a9f5fa27c..4178912377 100644
---
Hello Luca,
Am Mittwoch, dem 26.04.2023 um 14:12 +0200 schrieb Luca Ceresoli:
> Hello Enrico,
>
> On Tue, 25 Apr 2023 20:47:11 +0200
> Enrico Jörns wrote:
>
> > This adds support for the barebox bootloader (and tools) to oe-core.
> >
> > In order to hav
"sysconfdir" contains "/" by definition and thus using os.path.join()
leads to self.target_rootfs being always ignored (and thus attempting to
generate paths in host's /etc).
Use oe.path.join() instead which was made for this purpose.
Signed-off-by: Enrico Jorns
---
Hello Luca,
Am Mittwoch, dem 26.04.2023 um 10:52 +0200 schrieb Luca Ceresoli:
> Hello Enrico,
>
> On Tue, 25 Apr 2023 20:47:15 +0200
> Enrico Jörns wrote:
>
> > If we talk to terminals that like colors, we need to ignore the vt100
> > escape sequ
If we talk to terminals that like colors, we need to ignore the vt100
escape sequences when matching strings.
An unprocessed barebox console prompt would e.g. look like:
ESC[1;32mbarebox@ESC[1;36mARM QEMU virt64:/ESC[0m
where we cannot match for something like "barebox@ARM QEMU virt64:/".
The
Reduces the nesting depth and replaces the manual newline matching by
built-in splitlines() method.
This makes it compatible with shells that use windows-compatible line
breaks, e.g. for EFI loaders.
More comments and an early return handling should make the code a bit
more readable.
= "Yi Zhao "
RECIPE_MAINTAINER:pn-babeltrace = "Alexander Kanavin "
RECIPE_MAINTAINER:pn-babeltrace2 = "Alexander Kanavin "
+RECIPE_MAINTAINER:pn-barebox = "Enrico Jörns "
RECIPE_MAINTAINER:pn-baremetal-helloworld = "Alejandro Hernandez
"
RECIPE_MAINTAINER:pn-b
This allows defining non-standard patterns from QEMU tests just as they
are already supported by the testimage.bbclass.
Will allow testing non-Linux shells in QEMU, too, e.g. a U-Boot or other
bootloader shell.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/targetcontrol.py| 5 +++--
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/selftest/cases/uboot.py | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 meta/lib/oeqa/selftest/cases/uboot.py
diff --git a/meta/lib/oeqa/selftest/cases/uboot.py
b/meta/lib/oeqa/selftest/cases/uboot.py
new file
Usage and arguments are not necessarily self-explaining.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/commands.py | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index
This adds support for the barebox bootloader (and tools) to oe-core.
In order to have proper testing, this extends oe-selftest to allow
basic testing of bootloaders. While at it, cover both barebox and u-boot.
v3:
* bump to barebox 2023.04.0
* add anonymous python to not act as provider when no
These are set in the barebox recipe rather in the corresponding machines
(where they would belong otherwise) to keep the impact of barebox to
oe-core minimal for now.
"multi_v7_defconfig" is used for qemuarm since this is the default
barebox armv7 config that just enables all platforms.
/include/maintainers.inc
@@ -55,6 +55,7 @@ RECIPE_MAINTAINER:pn-avahi = "Yi Zhao "
RECIPE_MAINTAINER:pn-babeltrace = "Alexander Kanavin "
RECIPE_MAINTAINER:pn-babeltrace2 = "Alexander Kanavin "
RECIPE_MAINTAINER:pn-barebox = "Enrico Jörns "
+RECIPE_MAI
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/selftest/cases/barebox.py | 72 +
1 file changed, 72 insertions(+)
create mode 100644 meta/lib/oeqa/selftest/cases/barebox.py
diff --git a/meta/lib/oeqa/selftest/cases/barebox.py
b/meta/lib/oeqa/selftest/cases/barebox.py
Am Dienstag, dem 11.04.2023 um 16:16 +0200 schrieb Alexander Kanavin:
> On Mon, 3 Apr 2023 at 13:42, Enrico Jörns wrote:
> > > > +# set defaults for oe-core MACHINEs to allow building barebox
> > > > +BAREBOX_CONFIG:qemuarm = "vexpress_defconfig&qu
ds
> >
> > Enrico
> >
> >
> > > Cheers,
> > >
> > > Richard
> > >
> > >
> >
> > --
> > Pengutronix e.K. | Enrico Jörns |
> > Embedded Linux Consulting & Support | h
ntly switching the bootloader (like in our tests).
I hope you have a better overview on the topic than I have and could give me a
hint on how you would
like to see this being resolved?
Thanks in advance and best regards
Enrico
> Cheers,
>
> Richard
>
>
--
Pengutronix e.K.
d/driver/shelldriver.py#L61
> Alex
>
--
Pengutronix e.K. | Enrico Jörns|
Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
Steuerwalder Str. 21 | Phone: +49-5121-206917-180 |
31137 Hildesheim, German
u-x86_64_defconfig"
in qemuarm.conf:
UBOOT_MACHINE ?= "qemu_arm_defconfig"
in qemuarm64.conf:
UBOOT_MACHINE ?= "qemu_arm64_defconfig"
which is pretty much the same as for barebox, isn't it? Only the naming scheme
is a bit more
consistent probably.
T
This allows defining non-standard patterns from QEMU tests just as they
are already supported by the testimage.bbclass.
Will allow testing non-Linux shells in QEMU, too, e.g. a U-Boot or other
bootloader shell.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/targetcontrol.py| 5 +++--
Usage and arguments are not necessarily self-explaining.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/commands.py | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index
Reduces the nesting depth and replaces the manual newline matching by
built-in splitlines() method.
This makes it compatible with shells that use windows-compatible line
breaks, e.g. for EFI loaders.
More comments and an early return handling should make the code a bit
more readable.
/include/maintainers.inc
@@ -55,6 +55,7 @@ RECIPE_MAINTAINER:pn-avahi = "Yi Zhao "
RECIPE_MAINTAINER:pn-babeltrace = "Alexander Kanavin "
RECIPE_MAINTAINER:pn-babeltrace2 = "Alexander Kanavin "
RECIPE_MAINTAINER:pn-barebox = "Enrico Jörns "
+RECIPE_MAI
These are set in the barebox recipe rather in the corresponding machines
(where they would belong otherwise) to keep the impact of barebox to
oe-core minimal for now.
Signed-off-by: Enrico Jorns
---
meta/recipes-bsp/barebox/barebox.inc | 5 +
1 file changed, 5 insertions(+)
diff --git
If we talk to terminals that like colors, we need to ignore the vt100
escape sequences when matching strings.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/qemurunner.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py
= "Yi Zhao "
RECIPE_MAINTAINER:pn-babeltrace = "Alexander Kanavin "
RECIPE_MAINTAINER:pn-babeltrace2 = "Alexander Kanavin "
+RECIPE_MAINTAINER:pn-barebox = "Enrico Jörns "
RECIPE_MAINTAINER:pn-baremetal-helloworld = "Alejandro Hernandez
"
RECIPE_MAINTAINER:pn-b
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/selftest/cases/barebox.py | 72 +
1 file changed, 72 insertions(+)
create mode 100644 meta/lib/oeqa/selftest/cases/barebox.py
diff --git a/meta/lib/oeqa/selftest/cases/barebox.py
b/meta/lib/oeqa/selftest/cases/barebox.py
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/selftest/cases/uboot.py | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 meta/lib/oeqa/selftest/cases/uboot.py
diff --git a/meta/lib/oeqa/selftest/cases/uboot.py
b/meta/lib/oeqa/selftest/cases/uboot.py
new file
This adds support for the barebox bootloader (and tools) to oe-core.
In order to have proper testing, this extends oe-selftest to allow
basic testing of bootloaders. While at it, cover both barebox and u-boot.
v2:
* set myself as maintainer in maintainers.inc
* move doc from
Since login user is configurable with boot_patterns['send_login_user'],
unconditionally using 'root' in the debug message can be confusing.
Also fix the debug message to say 'Logged in' instead of 'Logged'.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/qemurunner.py | 4 ++--
1 file
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/commands.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index f4daea2507..84c463328f 100644
--- a/meta/lib/oeqa/utils/commands.py
+++
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/commands.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index 84c463328f..9b07227f12 100644
--- a/meta/lib/oeqa/utils/commands.py
+++ b/meta/lib/oeqa/utils/commands.py
* There is no need to be that precise. It just irritates in the logs.
* There is also no point in printing plain time.time() value a single
time while only using formatted printout everywhere else, thus remove
it.
* Use %d for printing integer times
Signed-off-by: Enrico Jorns
---
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/targetcontrol.py | 4
1 file changed, 4 deletions(-)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index bc6b91e994..f5f2ce2f12 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/utils/qemurunner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py
b/meta/lib/oeqa/utils/qemurunner.py
index 623d45010a..c6e4a34bce 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/targetcontrol.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 1fdff82889..b8d4ea8a70 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++
This is already set above, thus simply use the set value from there.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/targetcontrol.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index b8d4ea8a70..bc6b91e994
'tempfile' and 'oeqa.utils.command.runCmd' are unused while 'os' is
actually used.
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/selftest/cases/runqemu.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/runqemu.py
This is a collection of minor fixes and cleanups I came across when
digging through oeqa code.
Enrico Jorns (10):
oeqa/selftest/cases/runqemu: update imports
oeqa/targetcontrol: fix misspelled RuntimeError
oeqa/targetcontrol: do not set dump_host_cmds redundantly
oeqa/targetcontrol:
Signed-off-by: Enrico Jorns
---
meta/lib/oeqa/selftest/cases/runqemu.py | 12 ++--
meta/lib/oeqa/targetcontrol.py | 4 ++--
meta/lib/oeqa/utils/commands.py | 2 +-
meta/lib/oeqa/utils/qemurunner.py | 14 +++---
4 files changed, 16 insertions(+), 16
; +require barebox.inc
> > +
> > +SRC_URI[sha256sum] =
> > "20532daff1720fbefa0e02dba0294e6817d29c155f49b9b549db9577435fc7b6"
> > +
> > +SRC_URI += "file://0001-pbl-set-IMAGE_COMPRESSION-per-default-to-lz4.patch"
> > diff --git
> > a/meta/recipes-bsp
'd rather have barebox in meta-barebox for a while, with any needed
> fixing to classes and infra in core.
It has been in meta-ptx since 2015 and in meta-barebox since 2016. I would call
that 'a while' :)
Best regards, Enrico
--
Pengutronix e.K. | Enrico Jörns
the intention is to tailor things in oe-core for
barebox only.
> For me, a critical point for decision is if
> Pengutronix will commit to support it.
Yes, I stated that this is clearly our intention.
So support isn't only a one-man show at all ;)
Thanks and best regards, Enrico
--
Pe
master/recipes-bsp/barebox
I did never say that fragmentation is my only motivation.
Regards, Enrico
--
Pengutronix e.K. | Enrico Jörns|
Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
Steuerwalder Str.
https://barebox.org/download/
[2] https://barebox.org/doc/latest/boards.html
[3] http://layers.openembedded.org/layerindex/branch/master/recipes/?q=barebox
[4] https://www.phytec.eu/en/cdocuments/?doc=YQ4RCg
[5] https://en.wikipedia.org/wiki/Kalray
[6] https://www.youtube.com/watch?v=fru1
Since oe-core commit 64b89f3c8fc31842256c482a3039d90d3f12c1cc
("sstatesig.py: make it fatal error when sstate manifest isn't found")
errors like:
| Manifest
[..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot
not found in imx8mm_dummy cortexa53-mx8mm cortexa53
From: Ross Burton
If a recipe applies patches which are in machine-specific override
directories, devtool will fail to fetch the patches that don't match the
default configuration. For example where there are patches at
qemux86/x86.patch and qemuarm/arm.patch:
SRC_URI = "file://source"
57 matches
Mail list logo