From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F6EEC41535 for ; Mon, 7 Feb 2022 15:53:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4358883C8E; Mon, 7 Feb 2022 16:53:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="K/JhQzsO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5AED983D24; Mon, 7 Feb 2022 16:53:34 +0100 (CET) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 94B4683BFB for ; Mon, 7 Feb 2022 16:53:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644249210; bh=OeIbEeb/oeBYjnT8w0CrPXn+oLTXmy8TwhkhRM/EB60=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=K/JhQzsOeyTWqBOEwE4Xw6jwm4GX5CwRkUBdTuVSBl5ihZ29L8YEOOsGyrXRbQUv8 8WuEe9ZNdQfJqVZ7rRzu+zItErXJuxzbNk8W9JG6mRHQ6ihThvybqeVzshoDgBWanN 2nnXllL+NleGdqnHaDF8wNAm/dMOUVvjKv7kNS3Y= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.55] ([88.152.144.107]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mqs4f-1o3PhL0gnh-00mrn6; Mon, 07 Feb 2022 16:53:30 +0100 Message-ID: Date: Mon, 7 Feb 2022 16:53:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: Running qemu tests on RISC-V Content-Language: en-US To: Simon Glass Cc: Tom Rini , U-Boot Mailing List References: From: Heinrich Schuchardt In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:rkdXkFp3WT3hcUlBBjsPfKmCLdGRJ3GZLzVXjiHRigyXA/uJXoS bQ6f7j7ZV7t2YVhjte+jcQHrXLm4XwVHF+0+zHUUmUt+t/KeSGLOzHPkJ7/egD3RRzgMW5w lwgKpKkvBFSpKIa+TyprSZfbTVJmPNk4tgwRJ2TE/PTs80Sh2ij9lkV2eLbu8HShebi8Vbe NRAk6uYKGcS4ay6jpNh6g== X-UI-Out-Filterresults: notjunk:1;V03:K0:yFFZC0wgr9I=:ehnx08Z4I33Kwn82ad/1eJ mwM+5l2Jl8I39KXFa/G51pYJb4CiKJpinewWd1++ib1pbtX+4R4Ffm415ew/lz5JDEkouP8Fi Ea5ZiHuPNnjjp+d9e1yZVXAONtrQuwYNBKHIDwiYK6qNNft/yKMXr9kPPF297GAxh8o4N7q4C hZq8HSlwNP0nL+FI2Vi7XSgMHZ6I5zjCPS9zO2oJfouiu5oYvwx9W41ZuDy6DZdmbS7S8hlWX 9NUheY1vpuHy1RrpXIsskm7MB5REGOKt8kYPQ9ostxjLLqCJkYbNzj2LUeHc3DVeorI6nK3rg g95b+df689ty5yTrkdoL9Mx13TEjCe8povO9o9+JGQf8mWHBwSLxkuvmwY/NE91tD6JhUKtBN q56YYgHhJ0yF8jW2TucgVuaqtr8FkyGkfLZgn7g4sb1p6oHbedGzinNbQN42yUgahRoqnnsUg njsqfEen8XiNGsnY4+7R2O/KS1NuhIlJQLMRW0zDtSY7raMB5vrhCfGquloHlfWIsZZ8Z2Iv0 ELh5i1FLPFao2WduDb6DGDT1/huWJoWisrNxhawPGtqe/Qpew/6tShaERRsbZ035XoNB5LLaR xZFqR4c8tPtDyEnPKBiDiKZrIkq2nNLjAgxwGLnhICXhmriAG+NTJa0iibyQGly9o3osTUyG0 xMa+cMzgbW3eiIkeUjsneaRlqxjKjA/p7oef4T7vyA0ehF6jZksJXfF0y/qxJPTONR+GxkD3C KR31sEHFjbqHK/4HbZLLlsgmcFBlflMe1hVSUohJwnp0ypbBzYCZgrQU0IDjvY13bmG6z6yXh wE47f9YwB5wOto+uG7EJ+HxNevK8YCfR8vtp3P9SepRsjwTvwyePyS9yL7wkCF0JE46Thxhpc afSRbQcPhJsWbe/OSxAvd4aVTiiLYliO/i++0VYJfNgA9cWUL0KCwjXsAvWRhlaoMVz0j1ye4 cUFoSmPDYMwsSznh5WNA9CIBAHD+ZLYsQtbuq8qtwMUP5H/c5Yzr1PU31R+ousZ3GgA4NEio7 u389OURsfUmLTf5WHUkPXKZn9jd108XNm9BtpF8UpQ95TW0soCKPuBxO4B8qcA099BAmI2omo rlOiIpU9Hw0CGQ= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 2/7/22 16:38, Simon Glass wrote: > Hi, > > I am trying to run the SPL tests for riscv32 but it dies with an > illegal instruction. I have tried building qemu 4.2 but it seems to > happen on various versions. Has anyone seen this? Did you try to run qemu-riscv32_spl_defconfig in the Docker container we are using for Gitlab? We are using QEMU v6.1.0 according to tools/docker/Dockerfile. With all that duplicate output below it is hard to understand what is going. Why is each byte written twice to the serial? Best regards Heinrich > > > +u-boot-test-reset qemu-riscv32_spl na > > U-Boot SPL 2022.01 (Feb 07 2022 - 08:33:30 -0700) > Trying to boot from RAM > Unhandled exception: Illegal instruction > EPC: 8UUU1000564nhandled nhandled exception:nhandled exceptexception: > ion: RA: 810000IIllegal10 instruction > Illllegal inegal instruction > EPC: structEPC: ion > EPC: TVAL: 81081000564 RA: 008100564 RA: 8100000100010 TVAL: 00000000 T= V > 0000000 > AL: 00 > ode:00000 > > Code:3400 > 050 808334004082 0073 00 8081050 2 bff5 0001 55b7007 4942 ( 3 859b 134f5= ) > 2 0073 bff5 > 0 > 001 1050 bff5 055b7 001 55b74942 4942 ((859b 859b 34f34f5) > 5) > > > > > 81000564 RA: 81000010 TVAL: 00000000 > > Code: 3400 8082 0073 1050 bff5 0001 55b7 4942 (859b 34f5) > > > resresetting ... > pporesetting ...ng ... > rese > trtered ys not supported yet > ### ERROet > R ### Please RES### ERRet notET the board ### > OR ### Please sRESEupT the board ### > ported yet > ### ERROR ### Please RESET the board ### > > Regards, > Simon