From owner-freebsd-riscv@freebsd.org Sun Sep 29 20:48:20 2019 Return-Path: Delivered-To: freebsd-riscv@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2FD5712A00F for ; Sun, 29 Sep 2019 20:48:20 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46hHg80Spkz3xZH; Sun, 29 Sep 2019 20:48:20 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id D087B16CCA; Sun, 29 Sep 2019 20:48:19 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: by mail-ot1-f49.google.com with SMTP id c10so6598338otd.9; Sun, 29 Sep 2019 13:48:19 -0700 (PDT) X-Gm-Message-State: APjAAAVRl7ZfjxFF0+H2Doax/QG1vejbl72mWRAwgq0n81OjL92Hadva gRI+h7F8WMDE8BkrpO3hk/xljnA8oVL/gqI0xQA= X-Google-Smtp-Source: APXvYqzaUq69yyAcliPzSJD110UaENE53Jpb918i9g9D4+mSDcoWeTChuEX/vQFzjSHjLJlkzRVqU8jRX1BQs8Ajj7Q= X-Received: by 2002:a9d:614d:: with SMTP id c13mr12034404otk.281.1569790098924; Sun, 29 Sep 2019 13:48:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mitchell Horne Date: Sun, 29 Sep 2019 16:48:07 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: QEMU 4.1 and RISC-V To: Li-Wen Hsu Cc: freebsd-riscv@freebsd.org, Muhammad Moinur Rahman Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2019 20:48:20 -0000 On Sun, Sep 29, 2019, 15:17 Li-Wen Hsu wrote: > I found that RISC-V test started failing recently: > https://ci.freebsd.org/job/FreeBSD-head-riscv64-test/ > > After some checking, I found the issue is our bbl image cannot boot > with this command: > > qemu-system-riscv64 -nographic -m 2048M -kernel ./bbl > > in QEMU 4.1, while 3.1 and 4.0 are fine. I've switched the QEMU > version used in that job to 4.0, but I think it would be best if we > can find the root cause is in FreeBSD or QEMU. > > Can anyone also help on this? > Hi Li-Wen, I can take a look in the coming week if you're okay with the workaround for the time being. Locally I've had no issue running bbl with qemu 4.1 but perhaps there's something more specific that the CI script is doing. I'm hoping we will soon be able to replace bbl with the more actively maintained OpenSBI firmware. I have some pending changes that will allow us to boot FreeBSD with it, and after that I'd like to create ports for both bootloaders, which I hope will make the CI setup a little simpler and less fragile than building bbl currently is. Best, Mitchell > Thanks, > Li-Wen > _______________________________________________ > freebsd-riscv@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org" >