From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH] fpga: Added support to load bit stream from SD/MMC
Date: Wed, 14 May 2014 13:25:45 +0200 [thread overview]
Message-ID: <537352B9.8040903@monstr.eu> (raw)
In-Reply-To: <10a1bf356ea627253cef0177c6e1f1d5d03e3d7c.1399039799.git.michal.simek@xilinx.com>
Hi Tom,
On 05/02/2014 04:10 PM, Michal Simek wrote:
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
>
> Added support to load a bitstream image in chunks by reading it in
> chunks from SD/MMC.
> Command format:
> loadfs [dev] [address] [image size] [blocksize] <interface>
> [<dev[:part]>] <filename>
> Example: fpga loadfs 0 1000000 3dbafc 4000 mmc 0 fpga.bin
>
> Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> We have tested just FAT case but I am sending this as RFC
> to give some inputs from you.
> The reason for this command is that when u-boot running
> from OCM on zynq there is just 192kB for u-boot itself
> and there must be an option to load bitstream to PL
> because there full DDR controller.
> Bitstreams are bigger and bigger and reading it with chunks
> is only one way how to do it.
> This is also necessary to do it for u-boot SPL when
> we add fpga support there.
>
> The question is if this is the way how to extend fpga command
> because loadfs should be fpga subcommand.
>
> This patch is based on this branch.
> http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/xnext/zynq
>
> Thanks for your comments,
> Michal
>
> ---
> common/cmd_fpga.c | 41 +++++++++++++++++++++
> drivers/fpga/fpga.c | 28 ++++++++++++++
> drivers/fpga/xilinx.c | 16 ++++++++
> drivers/fpga/zynqpl.c | 85 +++++++++++++++++++++++++++++++++++++++++++
> include/configs/zynq-common.h | 1 +
> include/fpga.h | 9 +++++
> include/xilinx.h | 3 ++
> 7 files changed, 183 insertions(+)
Are you OK with this patch?
I would expect that you will have some comments regarding this because it is
command extension.
If you are OK with this I will add it to my next fpga pull request with
partial bitstream support.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140514/fc2412dd/attachment.pgp>
next prev parent reply other threads:[~2014-05-14 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-02 14:10 [U-Boot] [RFC PATCH] fpga: Added support to load bit stream from SD/MMC Michal Simek
2014-05-14 11:25 ` Michal Simek [this message]
2014-05-14 21:26 ` Tom Rini
2014-05-15 8:41 ` Michal Simek
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=537352B9.8040903@monstr.eu \
--to=monstr@monstr.eu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.