News for hackers. Stuff that matters.
Re:An open source Xilinx Spartan 6 miniPCIe development board by vardump on Monday July 13, 2015 @06:54PM (#9881698)
So is it possible to load bitstream in parts, enough for basic PCIe endpoint within 100 ms to conform to PCIe spec and then load a bigger design afterwards?
Re:An open source Xilinx Spartan 6 miniPCIe development board by jeff_marshall on Monday July 13, 2015 @10:43PM (#9882557)
Ugh, that time window.

I once had to work with a hardware team to debug a "boot issue" where we were right on the margin due to a two-phase boot process (boot initial bitstream, check journal in flash, load active bitstream) and didn't even realize going into the debugging that we were close to the margin.

It's nice to be doing plain-old software again...

Re:An open source Xilinx Spartan 6 miniPCIe development board by vardump on Tuesday July 14, 2015 @10:29AM (#9885118)
Which platforms are the most demanding regarding PCIe time window? Which ones caused you problems?
Re:An open source Xilinx Spartan 6 miniPCIe development board by Sanddancer on Monday July 13, 2015 @06:57PM (#9881708)
Yes. Xilinx chips can do on-the-fly reconfiguration. So you can have your bootstrap loader and then either load a more complete firmware from the spi chip, or over pcie
Re:An open source Xilinx Spartan 6 miniPCIe development board by mng2 on Monday July 13, 2015 @07:21PM (#9881806)
I don't think it's supported for Spartan-6 though.
Re:An open source Xilinx Spartan 6 miniPCIe development board by Sanddancer on Monday July 13, 2015 @08:25PM (#9882093)
It is as of ISE-12. Some people, in fact, have reversed the datastream and can do it live, automatically, in realtime https://vjordan.info/log/fpga/full-dynamic-partial-reconfigu...
Re:An open source Xilinx Spartan 6 miniPCIe development board by jeff_marshall on Monday July 13, 2015 @10:39PM (#9882547)
yeah, isn't that hard to get the basics by reading the docs and doing some basic experiments with explicit placement and examining the resulting bitstream.

When I looked at the encryption format for the virtex 5 series it was quicker to reverse engineer it than it was to find someone within Xilinx that could explain it (just basic bit/byte order, what's covered by encryption, etc).

At the end of the day, FPGA configuration logic is just another state machine ;)

Re:An open source Xilinx Spartan 6 miniPCIe development board by vardump on Monday July 13, 2015 @09:21PM (#9882292)
That looks very interesting, thanks!
Re:An open source Xilinx Spartan 6 miniPCIe development board by vardump on Monday July 13, 2015 @08:22PM (#9882080)
So it's not possible to implement compliant PCIe interface together with some bigger block with this board?
Re:An open source Xilinx Spartan 6 miniPCIe development board by mng2 on Monday July 13, 2015 @10:51PM (#9882579)
Not with official workflows at least, and even then, you would somehow have to keep the PCIe block up during reconfiguration for compliance. I think it would be difficult to reverse engineer to that level.

The easier thing to do would be to delay enumeration.