qemuarmv5: Change KMACHINE to qemuarmv5

Message ID 20220505101446.1634380-1-zhe.he@windriver.com
State New
Headers show
Series qemuarmv5: Change KMACHINE to qemuarmv5 | expand

Commit Message

He Zhe May 5, 2022, 10:14 a.m. UTC
yocto-kernel-cache has removed the compability of qemuarm from
arm-versatile-926ejs-*.scc The setting here should be changed accordingly
to avoid build faliure.

do_kernel_metadata: Could not locate BSP definition for qemuarm/standard and
no defconfig was provided

Signed-off-by: He Zhe <zhe.he@windriver.com>
---
 meta/conf/machine/qemuarmv5.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bruce Ashfield May 5, 2022, 12:33 p.m. UTC | #1
On Thu, May 5, 2022 at 6:15 AM He Zhe <zhe.he@windriver.com> wrote:
>
> yocto-kernel-cache has removed the compability of qemuarm from
> arm-versatile-926ejs-*.scc The setting here should be changed accordingly
> to avoid build faliure.
>
> do_kernel_metadata: Could not locate BSP definition for qemuarm/standard and
> no defconfig was provided
>

Jon sent a patch for this yesterday as well.

The fix here is correct, as is the one where he mapped it to the
versatile platform.

Cheers,

Bruce

> Signed-off-by: He Zhe <zhe.he@windriver.com>
> ---
>  meta/conf/machine/qemuarmv5.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf
> index 2dad504c99..17148ab929 100644
> --- a/meta/conf/machine/qemuarmv5.conf
> +++ b/meta/conf/machine/qemuarmv5.conf
> @@ -18,4 +18,4 @@ QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd"
>  PREFERRED_VERSION_linux-yocto ??= "5.15%"
>  QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
>
> -KMACHINE:qemuarmv5 = "qemuarm"
> +KMACHINE:qemuarmv5 = "qemuarmv5"
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165294): https://lists.openembedded.org/g/openembedded-core/message/165294
> Mute This Topic: https://lists.openembedded.org/mt/90907770/1050810
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf
index 2dad504c99..17148ab929 100644
--- a/meta/conf/machine/qemuarmv5.conf
+++ b/meta/conf/machine/qemuarmv5.conf
@@ -18,4 +18,4 @@  QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd"
 PREFERRED_VERSION_linux-yocto ??= "5.15%"
 QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
 
-KMACHINE:qemuarmv5 = "qemuarm"
+KMACHINE:qemuarmv5 = "qemuarmv5"