From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] FPGA loading question
Date: Thu, 27 Sep 2007 15:21:55 +0200 [thread overview]
Message-ID: <200709271521.55586.matthias.fuchs@esd-electronics.com> (raw)
In-Reply-To: <3972542e0709261348j2895ea66vb906f1fee761b559@mail.gmail.com>
Hi <no forename>,
On Wednesday 26 September 2007 22:48, E Robertson wrote:
> Hi All,
> I've got a Spartan3E fpga I'm trying to program serially with a bin file.
fine.
> Is there any similar driver available to so this?
You can use the U-Boot fpga subsystem. See common/cmd_fpga.c
You have to write same board specific code to access the FPGA's
serial interface.
> I'm not sure if this is better done as a driver with embedded binary
> or as part of a hust script but the bin file embedded in the u-boot
> source. (I'm not sure if the latter is possible).
Nearly everything is possible:-) Even embedded FPGA binaries are
used with some U-Boot'supported boards (we have some of these), I must
say that's not best practice - and we will stop doing this:-).
Since FPGA's are getting bigger and bigger you end up with large
binary images in the U-Boot sourcetree.
I suggest to write the binary FPGA images in a separate flash
section. You can make the FPGA subsystem to automatically boot the
FPGA by setting an environment variable to the image's baseaddress
or you can start the boot process from the command line ...
What kind of CPU are you using? Please note that 4xx U-Boot ports have
the cache disabled. Without cache booting a Spartan 3E in SS-mode
may take very very :-(
Matthias
next prev parent reply other threads:[~2007-09-27 13:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 20:48 [U-Boot-Users] FPGA loading question E Robertson
2007-09-27 13:21 ` Matthias Fuchs [this message]
2007-09-27 15:47 ` Stefan Roese
2007-09-27 16:10 ` E Robertson
2007-09-27 17:36 ` Ben Warren
2007-09-27 18:01 ` E Robertson
2007-09-27 18:31 ` Ben Warren
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=200709271521.55586.matthias.fuchs@esd-electronics.com \
--to=matthias.fuchs@esd-electronics.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