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 X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B72D9C2BCA1 for ; Fri, 7 Jun 2019 16:52:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8EB8F2089E for ; Fri, 7 Jun 2019 16:52:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uVL9sFcR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="0j1BrL//" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EB8F2089E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fK1THXGLRWL6oGzhAU+wd387SJk6eM9DPcwm6DE+SMw=; b=uVL9sFcR49bRsB HwssQyenYy47ze9Bfzq5VQehSF4PmZIkRG9s6xIKqDlnAD4/Pirs5BoweX1bXYT74XNGsWG8tS00z /8xzu2Kx6TMNtfkTONLaltDnw1CBSBc3k+vLP/cu1hwFSwXdo9It07TP/kljk7hU2JwNyZdAlBW/8 SGUIlYBoK1cc0QRfkPw5XRfU8o5i1B4EYpziHD5VSGS5rlVIRKb6AaauT/4KygqL+GnfRBW5j3raS TajwOmjfQSP4zMKKev8x6URvuOB3P8Yhcptz9wOKcUHi1SzPb9jsXKdHMMUaWzw8SoelY1ppx5Sr/ t1Yl8HVYooJl2UW/K6CA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hZI5w-0002My-DA; Fri, 07 Jun 2019 16:52:00 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hZI5t-0002Ma-It for linux-riscv@lists.infradead.org; Fri, 07 Jun 2019 16:51:59 +0000 Received: by mail-pf1-x441.google.com with SMTP id u22so1522407pfm.3 for ; Fri, 07 Jun 2019 09:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=KAdja4g+5K1yNRadSGa4iS254vjYz6FUIwDf3E1mgJA=; b=0j1BrL//JTMqPk4S/qOTR9Ht6RSavMWK+fEjT0ZZAIKcAfr9Pi1BMrnKrD2aHUPPaN vGzHheuuiH8JfT3i/I4/ZzTv8EoUJlo8/aw/LSSMrgKQXlRIfmxZXIBAlOYBh0vgHJfR XiW+idkrDc8Ph2C+3T7dnrwJn/0m3v5VLS7kY7AOauaRYRBEy0zM1n6C2DEAa0/ksB9J xuIP9TqP5hYs58ps5XHFrRiG4ezdyhfdhepMn9BTm+At8Ic/K+hJKqVmMDoeaG0h+HlI 1lvZqHyP0H5JgT+4iX0S6mm7AJo+94Wc3a80kv/eiFmp9IbiPJVKG7dzlYTl1gq2qgjY TzUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=KAdja4g+5K1yNRadSGa4iS254vjYz6FUIwDf3E1mgJA=; b=bmeOwb26p55G/27SJXdKUF45HaAohmRURZ4/t1c8lg0wufenwbzVKoLsZNA2Z4Si3y xU5Bh1J6e1mVU4xNj6Wm5Du1vfvORfQW0k2u6xjpdSTFRxwPYwkLaP0t4gAAUFdPCGd+ 86gKszsIvwRHCyRhFp/GMW9xtf/3gmavKKiNSO/s/1KGGCHdesGdrUc2PGiK0WfHbA+q 1zk9i8wmaQuxrv08lpdbrXuYJDBjiSmtSvXWnOMOJTh+dEOTWjYupPwxbS8WoPeMAacK +zLo7m6Do6H2kESKR6N+vGbsqJGv1UWVRpzViiDD0MYGRTPE1HX1xGHBEkhpumUdXHTw 7DzQ== X-Gm-Message-State: APjAAAVZj9Xvhf+o9sNCZdqBcHnP1JPULmgjqMl8NCK5frBQfHOMvu7r H6pKCRJpAsxv2cJ/4MWfvGrPVg== X-Google-Smtp-Source: APXvYqzw67ywps2BIX0frRcevuXgajIjxlqqSkbhuQB8Awha+f/Wfl1unsc2kcMs5EH4mXVA+dx7lw== X-Received: by 2002:a65:408d:: with SMTP id t13mr3497326pgp.373.1559926316302; Fri, 07 Jun 2019 09:51:56 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.googlemail.com with ESMTPSA id 2sm2705166pfo.41.2019.06.07.09.51.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jun 2019 09:51:55 -0700 (PDT) From: Kevin Hilman To: Atish Patra , Paul Walmsley , "linux-kernel\@vger.kernel.org" , "linux-riscv\@lists.infradead.org" Subject: Re: [PATCH v3 0/5] arch: riscv: add board and SoC DT file support In-Reply-To: <05010310-baa2-c711-cb54-96a9138f582a@wdc.com> References: <20190602080500.31700-1-paul.walmsley@sifive.com> <7h36kogchx.fsf@baylibre.com> <05010310-baa2-c711-cb54-96a9138f582a@wdc.com> Date: Fri, 07 Jun 2019 09:51:55 -0700 Message-ID: <7hftolcp90.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190607_095157_686024_51D9B627 X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org Atish Patra writes: > On 6/5/19 10:37 AM, Kevin Hilman wrote: >> Hi Paul, >> >> Paul Walmsley writes: >> >>> Add support for building flattened DT files from DT source files under >>> arch/riscv/boot/dts. Follow existing kernel precedent from other SoC >>> architectures. Start our board support by adding initial support for >>> the SiFive FU540 SoC and the first development board that uses it, the >>> SiFive HiFive Unleashed A00. >>> >>> This third version of the patch set adds I2C data for the chip, >>> incorporates all remaining changes that riscv-pk was making >>> automatically, and addresses a comment from Rob Herring >>> . >>> >>> Boot-tested on v5.2-rc1 on a HiFive Unleashed A00 board, using the >>> BBL and open-source FSBL, with modifications to pass in the DTB >>> file generated by these patches. >> >> Tested this series on top of v5.2-rc3 on HiFive Unleashed board using >> OpenSBI + mainline u-boot (master branch as of today). >> >> Tested-by: Kevin Hilman >> >>> This patch series can be found, along with the PRCI patch set >>> and the DT macro prerequisite patch, at: >>> >>> https://github.com/sifive/riscv-linux/tree/dev/paulw/dts-v5.2-rc1 >> >> nit: I only see this series in that branch, not any of the prerequisite >> patches you mentioned, which made me assume I could this series alone on >> top of v5.2-rc3, which worked just fine. >> > > I tried only this series on top of v5.2-rc3. Kernel boots file with DT > updated via U-Boot. But networking didn't come up. > > Do you have networking up after the boot? If yes, can you please share > the config. I didn't test networking from the kernel initially, but looking now, I do not have networking come up in the kernel either. Kevin _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0BC1C2BCA1 for ; Fri, 7 Jun 2019 16:51:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 85BEE207E0 for ; Fri, 7 Jun 2019 16:51:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="0j1BrL//" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730484AbfFGQv5 (ORCPT ); Fri, 7 Jun 2019 12:51:57 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:32871 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729172AbfFGQv5 (ORCPT ); Fri, 7 Jun 2019 12:51:57 -0400 Received: by mail-pf1-f194.google.com with SMTP id x15so1534909pfq.0 for ; Fri, 07 Jun 2019 09:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=KAdja4g+5K1yNRadSGa4iS254vjYz6FUIwDf3E1mgJA=; b=0j1BrL//JTMqPk4S/qOTR9Ht6RSavMWK+fEjT0ZZAIKcAfr9Pi1BMrnKrD2aHUPPaN vGzHheuuiH8JfT3i/I4/ZzTv8EoUJlo8/aw/LSSMrgKQXlRIfmxZXIBAlOYBh0vgHJfR XiW+idkrDc8Ph2C+3T7dnrwJn/0m3v5VLS7kY7AOauaRYRBEy0zM1n6C2DEAa0/ksB9J xuIP9TqP5hYs58ps5XHFrRiG4ezdyhfdhepMn9BTm+At8Ic/K+hJKqVmMDoeaG0h+HlI 1lvZqHyP0H5JgT+4iX0S6mm7AJo+94Wc3a80kv/eiFmp9IbiPJVKG7dzlYTl1gq2qgjY TzUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=KAdja4g+5K1yNRadSGa4iS254vjYz6FUIwDf3E1mgJA=; b=KfxjItH19BoEbeowy4q2I7OvlBFyMgl92C7Ao41AfYET6WAy7sICghPkqLau66djzo 5oW9XtGYCW34B0WTNv1UTpPzHPh+NYqncaDl78HV/llOWdmPD9At5bxRojpF7dGl0Kr/ yr4HFQSyTS/El3u7RG6CzH5t/+LcgzjopOvVtJD8wYMLC4gFBRuEyj/2EQ59SQbun863 PKHkIL9+Q9cxcm84GG50/G98MJBprDXvIkmZc1lNsK151b6siNCkNFcNRCoO7qJMiS0U kgpnsbSsE6nU2uMZdVG6udJU0AWveyUwiFFtOFEBscoP9mR3b4rtgrVBl6ARoZLwaCib 369Q== X-Gm-Message-State: APjAAAXD28aKpXOhEJwvlTs3u0rikmxZPktQHLDrpR/fvJm2z593ct5m 7KSp1djjK+GJxOLLkx3kbjDk2Q== X-Google-Smtp-Source: APXvYqzw67ywps2BIX0frRcevuXgajIjxlqqSkbhuQB8Awha+f/Wfl1unsc2kcMs5EH4mXVA+dx7lw== X-Received: by 2002:a65:408d:: with SMTP id t13mr3497326pgp.373.1559926316302; Fri, 07 Jun 2019 09:51:56 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.googlemail.com with ESMTPSA id 2sm2705166pfo.41.2019.06.07.09.51.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jun 2019 09:51:55 -0700 (PDT) From: Kevin Hilman To: Atish Patra , Paul Walmsley , "linux-kernel\@vger.kernel.org" , "linux-riscv\@lists.infradead.org" Subject: Re: [PATCH v3 0/5] arch: riscv: add board and SoC DT file support In-Reply-To: <05010310-baa2-c711-cb54-96a9138f582a@wdc.com> References: <20190602080500.31700-1-paul.walmsley@sifive.com> <7h36kogchx.fsf@baylibre.com> <05010310-baa2-c711-cb54-96a9138f582a@wdc.com> Date: Fri, 07 Jun 2019 09:51:55 -0700 Message-ID: <7hftolcp90.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Atish Patra writes: > On 6/5/19 10:37 AM, Kevin Hilman wrote: >> Hi Paul, >> >> Paul Walmsley writes: >> >>> Add support for building flattened DT files from DT source files under >>> arch/riscv/boot/dts. Follow existing kernel precedent from other SoC >>> architectures. Start our board support by adding initial support for >>> the SiFive FU540 SoC and the first development board that uses it, the >>> SiFive HiFive Unleashed A00. >>> >>> This third version of the patch set adds I2C data for the chip, >>> incorporates all remaining changes that riscv-pk was making >>> automatically, and addresses a comment from Rob Herring >>> . >>> >>> Boot-tested on v5.2-rc1 on a HiFive Unleashed A00 board, using the >>> BBL and open-source FSBL, with modifications to pass in the DTB >>> file generated by these patches. >> >> Tested this series on top of v5.2-rc3 on HiFive Unleashed board using >> OpenSBI + mainline u-boot (master branch as of today). >> >> Tested-by: Kevin Hilman >> >>> This patch series can be found, along with the PRCI patch set >>> and the DT macro prerequisite patch, at: >>> >>> https://github.com/sifive/riscv-linux/tree/dev/paulw/dts-v5.2-rc1 >> >> nit: I only see this series in that branch, not any of the prerequisite >> patches you mentioned, which made me assume I could this series alone on >> top of v5.2-rc3, which worked just fine. >> > > I tried only this series on top of v5.2-rc3. Kernel boots file with DT > updated via U-Boot. But networking didn't come up. > > Do you have networking up after the boot? If yes, can you please share > the config. I didn't test networking from the kernel initially, but looking now, I do not have networking come up in the kernel either. Kevin