Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2924035imm; Sun, 19 Aug 2018 08:15:56 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxE1ez8oide7B+dW+EM2kJ2fDDxk423A0d4IiEZHzxzWlWQ2saieftDEMVJzPzLaRr+NfMO X-Received: by 2002:a17:902:7b97:: with SMTP id w23-v6mr42086278pll.66.1534691756842; Sun, 19 Aug 2018 08:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534691756; cv=none; d=google.com; s=arc-20160816; b=x1f4xzAB9Gy2VpSOduqRjVk3IIzUSXuVTodBSuA/BhsFOOjKHiN5JjXNtHm847oODs 0n+JWIyrIsHqyTVaGNu+EmNW1QVKCgRVRndkxcY0kIxvzQrmQ1bfURm5J0fYBfnmYRv/ N6aAC1Lo9m7uvzxOM+rFF15gojg8K02Mxx9769pRbsaXxDmrt9rFTzrsp8rasfM3j4wG wLmadGwc/ouaXywx5Tslu+TzA6uWRglhatVAfTivdN8Lj/Es9go8vgiG7sWzMS1z4NVh ORJ7YoAlmGKVAhSMsXenEQFrkTRnBbPtDaSFeM4M4Mt3Gl6KM0DKY6B4D0lzzQVWfSkm UwGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=08qGV1/BlMNDb+Scw5MdTnEpWqAu5NX+gDCuZsNYOyU=; b=d5+zh4iixUdzESgIrMt0EeU9MqfbZRCbYKsMu9WIIzw/YN54FpAXF9hXlmIFxV8JhN eJG/KBMw1I68wpHSdFiziOjRQR46p7kwqbTRwoZtK9n7Y+prcUgTNabHp+1ontqonaTG IKXSwIXvF59vtAiFIr+C3LP+86CTMTN1T+6JSZES/5vY4vbPvR1d4NIp9jKrjZk6Su9H fou8+9veZAr30J1MIta/g3Wtw3InekibE3ePHFK4eTMG0ceaivxq6FGd5lOsNGV7hyci V9SaCMMd+ZjM1r74OQdTyCuK5ozMSA2uQCzxkaoma9A3OrlDxJi8vVPoTrjM6ceUQS8z /x7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="KrBbmg/g"; 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 w4-v6si7003494pgj.566.2018.08.19.08.15.08; Sun, 19 Aug 2018 08:15:56 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b="KrBbmg/g"; 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 S1726536AbeHSSW1 (ORCPT + 99 others); Sun, 19 Aug 2018 14:22:27 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:40849 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbeHSSW1 (ORCPT ); Sun, 19 Aug 2018 14:22:27 -0400 Received: by mail-pf1-f194.google.com with SMTP id e13-v6so5531173pff.7 for ; Sun, 19 Aug 2018 08:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=08qGV1/BlMNDb+Scw5MdTnEpWqAu5NX+gDCuZsNYOyU=; b=KrBbmg/ggzM9Fk49GWMcshgAnig2kiCKCoRq33lkhjjLjWCHwzF94zzcuKYtZ+JXFK h3lNZvNholT2o6SIT/WBugaLqXc0fzR0URZATD7sZRuVgqdf8jn8EovdvRbW5PUurgwj 6fTZEm9W9hpCRv0hACf71dIRJToEODrD2nSgR0MvCoOV/KiyOmegEMUP6WG2SV0Uvx+p rbPVwdXbKrwXc1AsPJ9fVftcf5k1lk57w+B2gHv5nBerFF9PLqwoyMVsS0OZXztR/EaA pLJQHe0TwNiZ+nxitDOV6MTVgujHC2LnhM/78Rh98Tul+SulBBpLa0muRE09iP4o935g PKaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=08qGV1/BlMNDb+Scw5MdTnEpWqAu5NX+gDCuZsNYOyU=; b=Ide6bce6mTyQSy2eaE488+7WZdwOyTPeoELgLV88cIDGIeCPLApwQ3V60rzhm3dxV2 IyWQKHJ3d03TITgY/WoLfPXz8QGR5FFBlJx+tM/3agbRjgrt6qSpBxlEy8yYPqKJS8fU /a311KIvqGCxYW7JeVeQOsqwt+87HK8SiQ1E5ezFGm5x1PhTtjX/gQtEwct1mYa4zQJs AFvlMRGs9hvHH8HpYVLW0AdFhHdieCOeJAfFfi0hMNLSNW/tPkZfFZO6xRUvRRBK3fC0 MbOpaXrkFrUthVX5fBFZ1GPL0Z318E4AMO17e9MMCah+m5CVApbpqKJOb9onP/2sSFWd w+wQ== X-Gm-Message-State: AOUpUlGSLrKTYqCkyfQG5Lsq2+I+BHO6gsiudipAi5C9CRHLwV7x8dGD i03/hZVSVKNnLu4MMeyOZtYrujWG X-Received: by 2002:a63:b00f:: with SMTP id h15-v6mr40375587pgf.442.1534691440426; Sun, 19 Aug 2018 08:10:40 -0700 (PDT) Received: from server.roeck-us.net (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id o34-v6sm2222584pgm.44.2018.08.19.08.10.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 08:10:39 -0700 (PDT) Subject: Re: [GIT PULL] RISC-V Updates for the 4.19 Merge Window To: Karsten Merker Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, Linus Torvalds , linux-kernel@vger.kernel.org References: <20180818133759.GA20049@roeck-us.net> <20180819072614.etl7izdicabsffn3@excalibur.cnev.de> From: Guenter Roeck Message-ID: <2f5d45c1-9f18-9002-d655-90aad655b416@roeck-us.net> Date: Sun, 19 Aug 2018 08:10:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180819072614.etl7izdicabsffn3@excalibur.cnev.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/19/2018 12:26 AM, Karsten Merker wrote: [ ... ] >> 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. > You are correct. With qemu 3.0+commit b79cd8dec5 ("RISC-V: Support separate firmware and kernel payload") and this pull request plus "riscv: Drop setup_initrd" on top of mainline, my test passes: Build reference: riscv-for-linus-4.19-mw0-8897-gd028021652dd Building virt:defconfig:initrd ... running .... passed Building virt:defconfig:virtio-blk:rootfs ... running .... passed ... giving this an official Tested-by: Guenter Roeck Guenter