From: Andrew Dyer <amdyer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Spartan3 family support
Date: Wed, 27 Apr 2005 10:05:12 -0500 [thread overview]
Message-ID: <c166aa9f05042708056d84e082@mail.gmail.com> (raw)
In-Reply-To: <01dd01c54b36$60b94940$0b01a8c0@PCKURT>
On 4/27/05, Kurt Stremerch <kurt.stremerch@exys.be> wrote:
> > 3) I tried to use both the "fpga load" and "fpga loadb" commands
> > respectively with the .bin and .bit files. The first one runs
> succesfully
> > while the latter fails. In this case the header is parsed correctly
> > but the FPGA is not programmed and the DONE does not go high.
>
> The loadb function is a wrapper around the load function that converts
> your bitstream file first. Could you check what the difference is
> between your manually converted bitsteam file and the data that loadb
> creates? Imagine that the fpga startup clock configuration is set to the
> JTAG clock. Your conversion tool could change this automatically into
> the config clock. But the loadb doesn't make any change to your
> bitstream before the conversion takes place. This results in a
> successful configuration in "fpga load" but not in "fpga loadb".
I posted a patch to change the loadb command on Jan 11 (see the
archives) that's not yet into cvs. Here's the issue:
1) fixes a bug with the 'fpga loadb' command
The bug is in calculating the config data size - 4 bytes of length info were
being read as signed chars, casted to long, shifted and added. The cast to
long was doing sign extension and causing an incorrect result if a byte was
greater than 0x80. For me this caused the fpga load to end early and time out
waiting for the hardware completion.
There's some other stuff in the patch, too. I think the file has changed since
I posted my patch, so there might be some breakage in applying it, but
it's pretty simple and I'm sure you can do it by hand :-)
--
Hardware, n.:
The parts of a computer system that can be kicked.
next prev parent reply other threads:[~2005-04-27 15:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-14 11:33 [U-Boot-Users] [PATCH] Spartan3 family support Kurt Stremerch
2005-04-27 10:09 ` llandre
2005-04-27 14:35 ` Kurt Stremerch
2005-04-27 15:05 ` Andrew Dyer [this message]
2005-04-28 7:39 ` llandre
2005-09-25 14:44 ` Wolfgang Denk
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=c166aa9f05042708056d84e082@mail.gmail.com \
--to=amdyer@gmail.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 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.