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: 1447289 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=VwJ3dc/H; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Drr9L2WnSz9sRf for ; Thu, 4 Mar 2021 23:42:14 +1100 (AEDT) Received: from localhost ([::1]:37310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHnIy-0002BK-7f for incoming@patchwork.ozlabs.org; Thu, 04 Mar 2021 07:42:12 -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-Google-Smtp-Source: ABdhPJyM8UUCl4sd3VQY6A3GzAYKBue/jqk0m6uvUcjKNQkxwjKpg+jo1e/k3ExuPVTvCYNe+oN/Sg== 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+incoming=patchwork.ozlabs.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 Reviewed-by: Cédric Le Goater Tested-by: Cédric Le Goater --- v2: Update expected strings so test passes --- tests/acceptance/boot_linux_console.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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