From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chee, Tien Fong Date: Wed, 6 Sep 2017 07:15:33 +0000 Subject: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA In-Reply-To: References: <1504003561-6290-1-git-send-email-tien.fong.chee@intel.com> <1504003561-6290-4-git-send-email-tien.fong.chee@intel.com> <04c8e56d-860b-98c9-2893-2692c64197ee@denx.de> <1504080328.7727.37.camel@intel.com> <1504508888.7727.73.camel@intel.com> <1504590823.7727.103.camel@intel.com> <716ab6ac-d91f-a3c0-e4d3-393966e06064@denx.de> <1504603385.7727.109.camel@intel.com> <661fcf82-bd4e-6207-6ff8-a5b21eec9094@denx.de> <1504674384.7727.122.camel@intel.com> Message-ID: <1504682132.7727.123.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Rab, 2017-09-06 at 09:10 +0200, Marek Vasut wrote: > On 09/06/2017 07:06 AM, Chee, Tien Fong wrote: > [...] > > > > > > > > > > > > > > > > > > > > > > > > > > The BSP tool is used to describe internal FPGA in SOCFPGA. > > > > > > Other > > > > > > external FPGAs other than SOCFPGA itself, it can be > > > > > > programmed > > > > > > through > > > > > > U-boot. > > > > > The BSP tool is broken if it generates broken DT, do I have > > > > > to > > > > > repeat > > > > > myself ? > > > > > > > > > BSP tool is only generate the RBF filename for FPGA inside > > > > SOCFPGA. > > > > Multiple external FPGA are configured through U-boot. > > > What happens if you have FPGA connector over SPI ? > > > > > I assume you are saying FPGA connected to EPCQ > No, I mean FPGA connected over SPI bus. > > > > > , and this is one of the > > external FPGA configuration, like PCIE. For any external FPGA > > configuration, FPGA itself/external HOST would get the FPGA data > > from > > storage such as EPCQ and configuring the FPGA without > > HPS/Bootloader > > intervine. SPL/U-boot would skip the FPGA configuration process > > when > > they see the mode is set to external FPGA configuration. > > > > I know you want a DT to describe all FPGAs with FPGA node and their > > own > > data filename in every node. But, at this moment, all external > > FPGAs > > chip other than SOCFPGA itself are configured through U-boot(script > > & > > env variable), or external FPGA configuration method. > I want DT which describes hardware and is not misdesigned crap. > Just because the BSP tool is broken does not mean I can allow > upstream > to accept that, no way. > > > > > How about i just create a FPGA node for SOCFPGA, with FPGA data > > filename within the node? > Isn't that what the FPGA manager in mainline Linux does already ? > Yeah, i will port from Linux DTS, and filenames added into the node.