makomk
|
|
July 26, 2012, 02:06:26 AM |
|
OK, this may sound like a very strange question, but what precisely is connected to pin A4 of the four XC6SLX150s? Particularly on FPGA2/3?
|
Quad XC6SLX150 Board: 860 MHash/s or so. SIGS ABOUT BUTTERFLY LABS ARE PAID ADS
|
|
|
yohan (OP)
|
|
July 26, 2012, 08:25:37 AM Last edit: July 26, 2012, 09:14:21 AM by yohan |
|
Do not flash the glasswalker controller version befor you have flashed the new bitstream (still not available)
You will lost the Jtag chain and you can't flash with the VM anymore!
You can't flash back the controller version to rev. 1.3!
God thanks i have a jtag cable, with that i was able to flash back rev. 1.3
eb
Ok what I should have said, or done, is that dip switches have changed a little again. Programming mode is still available but you need to set a dip switch to enable it. This because we are using all 4 ports now as com ports so the function needs to be changed over to use programming modes. If you happen to be using an external programming cable there is now an automatic clock shutdown whilst the JTAG chain is running. It's not 100% perfect yet and you can still force clock shutdown using SWITCH3. Here is the info.
|
|
|
|
misternoodle
Member
Offline
Activity: 108
Merit: 10
|
|
July 26, 2012, 12:38:35 PM |
|
Yohan - What about the bitstream that goes along with the controller update?
|
|
|
|
makomk
|
|
July 26, 2012, 12:46:36 PM |
|
OK, ebereon seems to reckon this works so let's give it a go. http://www.makomk.com/~aidan/makomk_icarus_cm1_20120726.zip contains two Icarus-style bitstreams clocked at 140 MHz and 150MHz that should run on all the FPGAs of the Cairnsmore1, effectively turning it into a pair of slightly slow (280 Mhash/sec each) Icarus-like boards that you can use on your existing miners. The 150 MHz one's untested so I'd recommend starting with the 140 MHz bitstream. 560 MHash/sec per Cairnsmore1's certainly not all that bad. You want the normal (non-Glasswalker2-alpha) controller for this. Set SW1 and SW6 according to the "Twin Build (Icarus)" diagram on http://www.enterpoint.co.uk/cairnsmore/cairnsmore1_support_materials.html and SW2/3/4/5 according to the "Initial Shipping Build (low performance) diagram. Load firmware, start your mining software and cross your fingers. Source code is... ahahahahah. It's included as required by the license, but unfortunately a lot of undocumented manual fiddling is required to get from there to the bitstreams.
|
Quad XC6SLX150 Board: 860 MHash/s or so. SIGS ABOUT BUTTERFLY LABS ARE PAID ADS
|
|
|
ebereon
|
|
July 26, 2012, 12:54:28 PM |
|
OK, ebereon seems to reckon this works so let's give it a go. http://www.makomk.com/~aidan/makomk_icarus_cm1_20120726.zip contains two Icarus-style bitstreams clocked at 140 MHz and 150MHz that should run on all the FPGAs of the Cairnsmore1, effectively turning it into a pair of slightly slow (280 Mhash/sec each) Icarus-like boards that you can use on your existing miners. The 150 MHz one's untested so I'd recommend starting with the 140 MHz bitstream. 560 MHash/sec per Cairnsmore1's certainly not all that bad. You want the normal (non-Glasswalker2-alpha) controller for this. Set SW1 and SW6 according to the "Twin Build (Icarus)" diagram on http://www.enterpoint.co.uk/cairnsmore/cairnsmore1_support_materials.html and SW2/3/4/5 according to the "Initial Shipping Build (low performance) diagram. Load firmware, start your mining software and cross your fingers. Source code is... ahahahahah. It's included as required by the license, but unfortunately a lot of undocumented manual fiddling is required to get from there to the bitstreams. Nice Makomk! The 150MH/s is also working =) Thanks! EDIT: To fast again... 150 one have some invalids. Let's wait a bit how it goes
|
|
|
|
Isokivi
|
|
July 26, 2012, 01:01:23 PM |
|
Oh boy, here we go again. Could the documentation get any more confusing ? I mean you post a controller but no bitstream to go with it, why ?
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
Isokivi
|
|
July 26, 2012, 01:05:43 PM |
|
OK, ebereon seems to reckon this works so let's give it a go. http://www.makomk.com/~aidan/makomk_icarus_cm1_20120726.zip contains two Icarus-style bitstreams clocked at 140 MHz and 150MHz that should run on all the FPGAs of the Cairnsmore1, effectively turning it into a pair of slightly slow (280 Mhash/sec each) Icarus-like boards that you can use on your existing miners. The 150 MHz one's untested so I'd recommend starting with the 140 MHz bitstream. 560 MHash/sec per Cairnsmore1's certainly not all that bad. You want the normal (non-Glasswalker2-alpha) controller for this. Set SW1 and SW6 according to the "Twin Build (Icarus)" diagram on http://www.enterpoint.co.uk/cairnsmore/cairnsmore1_support_materials.html and SW2/3/4/5 according to the "Initial Shipping Build (low performance) diagram. Load firmware, start your mining software and cross your fingers. Source code is... ahahahahah. It's included as required by the license, but unfortunately a lot of undocumented manual fiddling is required to get from there to the bitstreams. Controller 1.2 or 1.3 ?
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
ebereon
|
|
July 26, 2012, 01:10:17 PM |
|
1.3 is tested by me.
|
|
|
|
Glasswalker
|
|
July 26, 2012, 01:28:24 PM |
|
Quick update, I'll push up the bitstream file later tonight. I have yet to test my bitstream with this new controller from Enterpoint (before now I was only able to get it running stable on one position at 175Mhz). So I will test it as soon as I get home tonight (probably not until about 8pm EST) and as long as I can get 1+hr of 175Mhz on 3 of the positions I'll push the .bit file up.
As I posted in the bounty thread, I'm also working on further improvements on the bitstream (I'm re-writing the UART core from scratch to toss out the "flaky" one that ngzhang used in the icarus bitstream).
Anyway, so provided my test goes well, I'll have this bitstream out later tonight. Sorry for the delay folks.
After this release I'll continue on my next iteration of improvements, in this version it will be a 150Mhz build which should have many improvements (which could be installed in the poorly performing slot for now) which I will then push up to 200Mhz through further timing optimization.
I'm also working to remove the need to use any third party tools besides Xilinx ISE to compile the bitstream, so in my final release, it should be fully buildable with only the base Xilinx ISE.
Thanks for your patience!
|
|
|
|
Isokivi
|
|
July 26, 2012, 01:38:12 PM |
|
1.3 is tested by me.
Thank you Does this refer to porogramming or running settings: " Set SW1 and SW6 according to the "Twin Build (Icarus)" diagram on http://www.enterpoint.co.uk/cairnsmore/cairnsmore1_support_materials.html and SW2/3/4/5 according to the "Initial Shipping Build (low performance) diagram. Load firmware, start your mining software and cross your fingers." ?
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
makomk
|
|
July 26, 2012, 02:08:59 PM |
|
I think you should be able to use those DIP settings for both programming and running the mining FPGAs.
|
Quad XC6SLX150 Board: 860 MHash/s or so. SIGS ABOUT BUTTERFLY LABS ARE PAID ADS
|
|
|
Isokivi
|
|
July 26, 2012, 02:10:59 PM Last edit: July 26, 2012, 02:29:04 PM by Isokivi |
|
I think you should be able to use those DIP settings for both programming and running the mining FPGAs. The programming failed, in controller rev 1.3 swich 6 needs to be in a different position to allow the spi flash, trying it now. [edit] failed again. [edit2] it's just me failing prolly, I swear the god I'll celebrate the day when I never ever have to touch those annoying dipswiches ever again. (have I mentioned I've positioned my boards and psu veri high and that I get to climb on a kitchen-stool every time I need to do anything on them?) [edit3] no, cant program with these settings, ebereon please jump in and tell me how you did it![edit4] hmm, perhaps my problem lies here (because i dont fully understand why the command should have 2 bitstreams: xc3sprog -c cm1 -p 0 -Ixc6lx150.bit makomk_icarus_cm1_150_test.bit
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
Glasswalker
|
|
July 26, 2012, 02:23:09 PM |
|
Ok, I've changed my mind... This is a little against my better judgement. I'm releasing the bitstream that accompanies the new glasswalker controller that enterpoint released. Keep in mind I have not tested this myself yet. I won't be able to do that until later tonight when I get home from work. I will confirm once I've done that. But if any of you who are a bit more technical want to dive in and flash this along with the new controller, and let me know how it works, I'd appreciate it. As Enterpoint said, it should work in 3 of the 4 positions. the 4th may or may not work, and may be flaky. It should mine stable at 175Mhash/s on the chips it does work on (I've tested it on one position for over 24h at a stable 175Mhash/s on my board). In the meantime Enterpoint is still poking at the problem from the controller side, and I'm re-writing the UART core entirely from scratch which should fully solve the problem, so between the two we should have a stable bitstream very soon. Then we can just worry about driving the hashrate up to the max attainable. Then following that I'll move my focus back to my 100% "from scratch" bitstream which should offer much improved performance. In addition, one last tidbit. I've begun work on a "from scratch" opensource version of the controller bitstream as well, with some advanced features. That should both be useful for this bitstream, and my future, but also having the opensource controller out there should help any other developers with this in the future. That one is a ways off though, it's low priority and I'm only working on it in my down cycles between the other bitstream work. Oh and I missed the final bit, I've forked off MPBM as I prefer it to cgminer. I have added cairnsmore support to it in the form of a custom module. It's still reporting hashrate wrong, but I hope to fix that soon. This version of MPBM was tested with this released bitstream. Here is the link to the bitstream: http://www.btcsyn.com/bitstreams/glasswalker_untested.zipHere is the link to MPBM github: https://github.com/pmumby/Modular-Python-Bitcoin-Miner(you want the "testing" branch) Let me know how these work for you.
|
|
|
|
gigantic
Member
Offline
Activity: 89
Merit: 10
|
|
July 26, 2012, 02:24:16 PM |
|
I think you should be able to use those DIP settings for both programming and running the mining FPGAs. The programming failed, in controller rev 1.3 swich 6 needs to be in a different position to allow the spi flash, trying it now. [edit] failed again. [edit2] it's just me failing prolly, I swear the god I'll celebrate the day when I never ever have to touch those annoying dipswiches ever again. (have I mentioned I've positioned my boards and psu veri high and that I get to climb on a kitchen-stool every time I need to do anything on them?) [edit3] no, cant program with these settings, ebereon please jump in and tell me how you did it!i have the same problem, any advice? (plain simple on a big wood table here)
|
|
|
|
ebereon
|
|
July 26, 2012, 02:31:22 PM Last edit: July 27, 2012, 02:32:45 PM by ebereon |
|
HowTo for Makomk bitstream 140: Controller rev. 1.3 is tested be me. Please update to it and don't forget a powerdown after flashing it.
For temporary mode: SW1 #3 off others on SW6 #1 off others on
SW2 and SW5 all on SW3 and SW4 #2 off others on
When you have these settings, the LED from the controller is no more flashing, it's on or off completely. EDIT: if it is still flashing, something is wrong and you will get errors.
Then flash it with this command: xc3sprog -c cm1 -p0 BitstreamFileHere.bit xc3sprog -c cm1 -p1 BitstreamFileHere.bit xc3sprog -c cm1 -p2 BitstreamFileHere.bit xc3sprog -c cm1 -p3 BitstreamFileHere.bit
This is all, now switch SW1 #3 on again.
I hope it helps a bit. eb
|
|
|
|
Isokivi
|
|
July 26, 2012, 02:32:38 PM |
|
Quick update, I'll push up the bitstream file later tonight. I have yet to test my bitstream with this new controller from Enterpoint (before now I was only able to get it running stable on one position at 175Mhz). So I will test it as soon as I get home tonight (probably not until about 8pm EST) and as long as I can get 1+hr of 175Mhz on 3 of the positions I'll push the .bit file up.
As I posted in the bounty thread, I'm also working on further improvements on the bitstream (I'm re-writing the UART core from scratch to toss out the "flaky" one that ngzhang used in the icarus bitstream).
Anyway, so provided my test goes well, I'll have this bitstream out later tonight. Sorry for the delay folks.
After this release I'll continue on my next iteration of improvements, in this version it will be a 150Mhz build which should have many improvements (which could be installed in the poorly performing slot for now) which I will then push up to 200Mhz through further timing optimization.
I'm also working to remove the need to use any third party tools besides Xilinx ISE to compile the bitstream, so in my final release, it should be fully buildable with only the base Xilinx ISE.
Thanks for your patience!
I'll gladly start testing this if you can give me the dipswich settings and make sure my command: xc3sprog -c cm1 -p 0 -Ixc6lx150.bit new bitstream neme here .bit is correct
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
Isokivi
|
|
July 26, 2012, 02:44:55 PM |
|
HowTo for Makomk bitstream 140: Controller rev. 1.3 is tested be me. Please update to it and don't forget a powerdown after flashing it.
For temporary mode: SW1 #3 off others on SW6 all on
SW2 and SW5 all on SW3 and SW4 #2 off others on
When you have these settings, the LED from the controller is no more flashing, it's on or off completely. EDIT: if it is still flashing, something is wrong and you will get errors.
Then flash it with this command: xc3sprog -c cm1 -p0 BitstreamFileHere.bit xc3sprog -c cm1 -p1 BitstreamFileHere.bit xc3sprog -c cm1 -p2 BitstreamFileHere.bit xc3sprog -c cm1 -p3 BitstreamFileHere.bit
This is all, now switch SW1 #3 on again.
I hope it helps a bit. eb
Thank you I am however attempting to do a permanent flash because my physical setup makes cycling power on individual boards nearly impossible and becase of this yor guide results in the same 2bitfile propably not loaded" Ive been seeing so far. [edit] swapping switch 6 off like the controller 1.3 picture says is not the solution.
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
ebereon
|
|
July 26, 2012, 02:48:34 PM |
|
Isokivi,
is the LED on the controller flashing/blinking? Or is it off or on permanently? With my dip settings?
|
|
|
|
Glasswalker
|
|
July 26, 2012, 02:53:12 PM |
|
For those of you looking for documentation, Yohan posted the dipswitch settings for the new controller. So the vague steps look like this:
- Use Enterpoint instructions for controller update, update to "Glasswalker" controller from them - Use new dipswitch settings posted by Yohan to put board into update mode (selecting internal jtag) - Power cycle the board with these new dipswitch settings (and disconnect USB) - Connect USB - Use enterpoint commandlines to flash the 4x matrix chips (from original document) using the .bit file I posted (in the zip). - Be sure to flash the SPI. - Return dipswitches to enable clock (not programming mode) and set the clock to 25Mhz (this is important). - Power cycle the board (and disconnect USB) - Reconnect USB - Connect to the boards at 57600baud on all 4 serial ports detected by windows - Mine
This is vague I know, as I said I have not tested this new controller yet, and my board is at home. Later tonight I will test specific instructions, verify they work, and then post the detailed instructions. Hopefully someone else with higher technical expertise can use these steps and get it working and post a more detailed howto.
I usually use a jtag cable to flash it, as I find it FAR simpler and faster than the USB method. But I'll verify the USB method when I get home.
Hope that helps.
|
|
|
|
Isokivi
|
|
July 26, 2012, 02:53:40 PM |
|
Isokivi,
is the LED on the controller flashing/blinking? Or is it off or on permanently? With my dip settings?
It is on, constantly. Could you take a look at the command im pounding in, I guess the problem lies there. xc3sprog -c cm1 -p 0 -Ixc6lx150.bit makomk_icarus_cm1_150_test.bit
|
Bitcoin trinkets now on my online store: btc trinkets.com <- Bitcoin Tiepins, cufflinks, lapel pins, keychains, card holders and challenge coins.
|
|
|
|