From: Chee, Tien Fong <tien.fong.chee@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v8 1/8] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10
Date: Thu, 14 Feb 2019 05:55:31 +0000 [thread overview]
Message-ID: <1550123730.10728.8.camel@intel.com> (raw)
In-Reply-To: <09e2506b-9d06-e230-51b4-165c7ab4bc28@denx.de>
On Wed, 2019-02-13 at 17:07 +0100, Marek Vasut wrote:
> On 2/13/19 3:18 PM, tien.fong.chee at intel.com wrote:
> >
> > From: Tien Fong Chee <tien.fong.chee@intel.com>
> >
> > This patch adds description on properties about file name used for
> > both
> > peripheral bitstream and core bitstream.
> >
> > Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
> >
> > ---
> >
> > changes for v8
> > - Removed explanation about support for altr,bitstream-core
> >
> > changes for v7
> > - Provided example of setting FPGA FIT image for both early IO
> > release
> > and full release FPGA configuration.
> > ---
> > .../fpga/altera-socfpga-a10-fpga-mgr.txt | 26
> > +++++++++++++++++++++-
> > 1 file changed, 25 insertions(+), 1 deletion(-)
> >
> > diff --git a/doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-
> > mgr.txt b/doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-
> > mgr.txt
> > index 2fd8e7a..da210bf 100644
> > --- a/doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-mgr.txt
> > +++ b/doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-mgr.txt
> > @@ -7,8 +7,31 @@ Required properties:
> > - The second index is for writing FPGA
> > configuration data.
> > - resets : Phandle and reset specifier for the device's reset.
> > - clocks : Clocks used by the device.
> > +- altr,bitstream : Fit image file name for both FPGA peripheral
> > bitstream,
> > + FPGA core bitstream and full bitstream.
> So the file contains three bitstreams ? I thought we can load only
> the
> core here.
Here is for telling FPGA driver which fitImage file gonna be processed.
You can put whatever bitstreams in fitImage. Then, in the default
configuration, you can tell SPL FPGA driver program which bitstream, it
could be both periph.rbf and core.rbf or just programming periph.rbf
only.
>
> >
> > -Example:
> > + Full bitstream, consist of peripheral bitstream
> > and core
> > + bitstream.
> > +
> > + FPGA peripheral bitstream is used to initialize
> > FPGA IOs,
> > + PLL, IO48 and DDR. This bitstream is required
> > to get DDR up
> > + running.
> > +
> > + FPGA core bitstream contains FPGA design which
> > is used to
> > + program FPGA CRAM and ERAM.
> > +
> > +Example: Bundles both peripheral bitstream and core bitstream into
> > FIT image
> > + called fit_spl_fpga.itb. This FIT image can be created
> > through running
> > + this command: tools/mkimage
> > + -E -p 400
> Is the padding still required ?
Yes, i think that padding method should be sufficient for all use
cases, i guess both NAND and QSPI may need this also.
You want me to support data offset(without padding) also?
>
> >
> > + -f board/altera/arria10-
> > socdk/fit_spl_fpga.its
> > + fit_spl_fpga.itb
> > +
> > + For details of describing structure and contents of the
> > FIT image,
> > + please refer board/altera/arria10-socdk/fit_spl_fpga.its
> > +
> > +- Examples for booting with full release or booting with early IO
> > release, then
> > + follow by entering early user mode:
> >
> > fpga_mgr: fpga-mgr at ffd03000 {
> > compatible = "altr,socfpga-a10-fpga-mgr";
> > @@ -16,4 +39,5 @@ Example:
> > 0xffcfe400 0x20>;
> > clocks = <&l4_mp_clk>;
> > resets = <&rst FPGAMGR_RESET>;
> > + altr,bitstream = "fit_spl_fpga.itb";
> > };
> >
>
next prev parent reply other threads:[~2019-02-14 5:55 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-13 14:18 [U-Boot] [PATCH v8 0/8] Add support for loading FPGA bitstream tien.fong.chee at intel.com
2019-02-13 14:18 ` [U-Boot] [PATCH v8 1/8] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10 tien.fong.chee at intel.com
2019-02-13 16:07 ` Marek Vasut
2019-02-14 5:55 ` Chee, Tien Fong [this message]
2019-02-14 10:34 ` Marek Vasut
2019-02-14 11:03 ` Chee, Tien Fong
2019-02-13 14:18 ` [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK tien.fong.chee at intel.com
2019-02-13 16:10 ` Marek Vasut
2019-02-13 22:45 ` Dalon L Westergreen
2019-02-13 23:04 ` Marek Vasut
2019-02-14 6:04 ` Chee, Tien Fong
2019-02-14 10:35 ` Marek Vasut
2019-02-14 11:23 ` Chee, Tien Fong
2019-02-14 12:24 ` Marek Vasut
2019-02-14 15:11 ` Chee, Tien Fong
2019-02-14 15:13 ` Marek Vasut
2019-02-14 15:47 ` Chee, Tien Fong
2019-02-14 16:26 ` Marek Vasut
2019-02-14 17:37 ` Chee, Tien Fong
2019-02-15 8:35 ` Chee, Tien Fong
2019-02-13 14:18 ` [U-Boot] [PATCH v8 3/8] fit: Add function declarations to the header file tien.fong.chee at intel.com
2019-02-13 16:11 ` Marek Vasut
2019-02-14 6:05 ` Chee, Tien Fong
2019-02-14 11:51 ` Chee, Tien Fong
2019-02-14 12:28 ` Marek Vasut
2019-02-14 15:12 ` Chee, Tien Fong
2019-02-13 14:18 ` [U-Boot] [PATCH v8 4/8] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading tien.fong.chee at intel.com
2019-02-13 16:20 ` Marek Vasut
2019-02-14 6:44 ` Chee, Tien Fong
2019-02-14 10:41 ` Marek Vasut
2019-02-14 11:35 ` Chee, Tien Fong
2019-02-14 12:14 ` Chee, Tien Fong
2019-02-14 12:29 ` Marek Vasut
2019-02-14 15:14 ` Chee, Tien Fong
2019-02-14 15:15 ` Marek Vasut
2019-02-14 15:23 ` Chee, Tien Fong
2019-02-14 15:24 ` Marek Vasut
2019-02-13 14:18 ` [U-Boot] [PATCH v8 5/8] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK tien.fong.chee at intel.com
2019-02-13 14:18 ` [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs tien.fong.chee at intel.com
2019-02-13 16:25 ` Marek Vasut
2019-02-14 6:50 ` Chee, Tien Fong
2019-02-14 10:42 ` Marek Vasut
2019-02-14 11:38 ` Chee, Tien Fong
2019-02-14 12:28 ` Marek Vasut
2019-02-14 15:15 ` Chee, Tien Fong
2019-02-14 15:21 ` Marek Vasut
2019-02-14 15:37 ` Chee, Tien Fong
2019-02-14 16:27 ` Marek Vasut
2019-02-14 17:30 ` Chee, Tien Fong
2019-02-14 16:33 ` Westergreen, Dalon
2019-02-14 16:59 ` Chee, Tien Fong
2019-02-14 17:26 ` Westergreen, Dalon
2019-02-14 17:26 ` Chee, Tien Fong
2019-02-13 14:18 ` [U-Boot] [PATCH v8 7/8] ARM: socfpga: Synchronize the configuration for A10 SoCDK tien.fong.chee at intel.com
2019-02-13 14:18 ` [U-Boot] [PATCH v8 8/8] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL tien.fong.chee at intel.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1550123730.10728.8.camel@intel.com \
--to=tien.fong.chee@intel.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox