Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2591259imm; Sun, 19 Aug 2018 00:30:04 -0700 (PDT) X-Google-Smtp-Source: AA+uWPz/9XmuEoub5nkRWVGKpEB6IyZr+FiwKWJmEhf7EA6Nky1CGSTlL9tCVLYdREF3GOd/FVJl X-Received: by 2002:a63:e056:: with SMTP id n22-v6mr39026041pgj.205.1534663804621; Sun, 19 Aug 2018 00:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534663804; cv=none; d=google.com; s=arc-20160816; b=Mcd4d5CGStBNtyxYqbiZDCvf8ZKPOUi97oMp9T0Zqty8dDxZspKWO3okWNVNuB9uHo W7j0o4Ck8nMJpqmLVg/BeMZq34uQc+xzjswwZptHOSHFxBNH0UVKUUFcAjrtIcfNh3RL o50HiWOFA9GPq4dNmgEA1jUHFHXk10Q69P/5FumqYoZk7t3Gx4QtOQ8IcUIknh9zRdN2 eAFP1YyC1wMzEwQJl6YuUcoh/Cap6/lyj2mEY2nbP6fx1srX1M+5qwUurHl/d+kG9o5/ I1Ze7oAjJydutzk6m7eT5ftpTT0AxJhyY06DaVDD++5/8bZ5BejNW0JciK47rfgsTLZF twRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=RZMcDjLAVv0rWcoFNVJQCH+3hobrKP8lkV1tmR2Wzwg=; b=KVtNW9kkPPSZ37Ta9BwNmApcNT2vO1k5uyO19Cqzppau7mRCMHxrD4CXdlxEQIhoXa ypmVfmrj8aHF3eR/Ks+tIA8GfrJElF/Ug7B1TE2uFDEtJi/uFejABgTM2MinxNuZMoTu zc2ryGLoQ6IjRg6tkPmoHFKXNZY6bt81YJsnbrxKrxszvTDjowywuoGAC7salU2aYuH1 qIdTej0p5k1wliUSBGhrI4OiuYiJMprNOBpbVBayc4Lv+IW3zRGe4FwgtX+NWs9OiF2w SenIe7nXQjmBvMr70nItH082jYU12rFZ0KSSZ1sVF4bVtVoi+hTOEhBa6Hoxw6bk9gd4 b/LA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u22-v6si3170390plj.434.2018.08.19.00.29.23; Sun, 19 Aug 2018 00:30:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725963AbeHSKhZ (ORCPT + 99 others); Sun, 19 Aug 2018 06:37:25 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:39427 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbeHSKhZ (ORCPT ); Sun, 19 Aug 2018 06:37:25 -0400 Received: from excalibur.cnev.de ([84.44.150.59]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0LhvjW-1gDzXW0wqo-00nBE8; Sun, 19 Aug 2018 09:26:16 +0200 Received: from karsten by excalibur.cnev.de with local (Exim 4.89) (envelope-from ) id 1frI6I-0001J9-Am; Sun, 19 Aug 2018 09:26:14 +0200 Date: Sun, 19 Aug 2018 09:26:14 +0200 From: Karsten Merker To: Guenter Roeck Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] RISC-V Updates for the 4.19 Merge Window Message-ID: <20180819072614.etl7izdicabsffn3@excalibur.cnev.de> References: <20180818133759.GA20049@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180818133759.GA20049@roeck-us.net> User-Agent: NeoMutt/20170113 (1.7.2) X-Provags-ID: V03:K1:2/wesicPRaqSXplJpEzZtWT5JeQK4mZbxfURiPUZlOzBYD3szQq RKFQgp/m7LR3wX8dddV4HnFjXDEE37KmHT5y5SZXCgCSdBSKLElVzTwbTi8fVvv69ynC58q DeT/InPBWHFrjr6vTKLJWfWgrp9yMKkHvlmHcg2DK1ai5gqnpzfNZGjbiDJZeHtYnDG+d24 JT9u7rWVb4CSV1DM7QenA== X-UI-Out-Filterresults: notjunk:1;V01:K0:4AOT+aak77Q=:J+mYrc4yByc6SiIU4XoOk7 dXyrkwh9JT5LgUoPY1evnFVW/FKqT3US7ByH0iO9jwF//cJj+hzeYWi5poEKVx94TBRbTcgi/ Mr4lA5wv+oj6PoeOokzR0Gc7pcNjukYWx8Mz+rEeNa7IXvHECgCsjA7bIigQP1XnyNBHjEDw2 eAa+oT7x9nNKRTn2neHQZAA7g/5xrp9H0mWk3HIeqyf3kxDZe8UJbY8E2VnBBZFr7xhVdtDQw ntv2tFDN7swCAtlkFpkHbHVr9GcCJ2DWvrkwrrbE4KyhF2HhXDCgB4XvS5xHbGcD45PmI8LzB NnArSOm/Ew3psegF/ClVWWf5SkvnIplQbfR7LYQAKoAR0nLUqnOYSstb+xCCaM3Ywu7+jaans 9f0GqiS25MdQbBBPOrGe8AoPFvYNCbAkOp1eVq0LkOD1bM63rLfqPR2x9vC59/NHhTn8seMSu H/36T/Sh/3iIQgz5daqehqGgjAUl/TZ0uLxRTfN1WezRNAzN2nrgFG7ARFYmBaSRuN8EtqoBh gkJFDztEBk3SZZ+EirHPhk176Iw7JQBEyeTzjvYsgkWqp+dJwo8oMsacxFagoV7YThtFe6Usl c3boMDGKiBV9V/Gg1HVtW4CcLlBo2hDfjAXVOEiDFNHQ0ubNGW6uJo3bpMNbfnYu6PDUmrBv7 KgVoD/uAcyKfyX29rTWwEeXiwg2WANml4DfEmXyyPP3q7LFyuqRnDxc0SGg90Jyy25pY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 18, 2018 at 06:37:59AM -0700, Guenter Roeck wrote: > On Fri, Aug 17, 2018 at 01:28:11PM -0700, Palmer Dabbelt wrote: > [ ... ] > > > > This tag boots a Fedora root filesystem on QEMU's master branch for me, > > and before this morning's rebase (from 4.18-rc8 to 4.18) it booted on > > the HiFive Unleashed. > > Do you have vmlinux embedded in bbl ? > > With separate bbl and vmlinux, and the following qemu command line > (with qemu 3.0) > > qemu-system-riscv64 -M virt -m 512M -no-reboot \ > -bios bbl -kernel vmlinux \ > -netdev user,id=net0 -device virtio-net-device,netdev=net0 \ > -device virtio-blk-device,drive=d0 \ > -drive file=rootfs.ext2,if=none,id=d0,format=raw \ > -append 'root=/dev/vda rw console=ttyS0,115200' \ > -nographic -monitor none > > all I get is > > rom: requested regions overlap (rom mrom.reset. free=0x000000000001cbe8, addr=0x0000000000001000) > > However, the she system boots fine with the same qemu command line if I use qemu > built from https://github.com/riscv/riscv-qemu.git, branch qemu-for-upstream. Hello, AFAICS the qemu patch that adds support for handling separate bbl and kernel images, i.e. https://github.com/riscv/riscv-qemu/commit/6338416ecf4717197c635b5abf9c17465d2d0da0 hasn't yet made it into upstream qemu, so using the "-bios" option for bbl generally doesn't work with (upstream) qemu 3.0. Regards, Karsten -- Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der Werbung sowie der Markt- oder Meinungsforschung.