Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6090775ybi; Wed, 29 May 2019 02:42:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbK2BUfPXFhUdvhEoI9QbaHRs4vRsVgrVVt55RhaCNvzM0rR7Tw/fhINkrzLzGMQ73+lV9 X-Received: by 2002:a17:902:848b:: with SMTP id c11mr27327268plo.74.1559122971995; Wed, 29 May 2019 02:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559122971; cv=none; d=google.com; s=arc-20160816; b=LFMfomHAhUlae9BzBFV1U2e6H+q1b4/6hWYFxVmlC9thXJNCqD1l1d91VPcO7xpkbg QkfQZEpsNuoOJBjPvCP+gnI14IINIm/vX2C8n5vKmr0at8NxejKXR4zg/rUp7BR6ufw4 T3cAUrxfY0v9oP9/fRv6nmXKWVLfPQarKsSfxa1W5OWKikaKB2fkI8Us+X6m0n1Pj7TF 7ORfIfGhj0q5udpp0GSVEezdIqnUKZwtzcessFdS2CYVOAY/wg85z+uZyY+qHuWsqUcC O/mblLWVBAaDeARnqhGIfG8TPX/YDW3YKBH6zC++XUbrPvcTcl0thWY4a/W1I4adD+M1 2AeA== 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:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=f4sEI9yG6GpMwqHITTXcIshL6zD0jAjZRybb4dnfs7U=; b=b6wtoXHP15o7FY0Pg+LVNUX96dkMUN3yL5RE5FksvWFV6FDTQrlIXBtWU4YiFu2Cse l2on1m2sD1WLBBTSX/GIXOLm3JiD55AI5sFpRrPF9ohKmS/HqIlSohFDGOL8TAp8nJKO uAAmohhN+qoqAvI0YGENAAzCfYSbOJ0PXriPAL2+B3fWL5Qlsm2GcE4P6fs2izuNJ4YR nc1rxYCnNjxbtn3nZESqEB9p2FrFj3WqGNUVJe43Din1UdRtOiBCQCDlT7OVthMOipIh K6p9TbxohDRMyTDjFFMcCDpdfa+dTZM0H8U3Pg0Y9KJ3k3h22Ku20ZTEeoB5B04Jy4yT flXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=pEGWv8XI; 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 h3si6355235pjb.19.2019.05.29.02.42.35; Wed, 29 May 2019 02:42:51 -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=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=pEGWv8XI; 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 S1726205AbfE2JlT (ORCPT + 99 others); Wed, 29 May 2019 05:41:19 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35085 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbfE2JlT (ORCPT ); Wed, 29 May 2019 05:41:19 -0400 Received: by mail-wr1-f67.google.com with SMTP id m3so1249993wrv.2 for ; Wed, 29 May 2019 02:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=f4sEI9yG6GpMwqHITTXcIshL6zD0jAjZRybb4dnfs7U=; b=pEGWv8XIyBlPvoBMuLhmJCRnsakkEZvpMkDr63LRYi25eLXJnV1RzXsBbMgi3iZIYj ExH1tQ4KjTdkrims0DrRkrkNoZnhI+CBoSPEf6r/PhVTlaOqT+0kuIuFdy9JnCnHm/C2 fuRwh2MJDJMKDmybw+7wm4OwR3GmgqPrIrk5QfkQGOCK03VtX3rgtaM/fD9XMqa+8M+C iFyBrpOj0AZlxJrHjoQF4OUIAI0I0W9c2moVukJcm61YqREWq9PaXv/t00+2GioyiBmO LLNVM3R0n4kBjL23YyCePBMkCjXy24zxsZZZFkuPd3eMPl9rPVUw5izRkehAk0TDfoPY k07w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=f4sEI9yG6GpMwqHITTXcIshL6zD0jAjZRybb4dnfs7U=; b=qHYPO+BKG17xIVfhRH6pEYlX9snuNlOVLNj3Q7RPmB8rUp363nmzxGbnUsSHtFlxRU aMstn19pyYDO2k9Y77Aznv2XB965e/5SgUgzcYOFh9rXT0oV9mKxX+4kI3bgck67m1Lk XLX2+Ktv/l2aRCNecUN7WLoirMlWZq6KVfSMOEWGRnuXgQoKxPz44mVIj6RRQwFElvM1 1dvBVyE6Bhi7XHQDDnEIwIZAAZIRaeluHlUDHPYi3J9DnzJQlYkM+TCnMrsHc+BSUWUk HYxZ6RREKsfgDF5cNAUVZZ3hm9KN1BXpXOmPF8VoD8IiPbBOtlXnoE/1hRhKSxlM/T+6 cX8A== X-Gm-Message-State: APjAAAWalvw1MpWRz7vLw0Rb+ur6e7yMbT56MjlwLq3G7j9qoyV2Vii2 et9YQDTseulBPVtHTCJNTYJoIQ== X-Received: by 2002:adf:cf0c:: with SMTP id o12mr73549530wrj.182.1559122877662; Wed, 29 May 2019 02:41:17 -0700 (PDT) Received: from localhost (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id f20sm4727482wmh.22.2019.05.29.02.41.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 May 2019 02:41:17 -0700 (PDT) From: Loys Ollivier To: Karsten Merker Cc: Paul Walmsley , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: Testing the recent RISC-V DT patchsets In-Reply-To: <20190528153542.jfkkwycyc3vu6hld@excalibur.cnev.de> References: <86o93mpqbx.fsf@baylibre.com> <20190528153542.jfkkwycyc3vu6hld@excalibur.cnev.de> Date: Wed, 29 May 2019 11:41:11 +0200 Message-ID: <86zhn54myw.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 28 May 2019 at 17:35, Karsten Merker wrote: > On Tue, May 28, 2019 at 05:10:42PM +0200, Loys Ollivier wrote: >> On Tue 28 May 2019 at 01:32, Paul Walmsley wr= ote: >>=20 >> > An update for those testing RISC-V patches: here's a new branch of=20 >> > riscv-pk/bbl that doesn't try to read or modify the DT data at all, wh= ich=20 >> > should be useful until U-Boot settles down. > [...] >> > Here is an Linux kernel branch with updated DT data that can be booted= =20 >> > with the above bootloader: >> > >> > https://github.com/sifive/riscv-linux/tree/dev/paulw/dts-v5.2-rc1-e= xperimental >> > >> > A sample boot log follows, using a 'defconfig' build from that branch.= =20=20 >>=20 >> Thanks Paul, I can confirm that it works. >>=20 >> Something is still unclear to myself. >> Using FSBL + riscv-pk/bbl the linux kernel + device tree boots. >> Neither FSBL nor riscv-pk/bbl are modifying the DT. >>=20 >> Using FSBL + OpenSBI + U-Boot the same kernel + device tree hangs on >> running /init. >>=20 >> Would you have any pointer on what riscv-pk does that OpenSBI/U-boot doe= sn't ? >> Or maybe it is the other way around - OpenSBI/U-boot does something that >> extra that should not happen. > > Hello, > > I don't know which version of OpenSBI you are using, but there is > a problem with the combination of kernel 5.2-rc1 and OpenSBI > versions before commit > > https://github.com/riscv/opensbi/commit/4e2cd478208531c47343290f15b577d= 40c82649c > > that can result in a hang on executing init, so in case you > should be using an older OpenSBI build that might be the source > of the problem that you are experiencing. > Hello Karsten, That was it ! This fixes the issue I had on init execution. Good catch, thanks a lot for the help ! Regards, Loys > Regards, > Karsten > --=20 > Ich widerspreche hiermit ausdr=C3=BCcklich der Nutzung sowie der > Weitergabe meiner personenbezogenen Daten f=C3=BCr Zwecke der Werbung > sowie der Markt- oder Meinungsforschung.