From patchwork Wed Feb 9 17:30:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 3453 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBF98C433EF for ; Wed, 9 Feb 2022 17:30:17 +0000 (UTC) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mx.groups.io with SMTP id smtpd.web12.29744.1644427817207597797 for ; Wed, 09 Feb 2022 09:30:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=RE6QSJgB; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.179, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f179.google.com with SMTP id b5so2399484qtq.11 for ; Wed, 09 Feb 2022 09:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ZNN6qbr2Mba7TEs3rxTphrSk6O6088kUacYz4OQIXj8=; b=RE6QSJgBchjcQCf8LJ7NmRsQlpsPdf1hvxsKsYj1JletOjinGviLqI9JYFlVckOuVW tFu3lj7RfGLCBaQoTEVJrpLupJNBncPAyhPG39RtRywsIa6IsJqHAV3PwVoeHO4/JTCE 8ksB64Hti+CzeGcnuj9v+fR2XV8qi2UGwTV/AeM58FGQtFkguY2XfpMX3SXS0+S4clfz bE0fv76OMQOjOo/JtuYXweuqbk7ioD01aGhjH10iYFE3FxPt0DeoV8VkTnAbknzFBtfW zY0UHu87lKhpkN8RBhstybNN0B1+LbSYs6EULV+IT2mVLSraefsQyL/W8FDLJitR/Hbz 4djA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZNN6qbr2Mba7TEs3rxTphrSk6O6088kUacYz4OQIXj8=; b=SIPF4L3rHN7iOYaYr1830HoBL/rWwfhcJpMet3YFYeHBVF2TYsmoPAHzJhBBUs6nnC IRIgbGfBQqkoEFQTbFiDaIppMgRqIJfAZi/At0jtdY8rTafLOx8oz9AXXvfGhqNZ9yjl FOV3I8cnToewqxsC53f8cVaEBrssMMlmc+DX+ttbednrxnbFxALi0YVcshBCii+e5LlZ XNtnvCSXGNGJI3laHM6eeuDURmt2jmh5ZfFn7UZAScIJk08Zq0PUFz20pOnFKa33DSJH syUoSOrzNDdZq9wfn27E8RlsiYsn7KPNhRtWC1mhdROmdIjPky87Y8AwAviJd59OxlMn RAnA== X-Gm-Message-State: AOAM532QR4tdp4JXM7n1UEJZmqP6WxeykugvMiedxZDC3BR+UBq3pa1O +pRKeUV6uXK2J9dgGXHkZCfj0uHS78XtMA== X-Google-Smtp-Source: ABdhPJzkeqd24m45TbQBYsQPZs1LuHz4vAAvlT1h+tvzwsh8khaYCOVm4uMbTRUxRnHarR2BrszhAA== X-Received: by 2002:ac8:4e48:: with SMTP id e8mr2152920qtw.52.1644427816049; Wed, 09 Feb 2022 09:30:16 -0800 (PST) Received: from localhost ([2605:a601:a63c:b500:6f2:2f18:c3b:979f]) by smtp.gmail.com with ESMTPSA id w14sm9940958qtc.29.2022.02.09.09.30.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 09:30:15 -0800 (PST) From: Jon Mason To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/5] linux-yocto-dev: add qemuriscv32 Date: Wed, 9 Feb 2022 12:30:10 -0500 Message-Id: <20220209173014.1389378-2-jdmason@kudzu.us> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209173014.1389378-1-jdmason@kudzu.us> References: <20220209173014.1389378-1-jdmason@kudzu.us> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 09 Feb 2022 17:30:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/161570 Signed-off-by: Jon Mason --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 0d946373523c..98a42235af54 100644 --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb @@ -50,7 +50,7 @@ PACKAGECONFIG[dt-validation] = ",,python3-dtschema-native" # we need the wrappers if validation isn't in the packageconfig DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'dt-validation', '', 'python3-dtschema-wrapper-native', d)}" -COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv64)" +COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv32|qemuriscv64)" KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb" From patchwork Wed Feb 9 17:30:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 3454 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1E51C433FE for ; Wed, 9 Feb 2022 17:30:18 +0000 (UTC) Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by mx.groups.io with SMTP id smtpd.web12.29745.1644427817944720209 for ; Wed, 09 Feb 2022 09:30:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=p4qzFgPs; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.219.51, mailfrom: jdmason@kudzu.us) Received: by mail-qv1-f51.google.com with SMTP id d7so2392977qvk.2 for ; Wed, 09 Feb 2022 09:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=VDJFUQXazLehgAOdXapjUQ8k7kgjyL/o9AbkiSRl13g=; b=p4qzFgPsx10IKBbi5mwz8HpXApsJnmUspwBi8aTUEppcgc0MqxYFZtdSJEbQ1PDhO/ d+X757wV/Rnkb7zzTXIzo5uApAzC6GfCGSpOVR50a3zWrGc01B4FJaqyxi/7CvCbwx2w oRNKRpy1JxVTGJrRh2GSbwiZ8tIS51qK/fjaHqpWDA+1UiQTnpH7Ht676lfwUdNysgwA umTbSJRRaSEV5VYO6okFPMBEqlhojkTwWDCN6OEfqFybsOapN7+VWNhg/BjtnDvRYDI/ G8oKIy8935RNlPDdCQGGKNQN2O6t2v8+amAWWJsav2I6NJLQkdfGbbJYOl6y/Ze8EDos Yxxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VDJFUQXazLehgAOdXapjUQ8k7kgjyL/o9AbkiSRl13g=; b=FW9/qQBcVJZhfzzilOl7fYeQEI0dJsHxjiwwNiURCV8e1HNhsyUYpoFWV0WTDNn3oP X7Zk1ZRrlT75z7KQjqd1vfzU/8u11BV+CTb3itXlH95QbGR2cpV6+NlMNZibkWGMOLQm 5irf8NR45ed97VQhN32B29G9sT+NB26r8ULqzK334hT1bjMve79xPsGc7otIlDSIYirJ aet1gE0baQYhmtmwwtwdom7+1WPeBeHxZH6XicYymRz7XfUEHcb7hRhSoOc8NcQoUiTC 1+AbiBoJ4yALSh7jIjVuAeipXadJQ+pWcfazX6cTGGAVt6dAYu1uOoDG8+mpIilngHvQ i8JQ== X-Gm-Message-State: AOAM531cHxG/8+t+/mHOC6H/jzhfLe5z/JF7YzwBU97KbNS3ipquMIQp sBfYD+qz/OeYppYw2V5CINT2HdbME09Ezw== X-Google-Smtp-Source: ABdhPJzdxUwaWhFRWgsqjbeXVDuMWQ8VwxElMfo+xdGpqE91LHKzXSzhAr9NMgTU159rwTwQ+LxF/A== X-Received: by 2002:a05:6214:27ce:: with SMTP id ge14mr1692308qvb.19.1644427816873; Wed, 09 Feb 2022 09:30:16 -0800 (PST) Received: from localhost ([2605:a601:a63c:b500:6f2:2f18:c3b:979f]) by smtp.gmail.com with ESMTPSA id o1sm9440301qkp.49.2022.02.09.09.30.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 09:30:16 -0800 (PST) From: Jon Mason To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/5] linux-yocto: Remove unnecessary commented out qemuarm entry Date: Wed, 9 Feb 2022 12:30:11 -0500 Message-Id: <20220209173014.1389378-3-jdmason@kudzu.us> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209173014.1389378-1-jdmason@kudzu.us> References: <20220209173014.1389378-1-jdmason@kudzu.us> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 09 Feb 2022 17:30:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/161571 The line in question is already in place in qemuarm.conf. Remove it from here, as it is not necessary and references an older kernel. Signed-off-by: Jon Mason --- meta/recipes-kernel/linux/linux-yocto_5.10.bb | 3 --- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 3 --- 2 files changed, 6 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto_5.10.bb b/meta/recipes-kernel/linux/linux-yocto_5.10.bb index 3a0a43bc0b90..1f0f2977c06d 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.10.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.10.bb @@ -25,9 +25,6 @@ SRCREV_machine:qemumips64 ?= "b668a352c94a8c29e585608e8302cacb1350f5ed" SRCREV_machine ?= "a1bbb29fe30c94c21309aa8b8c0d06fa12f3368d" SRCREV_meta ?= "7df27e6d296dfa16f289883c0661eed45059360c" -# remap qemuarm to qemuarma15 for the 5.8 kernel -# KMACHINE:qemuarm ?= "qemuarma15" - SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=${KMETA}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index ea10de30cd2f..ce66ddc75cd5 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -35,9 +35,6 @@ SRCREV_machine:class-devupstream ?= "63dcc388662c3562de94d69bfa771ae4cd29b79f" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" -# remap qemuarm to qemuarma15 for the 5.8 kernel -# KMACHINE:qemuarm ?= "qemuarma15" - SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA}" From patchwork Wed Feb 9 17:30:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 3455 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD0DAC4332F for ; Wed, 9 Feb 2022 17:30:19 +0000 (UTC) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by mx.groups.io with SMTP id smtpd.web08.29852.1644427818892552131 for ; Wed, 09 Feb 2022 09:30:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=5dPA5GQ8; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.222.176, mailfrom: jdmason@kudzu.us) Received: by mail-qk1-f176.google.com with SMTP id m25so2199367qka.9 for ; Wed, 09 Feb 2022 09:30:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=KJvWeOYSiP97AS+357izwER9XythvqOZ9WyL8kjfYZI=; b=5dPA5GQ8MK1DriRJldqNq29/dYFRnmkG9bGolSG4N1/2adOjfccn2r4IGvIxnAQRNx LCuWVigplmQSjlJX8pdX5uHv3nXLeihP2TBFHOpBcxXToGGAb6PttyrhbZeotldmeTCH YpAfEoyDxV4ruQ7g8vfsqH/zrw5d5A/xzXTiJWBHbNCaiGNl7w8GC9/gy4fUjMfKYpv1 jiavQ/j0a4kcoSZTeZgkchiYVuz0JE6vrsv5ELGJ26+YCmtKDRxhdD3kXZCJZiLjMkia SG62zrcrRcGx/930VItM6R6uVw9fY9LXJCGvPt2Yy1g54fqppbOwIxSP2RzazKTWDBr4 jpQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KJvWeOYSiP97AS+357izwER9XythvqOZ9WyL8kjfYZI=; b=pigz6eLzbNhYsJQtq3b5JfJpURLHa9coqaji8JlBJQS9XH4PlpCp62JUaDd+5r3lik yXvZHD0xut4+fWSBh9zjElZLLRAiGsWTweDdTWso61WrexqbDRdWcL83EjDyv5wQsoUU Sz2O48WmQk6rMo7eMYkv2RRLedr46XCBLz85Vj14y9hMiBxpadYAtgl2BhKzhnLCPaou 6sSYJU/QCNk3D4M0t6zIKVSKlmETxRqJuUGbHFqmMDV7MBRDVMoZPAHxhkQUTCChim0H BBYYt+x43qRf4VWbaVWWkShKeLGwA7rtPMIgd5HxtqQ6MLGadSnhM/DbUqZID5H5PFN3 F48Q== X-Gm-Message-State: AOAM533dLXoVTZ0nntFJuJrit8VVFZSEUhsUg7yUmKXHIMRPluagz0kV zmflPVzg/2Cz4BHwR4m6lyVX4fOkwL6O1A== X-Google-Smtp-Source: ABdhPJw5bw5YXp0VqfyovZIne9mM1g4vqq+gn2RTuFIpUg5u5FXdAwYctq04kQv/Rly3n92iKEEJPw== X-Received: by 2002:a37:9444:: with SMTP id w65mr1719495qkd.468.1644427817748; Wed, 09 Feb 2022 09:30:17 -0800 (PST) Received: from localhost ([2605:a601:a63c:b500:6f2:2f18:c3b:979f]) by smtp.gmail.com with ESMTPSA id br35sm8935640qkb.118.2022.02.09.09.30.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 09:30:17 -0800 (PST) From: Jon Mason To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/5] qemuarm: use virtio pci interface for graphics Date: Wed, 9 Feb 2022 12:30:12 -0500 Message-Id: <20220209173014.1389378-4-jdmason@kudzu.us> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209173014.1389378-1-jdmason@kudzu.us> References: <20220209173014.1389378-1-jdmason@kudzu.us> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 09 Feb 2022 17:30:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/161572 For uniformity, use the virtio pci interface (which all the other virtio devices are using for this machine). Signed-off-by: Jon Mason --- meta/conf/machine/qemuarm.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf index 1bd4e3e154fc..12da1557efff 100644 --- a/meta/conf/machine/qemuarm.conf +++ b/meta/conf/machine/qemuarm.conf @@ -17,10 +17,9 @@ QB_SYSTEM_NAME = "qemu-system-arm" QB_MACHINE = "-machine virt,highmem=off" QB_CPU = "-cpu cortex-a15" QB_SMP = "-smp 4" -# Standard Serial console QB_KERNEL_CMDLINE_APPEND = "vmalloc=256" # For graphics to work we need to define the VGA device as well as the necessary USB devices -QB_GRAPHICS = "-device virtio-gpu-pci" +QB_GRAPHICS = "-device virtio-gpu-device" QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" # Virtio Networking support QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" From patchwork Wed Feb 9 17:30:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 3456 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C902AC433F5 for ; Wed, 9 Feb 2022 17:30:20 +0000 (UTC) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by mx.groups.io with SMTP id smtpd.web08.29853.1644427819557595753 for ; Wed, 09 Feb 2022 09:30:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=UMPtCbz6; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.171, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f171.google.com with SMTP id o3so2388934qtm.12 for ; Wed, 09 Feb 2022 09:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=7vAclrXXDDHN9WRDZ5nhJtQtlx+oTJpWwUSuc8GpEoU=; b=UMPtCbz6NGR5rdvZcpzzAOFg0hNomP/uoV2FnWjG17joQLD7i+lUQ3yd0HmTPBOY5I Dvzq23MFPANKTApXmhQXsFpk5T3Azd2eVbr1HqHmJwCoIldhV5c49Fy/UVeTzTHxEF1Z GP7BYP2VXtd5Qq+jDNZU0/VY9LCWY6mlPehx7X0LNJDHUxXa4x+fgvxaR/YUAmDkWVar mOsIv1FefkJ/fhtElSt+x4ZPfgX42um+kGI1m+mtJf61TuNw7cUj5jgCF3dgznRRfS8E JfZ02NL2iIT76lV3uJd2w2WV+lhYraTzJljzqC2eq3lHdVBMdo+iAGJbUlWngt2zKeA0 4aEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7vAclrXXDDHN9WRDZ5nhJtQtlx+oTJpWwUSuc8GpEoU=; b=YgIFXEH3Q8geYL9pKHz39FAciDJfzzsZDDBWBZ14B3MExUQCOq1mt3FL0StLepAERN waWAM0fIvd0hvdFjFlIwWiFpJWfXkvyyJN/cU/ppxXSO8Zt58B5N5tspXVaNDTLCF51U 0EhFJjcbIz9qi78eqM3OCaymvR8UHEilTOjOR69noKrMvKkfimp/qEBvoYNKvNreouw9 NLk6H5tqbVwnKsih//dvGkbyrNIpGguWSWZKIvYpbpMjFhdaimzlEh2vfaruo8sRPBFw 7AimQbif/wUQ5Enyso81gTjC5ttFQtA6EltMID1GRxZOyi3qkKLoTmTqugK8AT1Da2Mc DLhQ== X-Gm-Message-State: AOAM530FsL13gN+TraKHha80+2Dv8N0lNITJP7gCQau+rHfmMXG0DfO5 MvIBu0UDMauOUd0j8iBqu47rZO7Y3og1fQ== X-Google-Smtp-Source: ABdhPJz4oNds/2VlZDIWM1B3xBO2TdkOe52jgb5wT1pcEgjyPG6QWOwtmxr8dz/8Zfsyd+13OJk7Cw== X-Received: by 2002:a05:622a:54d:: with SMTP id m13mr2114970qtx.421.1644427818572; Wed, 09 Feb 2022 09:30:18 -0800 (PST) Received: from localhost ([2605:a601:a63c:b500:6f2:2f18:c3b:979f]) by smtp.gmail.com with ESMTPSA id u9sm8855477qko.110.2022.02.09.09.30.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 09:30:18 -0800 (PST) From: Jon Mason To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/5] qemuarmv5: use arm-versatile-926ejs KMACHINE and add more virtio devices Date: Wed, 9 Feb 2022 12:30:13 -0500 Message-Id: <20220209173014.1389378-5-jdmason@kudzu.us> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209173014.1389378-1-jdmason@kudzu.us> References: <20220209173014.1389378-1-jdmason@kudzu.us> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 09 Feb 2022 17:30:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/161573 Use the Arm Versatile 926 kernel configs and round out all of the virtio interfaces to match other QEMU machines. Signed-off-by: Jon Mason --- meta/conf/machine/qemuarm64.conf | 8 ++++---- meta/conf/machine/qemuarmv5.conf | 11 +++++++++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index f24515216838..ffc51c803fa7 100644 --- a/meta/conf/machine/qemuarm64.conf +++ b/meta/conf/machine/qemuarm64.conf @@ -23,9 +23,9 @@ QB_GRAPHICS = "-device virtio-gpu-pci" QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" # Virtio Networking support QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" -QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" +QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@" # Virtio block device -QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" +QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=disk0" # Virtio serial console -QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" -QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" +QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon" +QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" diff --git a/meta/conf/machine/qemuarmv5.conf b/meta/conf/machine/qemuarmv5.conf index 2dad504c9932..863379ff4961 100644 --- a/meta/conf/machine/qemuarmv5.conf +++ b/meta/conf/machine/qemuarmv5.conf @@ -13,9 +13,16 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1" QB_SYSTEM_NAME = "qemu-system-arm" QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "vmalloc=256" +# For graphics to work we need to define the VGA device as well as the necessary USB devices QB_GRAPHICS = "-device virtio-gpu-pci" QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" -PREFERRED_VERSION_linux-yocto ??= "5.15%" +# Virtio Networking support +QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" +QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@" +# Virtio serial console +QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon" +QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" + QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}" -KMACHINE:qemuarmv5 = "qemuarm" +KMACHINE:qemuarmv5 = "arm-versatile-926ejs" From patchwork Wed Feb 9 17:30:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 3457 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5A87C433FE for ; Wed, 9 Feb 2022 17:30:21 +0000 (UTC) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by mx.groups.io with SMTP id smtpd.web08.29854.1644427820387340433 for ; Wed, 09 Feb 2022 09:30:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kudzu-us.20210112.gappssmtp.com header.s=20210112 header.b=rPQp+ilj; spf=none, err=permanent DNS error (domain: kudzu.us, ip: 209.85.160.175, mailfrom: jdmason@kudzu.us) Received: by mail-qt1-f175.google.com with SMTP id k25so2443241qtp.4 for ; Wed, 09 Feb 2022 09:30:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=bjrGkXIZy7nx60JzEzxstww5xDXP1XGZueIXt5zX560=; b=rPQp+iljDc1M9I2Qw9wpXxSthHvKNZrSo36I+TZqkgOSDm55AzZwb/T0ycvQCNEGHb nU1CDkEi8vNl9srA376nFxRIXAhrVesjkVCvCHFfYKe+VkwyaIODlJp12rfZtlJ8fNzC ENxFy0h2m3GtUMLP2aUQuy6IzXZEy2YE5D+KntXf4HV4DqTuEwkNhjjt7JJ7jdsngP4W 1ahbXNMDielAkHg6SmP++V/fZ9fj2/ns71ZiWbwgU8n7SC4+0ei1B39hf8uH3d+rZftP w0chIQAqystH4zRb2OVzl8u9iGOPmqh+NkKJCFWYpeK7kJpQQwq5wcrkb7iBg12Kz8Cx GKGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bjrGkXIZy7nx60JzEzxstww5xDXP1XGZueIXt5zX560=; b=aMKIJunSKgBncuBCK5Ty4wBVMABEbrDxJ+cQWtArBoczCzKSzUeSdfHLU0UU9cVSVU hu2QPZgpuiWjesyKTfcVmZEYucA/utrco+lmeP77HVnt3G+3ezyU2V6w9cZgYxAc2d6s EZ4ouXro0hUyetWO1taDX817jy6rAJc64gzCjESbLa9kvPftkqXWadg8t8Eqgv8pzOEz llOSOzujOQxdjDHqvXVx/rHfb9y2J6UVC2OKyRY9Dt+qDN87k2+wxwdJYhuVPG4IeHUu tbMFaj1+0KmvFn08e1OW+8J6gHcyGH4J4X6OnMTAXftTDRNyiHBCU32yMbnCxFu4t3ym 2LFw== X-Gm-Message-State: AOAM532y2G1Svtyy+SB5ic+9EwoyX9veo6Zs+zVY1M/qTZkUS3iN0Usi uBc0iky7F9P8Ex7OJUEX7C7ivx+VmPiWvQ== X-Google-Smtp-Source: ABdhPJwXZ7wf9eOnAkQuhF+IksK9/f2O078HzOtmRUtgWie9i5W+3UZAYj1FVLhaCULGn0j6km6Yzw== X-Received: by 2002:ac8:4e89:: with SMTP id 9mr2170118qtp.484.1644427819382; Wed, 09 Feb 2022 09:30:19 -0800 (PST) Received: from localhost ([2605:a601:a63c:b500:6f2:2f18:c3b:979f]) by smtp.gmail.com with ESMTPSA id s34sm9503266qtc.88.2022.02.09.09.30.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 09:30:19 -0800 (PST) From: Jon Mason To: openembedded-core@lists.openembedded.org Subject: [PATCH 5/5] poky-tiny: enable qemuarmv5/qemuarm64 and cleanups Date: Wed, 9 Feb 2022 12:30:14 -0500 Message-Id: <20220209173014.1389378-6-jdmason@kudzu.us> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209173014.1389378-1-jdmason@kudzu.us> References: <20220209173014.1389378-1-jdmason@kudzu.us> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 09 Feb 2022 17:30:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/161574 Add support for qemuarmv5 and qemuarm64, and remove qemuarm specific entries, as it should be generic now. Signed-off-by: Jon Mason --- meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index 2c81e3c00506..e146ecddceb9 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -1,5 +1,4 @@ KBRANCH ?= "v5.15/standard/tiny/base" -KBRANCH:qemuarm ?= "v5.15/standard/tiny/arm-versatile-926ejs" LINUX_KERNEL_TYPE = "tiny" KCONFIG_MODE = "--allnoconfig" @@ -15,16 +14,16 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine:qemuarm ?= "67b4c868eafbd63c437d0e79523c3bdc5f3aa834" SRCREV_machine ?= "f46816a75d738acbe4b1211153badf2f8e412780" SRCREV_meta ?= "26e884f8c2d22607e97900d22ad52a290f555fd7" + PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA}" -COMPATIBLE_MACHINE = "qemux86|qemux86-64|qemuarm|qemuarmv5" +COMPATIBLE_MACHINE = "qemux86|qemux86-64|qemuarm64|qemuarm|qemuarmv5" # Functionality flags KERNEL_FEATURES = ""