Darn indeed. 1073741823 is 3FFFFFFF so I'm guessing that the problem is in the JTAG interface (just like the 150MHz version that was reporting 26MHz for the clock frequency instead of 50Mhz). It would be useful to know if the "working" build is reporting the correct clock frequency on readback (and what the max working freq is). I'll do that 100Mhz build anyway as it may be some weird effect of the initial DCM clock which is breaking it so it may just work.
So it looks like I'm going to have to debug the JTAG on my lancelot after all. That's going to be quite challenging (I'll need to swap out the ft232 driver and write a custom one to drive the Xilinx platform cable, luckily its a parallel port so no reverse engineering needed). This is going to take all week I expect. In the meantime I'll tinker with the code a bit more if you don't mind doing an occasional test run.
Sure.
It looks like the max freq using "X6500-Robust-v02-fmax-100MHz.bit" is 63MHz. If I try 64MHz the reported freq is 4294967295MHz and the miner sits idle.
63MHz
python mine.py -d 0 -u 127.0.0.1:8772 -w
2013-10-29 10:52:02 | Device 0 opened (A5VNUHQI)
2013-10-29 10:52:02 | Discovering FPGA 0...
2013-10-29 10:52:03 | 0: Waking up...
2013-10-29 10:52:03 | Found 1 device:
2013-10-29 10:52:03 | FPGA0: Spartan 6 LX150 - Firmware: rev 4, build 2
2013-10-29 10:52:03 | Discovering FPGA 1...
2013-10-29 10:52:03 | 1: Waking up...
2013-10-29 10:52:03 | Found 1 device:
2013-10-29 10:52:03 | FPGA1: Spartan 6 LX150 - Firmware: rev 4, build 2
2013-10-29 10:52:03 | Connected to 2 FPGAs
2013-10-29 10:52:03 | FPGA 0 is running at 63MHz
2013-10-29 10:52:03 | FPGA 1 is running at 63MHz
2013-10-29 10:52:03 | Connecting to server...
2013-10-29 10:52:03 | Connected to server
2013-10-29 10:52:03 | 0: Clearing queue...
2013-10-29 10:52:03 | 0: Queue cleared
2013-10-29 10:52:03 | 1: Clearing queue...
2013-10-29 10:52:03 | 1: Queue cleared
2013-10-29 10:52:03 | 0: Loading new job...
2013-10-29 10:52:03 | 0: Writing job...
0 kH/s | 0: 0/0/0 0.0%/0.0% | 1: 0/0/0 0.0%/0.0% | 0s | A5VNUHQImidstatehex= 85ec95d2225efa11ba88549c5ffe00f6997452c7ba5e754fd7aab0e4219f0555
2013-10-29 10:52:03 | 0: Job data loaded in 0.033 seconds
2013-10-29 10:52:03 | 1: Loading new job...
2013-10-29 10:52:03 | 1: Writing job...
0 kH/s | 0: 0/0/0 0.0%/0.0% | 1: 0/0/0 0.0%/0.0% | 0s | A5VNUHQImidstatehex= 0e7414abac0cc8a9cbeb1eb17a70fb26d1858f2672fcdd427425e605f6106445
2013-10-29 10:52:03 | 1: Job data loaded in 0.034 seconds
2013-10-29 10:52:04 | 1: Golden nonce found
0 kH/s | 0: 0/0/0 0.0%/0.0% | 1: 0/0/0 0.0%/0.0% | 0s | A5VNUHQIhrnonce= 0ae22a02
hash 2e26b4505f64b31fc7ed5cf8dec4d7d69f615d8a712758e79bb3db6600000000
2013-10-29 10:52:04 | 1: rejected 22ae20a
2013-10-29 10:52:04 | Exiting...
64MHz
python mine.py -d 0 -u 127.0.0.1:8772 -w
2013-10-29 10:53:19 | Device 0 opened (A5VNUHQI)
2013-10-29 10:53:19 | Discovering FPGA 0...
2013-10-29 10:53:19 | 0: Waking up...
2013-10-29 10:53:20 | Found 1 device:
2013-10-29 10:53:20 | FPGA0: Spartan 6 LX150 - Firmware: rev 4, build 2
2013-10-29 10:53:20 | Discovering FPGA 1...
2013-10-29 10:53:20 | 1: Waking up...
2013-10-29 10:53:20 | Found 1 device:
2013-10-29 10:53:20 | FPGA1: Spartan 6 LX150 - Firmware: rev 4, build 2
2013-10-29 10:53:20 | Connected to 2 FPGAs
2013-10-29 10:53:20 | FPGA 0 is running at 4294967295MHz
2013-10-29 10:53:20 | FPGA 1 is running at 4294967295MHz
2013-10-29 10:53:20 | Connecting to server...
2013-10-29 10:53:20 | Connected to server
2013-10-29 10:53:20 | 0: Clearing queue...
2013-10-29 10:53:20 | 0: Queue cleared
2013-10-29 10:53:20 | 1: Clearing queue...
2013-10-29 10:53:20 | 1: Queue cleared
2013-10-29 10:53:20 | 0: Loading new job...
2013-10-29 10:53:20 | 0: Writing job...
0 kH/s | 0: 0/0/0 0.0%/0.0% | 1: 0/0/0 0.0%/0.0% | 0s | A5VNUHQImidstatehex= f9983e6cb09838fafe641039c362c67c99975071a4d9ea0d941677b882ff8510
2013-10-29 10:53:20 | 0: Job data loaded in 0.032 seconds
2013-10-29 10:53:20 | 1: Loading new job...
2013-10-29 10:53:20 | 1: Writing job...
0 kH/s | 0: 0/0/0 0.0%/0.0% | 1: 0/0/0 0.0%/0.0% | 0s | A5VNUHQImidstatehex= 0e84ed3510722967eb1ffbef4935355cb1c23b8c1d228cea803b807db04d04b3
2013-10-29 10:53:20 | 1: Job data loaded in 0.033 seconds
2013-10-29 10:53:21 | Exiting...