From patchwork Tue Nov 13 04:51:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 996785 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="eUfpsxXw"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42vFbH1Wy0z9s3x for ; Tue, 13 Nov 2018 15:51:55 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id E212AC21DFF; Tue, 13 Nov 2018 04:51:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A320DC21CB1; Tue, 13 Nov 2018 04:51:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C4F34C21CB1; Tue, 13 Nov 2018 04:51:47 +0000 (UTC) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by lists.denx.de (Postfix) with ESMTPS id 25FA6C21C29 for ; Tue, 13 Nov 2018 04:51:47 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id z17-v6so5100509pgv.3 for ; Mon, 12 Nov 2018 20:51:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=i+BW6y+s8ISJE996GSqmQQCuEzJAJJuLqy3scPOYLlI=; b=eUfpsxXw6efYyEvDL4kmMwwNl+z2dv/zuBoMGcPbD/5qoEBTFn1d9JrRPcspsq1Ggd eW0pNV+E7E7EmCOKN3a3T3Mt3RUkEZDig1v6JUUYUCj+z6/qYJCD3slZFfLg1yVf6J8Q GRAYiYZIMt0CIYr0kn9UvDhwFTHn6kUjYShfI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=i+BW6y+s8ISJE996GSqmQQCuEzJAJJuLqy3scPOYLlI=; b=eRqZb4/1rXmXiP4YLR7/1zaLbF9dLJ2HMsDpzP5nxIngMsv4OdFn+lS5fXIJGofQpf hwB1r/WX0dPGwjiQxxzZKbRikMdRFFM02FE2uyfvlmjfWEIO1lFFGGAbcx2eDEwwsKOm Bx9vL/0DW2ahPbTFyk1zCuybe2V/j9y4HM2p/kCU5WJ6dxX+FK7guDHTSmm/TktJpc/K 7zfEjQqVT2Mkj/TKXkxHPY6OHcW/+Vu15jW/iOvl4SRr+fYpyUDS3KZdb5Uqxzv9jP87 whAEv1PKPMf9no2mguHY1ihKU9IOUHXM/iVwVFRrEjNJkrfbIaQsjhWAf6lDUymf0DP/ iB0A== X-Gm-Message-State: AGRZ1gJksqysqGg86jWoN80J9JQ7HJwR9agdOz86yrh/1BOVYnAypiRd bkpRwads6rodjUED/GHSnAwI4Z7nJt0= X-Google-Smtp-Source: AJdET5ex7Y1F2VP0q7wYEIN8uFv6qAIlODHBsOqt0Ut8Kf2nqh6emyizOgUi7H5rZd/QeHuX6hGb4w== X-Received: by 2002:a62:1c1:: with SMTP id 184-v6mr3698207pfb.242.1542084705313; Mon, 12 Nov 2018 20:51:45 -0800 (PST) Received: from localhost.localdomain ([117.252.66.84]) by smtp.gmail.com with ESMTPSA id l6-v6sm9538395pff.147.2018.11.12.20.51.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Nov 2018 20:51:44 -0800 (PST) From: Sumit Garg To: u-boot@lists.denx.de Date: Tue, 13 Nov 2018 10:21:24 +0530 Message-Id: <1542084684-24893-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: agraf@suse.de Subject: [U-Boot] [PATCH v2] qemu-arm: Enable VirtIO distro target X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" With -device virtio-blk-device,drive=hd0, it could detect distro boot target. Signed-off-by: Sumit Garg Reviewed-by: Alexander Graf --- Changes in v2: Change boot order to SCSI; VIRTIO; DHCP as DHCP is quiet slow, so kept as last boot option. Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO distro boot command. include/configs/qemu-arm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h index fedc466..33dcce0 100644 --- a/include/configs/qemu-arm.h +++ b/include/configs/qemu-arm.h @@ -25,6 +25,7 @@ #define BOOT_TARGET_DEVICES(func) \ func(SCSI, scsi, 0) \ + func(VIRTIO, virtio, 0) \ func(DHCP, dhcp, na) #include