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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 E15D7C4360C for ; Thu, 10 Oct 2019 09:38:56 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 81CB520679 for ; Thu, 10 Oct 2019 09:38:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81CB520679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 423741E898; Thu, 10 Oct 2019 11:38:55 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1EF621C0BE for ; Thu, 10 Oct 2019 11:38:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2019 02:37:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,279,1566889200"; d="scan'208";a="200412161" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 10 Oct 2019 02:37:06 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 10 Oct 2019 02:37:06 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 10 Oct 2019 02:37:06 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.96]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.96]) with mapi id 14.03.0439.000; Thu, 10 Oct 2019 17:37:03 +0800 From: "Pei, Andy" To: "Ye, Xiaolong" CC: "dev@dpdk.org" , "Xu, Rosen" , "Zhang, Tianfei" , "Yigit, Ferruh" Thread-Topic: [PATCH v7 05/17] raw/ifpga/base: add device tree support Thread-Index: AQHVdR9XERvZXwEqz0ipKv4lk4uWi6dTsiug Date: Thu, 10 Oct 2019 09:37:03 +0000 Message-ID: <5941F446C088714A85408FA3132CFCBB01086CB1@SHSMSX105.ccr.corp.intel.com> References: <1568883774-92149-2-git-send-email-andy.pei@intel.com> <1569485262-457887-1-git-send-email-andy.pei@intel.com> <1569485262-457887-6-git-send-email-andy.pei@intel.com> <20190927103329.GB103914@intel.com> In-Reply-To: <20190927103329.GB103914@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 05/17] raw/ifpga/base: add device tree support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Xiaolong I will do that in v8. -----Original Message----- From: Ye, Xiaolong=20 Sent: Friday, September 27, 2019 6:33 PM To: Pei, Andy Cc: dev@dpdk.org; Xu, Rosen ; Zhang, Tianfei ; Yigit, Ferruh Subject: Re: [PATCH v7 05/17] raw/ifpga/base: add device tree support This patch introduces the dependency on libfdt, so we need to disable ipn3k= e driver by default in config/common_base, otherwise it would cause a build= error. On 09/26, Andy Pei wrote: >From: Tianfei zhang > >In PAC N3000 card, this is a BMC chip which using MAX10 FPGA to manage=20 >the board configuration, like sensors, flash controller, QSFP, powers.=20 >And this is a SPI bus connected between A10 FPGA and MAX10, we can=20 >access the MAX10 registers over this SPI bus. > >In BMC, there are about 19 sensors in MAX10 chip, including the FPGA=20 >core temperature, Board temperature, board current, voltage and so on. > >We use DTB (Device tree table) to describe it. This DTB file is store=20 >in nor flash partition, which will flashed in Factory when the boards=20 >delivery to customers. And the same time, the customers can easy to=20 >customizate the BMC configuration like change the sensors. > >Add device tree support by using libfdt library in Linux distribution. >The end-user should pre-install the libfdt and libfdt-devel package=20 >before use DPDK on PAC N3000 Card. > >For Centos 7.x: sudo yum install libfdt libfdt-devel For Ubuntu 18.04:=20 >sudo apt install libfdt-dev libfdt1 We'll need to add this info to document. Thanks, Xiaolong