From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chee, Tien Fong Date: Tue, 26 Feb 2019 14:30:39 +0000 Subject: [U-Boot] [PATCH v9 2/7] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK In-Reply-To: <3be7cc5e-cfa2-81ad-8b76-0cbbabd1bf55@monstr.eu> References: <1550548041-32682-1-git-send-email-tien.fong.chee@intel.com> <1550548041-32682-3-git-send-email-tien.fong.chee@intel.com> <3be7cc5e-cfa2-81ad-8b76-0cbbabd1bf55@monstr.eu> Message-ID: <1551191438.9804.2.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Tue, 2019-02-26 at 15:07 +0100, Michal Simek wrote: > On 19. 02. 19 4:47, tien.fong.chee at intel.com wrote: > > > > From: Tien Fong Chee > > > > Add default fitImage file bundling FPGA bitstreams for Arria10. > > > > Signed-off-by: Tien Fong Chee > > > > --- > > > > changes for v8 > > - Reordered the images and fpga configurations. > > - Removed the load property at core image. > > > > changes for v8 > > - Changed the FPGA node name to fpga-core and fpga-periph for both > > core and > >   periph bitstreams respectively. > > --- > >  board/altera/arria10-socdk/fit_spl_fpga.its | 38 > > +++++++++++++++++++++++++++++ > >  1 file changed, 38 insertions(+) > >  create mode 100644 board/altera/arria10-socdk/fit_spl_fpga.its > > > > diff --git a/board/altera/arria10-socdk/fit_spl_fpga.its > > b/board/altera/arria10-socdk/fit_spl_fpga.its > > new file mode 100644 > > index 0000000..df84562 > > --- /dev/null > > +++ b/board/altera/arria10-socdk/fit_spl_fpga.its > > @@ -0,0 +1,38 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > + /* > > + * Copyright (C) 2019 Intel Corporation > > + * > > + */ > > + > > +/dts-v1/; > > + > > +/ { > > + description = "FIT image with FPGA bistream"; > > + #address-cells = <1>; > > + > > + images { > > + fpga-periph at 1 { > Still this is DT and using @1 without reg property below is wrong. Sorry, i'm not getting you. Mind to explain more? > > > > > + description = "FPGA peripheral bitstream"; > > + data = > > /incbin/("../../../ghrd_10as066n2.periph.rbf"); > > + type = "fpga"; > > + arch = "arm"; > > + compression = "none"; > > + }; > > + > > + fpga-core at 2 { > ditto. > > > > > + description = "FPGA core bitstream"; > > + data = > > /incbin/("../../../ghrd_10as066n2.core.rbf"); > > + type = "fpga"; > > + arch = "arm"; > > + compression = "none"; > > + }; > > + }; > > + > > + configurations { > > + default = "config-1"; > > + config-1 { > > + description = "Boot with FPGA early IO > > release config"; > > + fpga = "fpga-periph at 1", "fpga-core at 2"; > > + }; > > + }; > > +}; > > > M >