zephyr-qemuboot: fix parse build failure
PATCH 1/2 zephyr-qemuboot: fix parse build failure
As OE-core explicitly have added depends for qemu-helper addto_recipe_sysroot task, which breaks zephyr-qemuboot implementation of adding build dependencies
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=282d596b8cc81d650b6d20c6131fdc236bad2c20
ERROR: Error for meta-zephyr/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb:
do_bootconf_write[depends], dependency qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot in
' qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot qemu-helper-native:do_addto_recipe_sysroot:do_populate_sysroot' does not contain exactly one ':' character.
Task 'depends' should be specified in the form 'packagename:task'
ERROR: Command execution failed: Exited with 1
--- classes/zephyr-qemuboot.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
classes/zephyr-qemuboot.bbclass +1 -1
@@ -48,7 +48,7 @@ python () { for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): # Make sure we only add it for qemu if 'qemu-helper-native' in dep: - deps += " %s:%s" % (dep, task) + deps += " qemu-helper-native:%s" % (task) return deps d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_addto_recipe_sysroot')) d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_populate_sysroot'))
Signature · 1 line
2.17.1
PATCH 2/2 zephyr-kernel: upgrade 2.6.0 -> 2.6.1
It has GCC-11 fixes.
https://github.com/zephyrproject-rtos/zephyr/issues/35707
Commits included:2d6322d74a demand_paging: eviction/nru: fix incorrect dirty bit return val 25771e6928 drivers: clock_control: stm32: enable PWR clock unconditionally 92e36185e8 [Backport v2.6-branch] Microchip: XEC GPIO driver interrupt enable part 2 68d33e3834 libc/minimal: locate the memory pool for malloc() to .bss 7f3abab9bf net: tcp: accept [FIN, PSH, ACK] in TCP_FIN_WAIT_2 state 533dcaf374 lib/os/cbprintf_nano.c: avoid sign extension on unsigned formats ea55ebfa74 tests: schedule_api: use stack array extern macro95bb8841b8 tests: mem_protect: fix warning on uninitialized variable 1f8c53dfaf tests: kernel/common: avoid using compiler builtin popcount 7bb7454a00 kernel: use proper macro to declare extern interrupt stacks 25fd176014 kernel: add macros to allow declaring extern stack arrays e1cde092ac kernel: move Z_KERNEL_STACK_LEN higher in thread_stack.h 244049bd71 x86: type cast to uint8_t* for bit ops5dae0c1bf0 kernel: ignore array bound warnings for generated syscall funcs 5666e4d525 cmake: force GCC to emit DWARF version 491a78866ca Bluetooth: Controller: Fix advertising after connections from same peer 0afddb2341 x86/cache: fix issues in arch dcache flush function9bcf9b6a53 json: fix parsing first array-array element2595cce714 cmake: oneApi: add oneApi support on windows.18d314e750 cmake: oneApi: add oneApi support on windowsc8755e0b46 (tag: v2.6.1-rc1) tests/benchmarks: add dynamic memory allocation measurement a4d35f0a3e doc: 2.6.1 release notes7094aaee55 release: Bump release to 2.6.1-rc1585c03a0b6 drivers/clock_control: stm32: Fix macro to get HCLK freq cacb0a4e59 Bluetooth: L2CAP: Fix missing net_buf_unref()78ab750540 timer: hpet: convert register access to functionsd9df404d47 timer: hpet: don't force TIMER_READS_ITS_FREQUENCY_AT_RUNTIME 8e80955511 timer: hpet: allow overriding MIN_DELAY99dc33faaf timer: hpet: extract Counter Clock Period into a macro 02fbe652a5 logging: fs: fix leak of opened directories in check_log_file_exist() 80b406d784 x86: acpi: limit search on where EBDA can be
---
...ephyr-kernel-src-2.6.0.inc => zephyr-kernel-src-2.6.1.inc} | 4 ++--
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
rename recipes-kernel/zephyr-kernel/{zephyr-kernel-src-2.6.0.inc => zephyr-kernel-src-2.6.1.inc} (90%)recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.1.inc renamed from recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0.inc +2 -2
@@ -1,5 +1,5 @@ SRCREV_FORMAT = "default_cmsis" -SRCREV_default = "837ab4a915f7802a6fb02a27e4b024e287ac93c2" +SRCREV_default = "2d6322d74aaac838ead46bfcba0db619cff4b534" SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e" SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681" SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df"
@@ -10,7 +10,7 @@ SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0" SRCREV_mbedtls = "5765cb7f75a9973ae9232d438e361a9d7bbc49e7" ZEPHYR_BRANCH = "v2.6-branch" -PV = "2.6.0+git${SRCPV}" +PV = "2.6.1+git${SRCPV}" SRC_URI:append = " file://0001-cmake-add-yocto-toolchain.patch \ file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +1 -1
@@ -22,5 +22,5 @@ SRC_URI = "\ S = "${WORKDIR}/git" # Default to a stable version -PREFERRED_VERSION_zephyr-kernel ??= "2.6.0" +PREFERRED_VERSION_zephyr-kernel ??= "2.6.1" include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
Signature · 1 line
2.17.1
With both of these, and the patch I just sent out, I am able to get all of the boards building (except qemu-nios2) and passing testimage (for the qemu boards).
https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/376922543
Thanks,
Jon
Quoted 41 lines · Naveen Saini
As OE-core explicitly have added depends for qemu-helper
addto_recipe_sysroottask, which breaks zephyr-qemuboot implementation of adding build dependencies
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=282d596b8cc81d650b6d20c6131fdc236bad2c20ERROR: Error for meta-zephyr/recipes-kernel/zephyr-kernel/zephyr-helloworld.bb:
do_bootconf_write[depends], dependency qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot in
' qemu-helper-native:do_addto_recipe_sysroot:do_addto_recipe_sysroot qemu-helper-native:do_addto_recipe_sysroot:do_populate_sysroot' does not contain exactly one ':' character.
Task 'depends' should be specified in the form 'packagename:task'
ERROR: Command execution failed: Exited with 1Signed-off-by Naveen Saini <[email protected]>--- classes/zephyr-qemuboot.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)classes/zephyr-qemuboot.bbclass +1
-2@@ -48,7 +48,7 @@ python () { for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): # Make sure we only add it for qemu if 'qemu-helper-native' in dep: - deps += " %s:%s" % (dep, task) + deps += " qemu-helper-native:%s" % (task) return deps d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_addto_recipe_sysroot')) d.appendVarFlag('do_bootconf_write', 'depends', extraimage_getdepends('do_populate_sysroot')) --2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#54833): https://lists.yoctoproject.org/g/yocto/message/54833
Mute This Topic: https://lists.yoctoproject.org/mt/85833578/3616920
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-