From patchwork Thu Mar 4 12:39:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 392680 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5965245jap; Thu, 4 Mar 2021 04:50:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzajfh+r6SKGqi2OZcKsPItJBHl18zNZvjmq60NRZbJi5Nw5QtYBRkeYFY2Mmz3mXnm799v X-Received: by 2002:aca:5985:: with SMTP id n127mr2776681oib.25.1614862201974; Thu, 04 Mar 2021 04:50:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614862201; cv=none; d=google.com; s=arc-20160816; b=vZpEFUd656d5dIwdB6BbvdgJQ5NNlWshVyC3kog54gdOXw78zilZjWlJO6l4gX5wOr FGRA7sgqIvJeHTfzJfgQga5tzS/lJNAkUQzx0bZp4OHOwd0vXh4EH+ELXek7GrYtfLga o77/uATEOA9ypXvKKxg8cepeQHIpAKQnf23WysCLk220VOGxberw80u6UFAKz7JblbVb LfI3DYCt/uIHmaK2e4KUqSMr8hnOrTXq8iNVqEAx5kt9LGXKCKBEAMZ2klvg6cZfwTUI pWH8iu+V7Ya11pv2NYAQSd5KxuF/+l8h4/5p2frt8ltpMGPLTIAiFz+83uaf6wNHbycJ e4iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=HjzpYT7hnoEJ4x3Tu4tXNH8mLvkB1uVrp6Y4N/W4R+E=; b=FVq/54wz+dU2XAJFSqemTRyOQNJkWQ1p4Sg0Yjtk7E+Kq4LzVWEz81kLfCfEbOc2KN 3QR5rhAGjCqxslzqNgWi/FoJzTGm5WGWj0yjYh4GrdpaHabz+MmuICQrSI43G5r7C73b Xe9QkpYIxvvzPHR/blpnME0WiPXfStRZIrUG/t9bfZEiWadNHlEnSRKLFO5+qg8TT630 OT2p5l9VNLPdvLmgrMQcMbREeIf6Tk5dhKLKh3aCXMuIx0mDHLpiPfRiZeQm9NX3FgWF qdKJ8Wvm/yj1lSFmrOBSW/IPXkr+xm8Pc13i4OoHN/9p1TveQQCvm2reMc3JvCF7f3tH sp4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="PdO9ccP/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x9si12892332otg.281.2021.03.04.04.50.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Mar 2021 04:50:01 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="PdO9ccP/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:44860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHnQX-0005sK-83 for patch@linaro.org; Thu, 04 Mar 2021 07:50:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHnH2-00024c-TE; Thu, 04 Mar 2021 07:40:12 -0500 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:35830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHnH1-00086L-3c; Thu, 04 Mar 2021 07:40:12 -0500 Received: by mail-pj1-x102c.google.com with SMTP id h13so324171pjt.0; Thu, 04 Mar 2021 04:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HjzpYT7hnoEJ4x3Tu4tXNH8mLvkB1uVrp6Y4N/W4R+E=; b=PdO9ccP/CWqPnsraafHp4hRBmAvsbwGzvEQORLtVaNqTXJy8BNcW0/Te7yWx9tg9RM AVgjGzgP2gmW8j0y3AdLltyFkVAhKKMWC1whLvCsk9tnXmptVjopTJD5niz6B7Iki9gR +Om2ZTD0LAVoxdbKGoT7iXX+QVI6AfJeHsBh5Ekg5XTfh6b6U0v8TOUUhdwDRACyzzQc PRSuL/CJrp6umTCgWydk+TcA0V+fDOlNv5hSCHwZkV6MIT0FYUECc0y71Za4yglLPWyK xhU+fxSVA5lheuWqqJariofg3U8g5F+ShtOVZB1Ih74vjAj0U3wWdNFcpqnePxDLIv7y Iu6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=HjzpYT7hnoEJ4x3Tu4tXNH8mLvkB1uVrp6Y4N/W4R+E=; b=R8QxLE9R9HlkKD0pl0JlnCfzcDjNC2one5VxtpIJQZkf9g7FTSvhf2DUkl9f/nRIEG neQASvvyDMjVc3SH6eRUCKQI5VPSOgQ3YplVKocNqPpqADSYIG2qQNzjNJhkxfE4gsCq RoyDJxtOL1wzHhX+VaFDfv0AOgh6ruNQLdHHoGQc/oulruXO0LgeawquBJ7SE3WFAQvZ X/V6i5VjiJkfAwxx5xJzFKfXFrnP2r1sog9dO7TqfbBXvOdKzRCnSZe1KE2h89Ts+Y97 5Eng9NQO+KmHQ2/mrm81nLz9kCrGX92jm81sgoVRIozDT6Z1vQp0EhuQ1jgFMSzIP9oW BzvQ== X-Gm-Message-State: AOAM533IYLtHJDb0Si6CfHagOBqgpnH/rTF40MRZM14SKyUqLY7pTMln 1DGNTp8WJHD3LwMJUexr27Q= X-Received: by 2002:a17:90a:71ca:: with SMTP id m10mr4328610pjs.2.1614861608846; Thu, 04 Mar 2021 04:40:08 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id r13sm29228237pfg.37.2021.03.04.04.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 04:40:07 -0800 (PST) From: Joel Stanley To: =?utf-8?q?C=C3=A9dric_Le_Goater?= , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Subject: [PATCH v2 1/2] tests/acceptance: Test ast2400 and ast2500 machines Date: Thu, 4 Mar 2021 23:09:50 +1030 Message-Id: <20210304123951.163411-2-joel@jms.id.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210304123951.163411-1-joel@jms.id.au> References: <20210304123951.163411-1-joel@jms.id.au> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=joel.stan@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Test MTD images from the OpenBMC project on AST2400 and AST2500 SoCs from ASPEED, by booting Palmetto and Romulus BMC machines. The images are fetched from OpenBMC's release directory on github. Co-developed-by: Cédric Le Goater Reviewed-by: Cédric Le Goater Tested-by: Cédric Le Goater Signed-off-by: Joel Stanley --- tests/acceptance/boot_linux_console.py | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) -- 2.30.1 Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index eb012867997f..2f46a08fdc10 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -1048,6 +1048,52 @@ def test_arm_vexpressa9(self): self.vm.add_args('-dtb', self.workdir + '/day16/vexpress-v2p-ca9.dtb') self.do_test_advcal_2018('16', tar_hash, 'winter.zImage') + def test_arm_ast2400_palmetto_openbmc_v2_9_0(self): + """ + :avocado: tags=arch:arm + :avocado: tags=machine:palmetto-bmc + """ + + image_url = ('https://github.com/openbmc/openbmc/releases/download/2.9.0/' + 'obmc-phosphor-image-palmetto.static.mtd') + image_hash = ('3e13bbbc28e424865dc42f35ad672b10f2e82cdb11846bb28fa625b48beafd0d') + image_path = self.fetch_asset(image_url, asset_hash=image_hash, + algorithm='sha256') + + self.do_test_arm_aspeed(image_path) + + def test_arm_ast2500_romulus_openbmc_v2_9_0(self): + """ + :avocado: tags=arch:arm + :avocado: tags=machine:romulus-bmc + """ + + image_url = ('https://github.com/openbmc/openbmc/releases/download/2.9.0/' + 'obmc-phosphor-image-romulus.static.mtd') + image_hash = ('820341076803f1955bc31e647a512c79f9add4f5233d0697678bab4604c7bb25') + image_path = self.fetch_asset(image_url, asset_hash=image_hash, + algorithm='sha256') + + self.do_test_arm_aspeed(image_path) + + def do_test_arm_aspeed(self, image): + self.vm.set_console() + self.vm.add_args('-drive', 'file=' + image + ',if=mtd,format=raw', + '-net', 'nic') + self.vm.launch() + + self.wait_for_console_pattern("U-Boot 2016.07") + self.wait_for_console_pattern("## Loading kernel from FIT Image at 20080000") + self.wait_for_console_pattern("Starting kernel ...") + self.wait_for_console_pattern("Booting Linux on physical CPU 0x0") + self.wait_for_console_pattern( + "aspeed-smc 1e620000.spi: read control register: 203b0641") + self.wait_for_console_pattern("ftgmac100 1e660000.ethernet eth0: irq ") + self.wait_for_console_pattern("systemd[1]: Set hostname to") + # This often takes longer than the 90s timeout + # self.wait_for_console_pattern("login:") + self.vm.shutdown() + def test_m68k_mcf5208evb(self): """ :avocado: tags=arch:m68k From patchwork Thu Mar 4 12:39:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 392678 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5960978jap; Thu, 4 Mar 2021 04:43:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL04XRCQr+IHPG+5YymWJTJcxzX88Dcbux1MyoKlhs5hBkiZpt+U9NO9ymIv5ZjMy1Ct7v X-Received: by 2002:aca:d908:: with SMTP id q8mr2770960oig.148.1614861795996; Thu, 04 Mar 2021 04:43:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614861795; cv=none; d=google.com; s=arc-20160816; b=GGsnvHpW/9fxi9xBw/RIQcgl5cON4WyB75WegFo6kELwXLqdcTLCcTSzH8QjJq/bFw GDiCq5d2KZX3QtXZ71Fd+9DHMNK8EKx7VOkENpaIV+OKO4Uj8MBc+9G/sTiX5k+HKlNz mP0cqODHq3nMIXDZXcm5bAuDdAzqh1xKpMCm2bfqnQHRvlj0EBs/7yXEQrSfJfislBW/ tgR9uCIcdA9Y9jyiGmn6VPVB9I+nejZM/ZG4Cpsqnze2EzlgarBd22audkZ9u1wV8JPW v/PtTTpgHu+GdNWO2f+OPv8wfBkoQycDGnK2oo14b2RpJsb8xS7TF5+XcyvF9AagJf71 Mu/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=M3igz7jopzXfWJ6+eBF3vNO5uEjoqswrCPxUBIjqFVM=; b=VhAyl0xvhvF4UkifBCyxNXzhtupwUrvv1fJDhebgqNperKZQBNc+vmaQGUYiwTvhLA Veclr8wN3adrH/z4mqZqn0Znx1PS3j2Eo+J39c7/X2HH6kz2s65vWfO/yhtAJM/V1ub8 7bfLVOgGymgKvaAISUjxiCXSg51HKpTQ7Ei5BRZP7OOGDXuwWzwh5f9zWw4+FfzEhA1D sfhRXOwK8SxlrSxSwt7HvHz3p6w8vmU8ZAq9LE7JGHQRajyZhmSMCacoDwd3Yh7GM/b5 tWImmmTQ07K2hWbUFSfQ1eWrbqvwnXuIGLOY1okurliCwxCkXnZ3ZGwJ32mmHzZRCnnh X9fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="VwJ3dc/H"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z198si19993795ooa.22.2021.03.04.04.43.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Mar 2021 04:43:15 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="VwJ3dc/H"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:37310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHnJz-0002BK-B2 for patch@linaro.org; Thu, 04 Mar 2021 07:43:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHnH8-000274-2C; Thu, 04 Mar 2021 07:40:19 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:40790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHnH4-00088J-V0; Thu, 04 Mar 2021 07:40:16 -0500 Received: by mail-pl1-x632.google.com with SMTP id z7so16063273plk.7; Thu, 04 Mar 2021 04:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M3igz7jopzXfWJ6+eBF3vNO5uEjoqswrCPxUBIjqFVM=; b=VwJ3dc/Ho3D1HzPwK77isIgBzhp49GCGc8yn5fJ2XlV24spK62Nk/4BFGT8XoMjq2y 3BBy82trL6ThW4Y1YvaJsSwru18Y9xSkBv3noRcMuzjN6LC99qXxpkPMdiXjhp1XQN6k 4kcroNPhiC2CyeztEaue8BEbCGDQWN/L4fofd9FCSZZ//xwZ47ACXmqI8Q0RecRynJp1 REefcEjFeEIDiwV/6rJ/uJ9lW6Dt4DB/cmdOqojt7Sufy9JQ6nXrVfAJCFnDtag2yt0Z Kzbg+PM41A9Qg2vh6sAAQrBt+7zdm0ijgBSEZRfi3mNXImYSrWgUiTdAEI7C3sNKMeQg 5dKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=M3igz7jopzXfWJ6+eBF3vNO5uEjoqswrCPxUBIjqFVM=; b=ZyRBaBfkX3NS1ilOuyDz7FKVTgA/stw0LfRndBovwRnPxzf8Dystci8Ws/90oOSo/K 6LrTfVRv49uFf6luutscY1kGwz7UZrI7H5IAFjHT6Y84ycFhwgIIHFgJLKg2lEES4d9h H1hq2TUE5KTMIpZ13/NGjF4s4GqkhuzS+dJIS4H1TsvOfmCWpi/wSp7Zm8nFYkdNPYH4 ufqGIcDaZFT0EKMwLjYIlX2vQBNBUu9HTS0yyePJZU0OS3v7V4v0tm7oT6TfJ7Oj+lKY U5lh5jPAG7oeIYq3k8LNdieWtNLDeO3pDFSVE24sfz/YNuPr5MjwjFERHmUwTmCaf96W ACng== X-Gm-Message-State: AOAM533kL0A57rtgMeRcgwzk6+XlVaNTWBhcC38gjeaO+TswEv6y8qcc DgMoELUQ3FFfHfOYGcKrUog= X-Received: by 2002:a17:90a:9f83:: with SMTP id o3mr4321325pjp.133.1614861613433; Thu, 04 Mar 2021 04:40:13 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id r13sm29228237pfg.37.2021.03.04.04.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 04:40:12 -0800 (PST) From: Joel Stanley To: =?utf-8?q?C=C3=A9dric_Le_Goater?= , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Subject: [PATCH v2 2/2] tests/acceptance: Test ast2600 machine Date: Thu, 4 Mar 2021 23:09:51 +1030 Message-Id: <20210304123951.163411-3-joel@jms.id.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210304123951.163411-1-joel@jms.id.au> References: <20210304123951.163411-1-joel@jms.id.au> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=joel.stan@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This tests a Debian multi-soc arm32 Linux kernel on the AST2600 based Tacoma BMC machine. There is no root file system so the test terminates when boot reaches the stage where it attempts and fails to mount something. Signed-off-by: Joel Stanley --- v2: Update expected strings so test passes --- tests/acceptance/boot_linux_console.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.30.1 Reviewed-by: Cédric Le Goater Tested-by: Cédric Le Goater diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index 2f46a08fdc10..4f1df69bc75c 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -1094,6 +1094,32 @@ def do_test_arm_aspeed(self, image): # self.wait_for_console_pattern("login:") self.vm.shutdown() + def test_arm_ast2600_debian(self): + """ + :avocado: tags=arch:arm + :avocado: tags=machine:tacoma-bmc + """ + deb_url = ('http://snapshot.debian.org/archive/debian/' + '20210302T203551Z/' + 'pool/main/l/linux/' + 'linux-image-5.10.0-3-armmp_5.10.13-1_armhf.deb') + deb_hash = 'db40d32fe39255d05482bea48d72467b67d6225bb2a2a4d6f618cb8976f1e09e' + deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash, + algorithm='sha256') + kernel_path = self.extract_from_deb(deb_path, '/boot/vmlinuz-5.10.0-3-armmp') + dtb_path = self.extract_from_deb(deb_path, + '/usr/lib/linux-image-5.10.0-3-armmp/aspeed-bmc-opp-tacoma.dtb') + + self.vm.set_console() + self.vm.add_args('-kernel', kernel_path, + '-dtb', dtb_path, + '-net', 'nic') + self.vm.launch() + self.wait_for_console_pattern("Booting Linux on physical CPU 0xf00") + self.wait_for_console_pattern("SMP: Total of 2 processors activated") + self.wait_for_console_pattern("No filesystem could mount root") + self.vm.shutdown() + def test_m68k_mcf5208evb(self): """ :avocado: tags=arch:m68k