Pages:
Author

Topic: [GUIDE] GridSeed 5-Chip USB, Blade & Black Miner Support/Tuning - page 79. (Read 308807 times)

hero member
Activity: 662
Merit: 500
So is there any way to control the fans? (cgminer, wiibox...?) automatically or even manually?
sr. member
Activity: 434
Merit: 265
How to get Scripta working as it was intended

....

thx a lot .. will update this ... :-)
member
Activity: 84
Merit: 14
Has anyone figured out how to overvolt yet?  I see this in the gridseed driver...

typedef struct s_gridseed_info {
   enum sub_ident   ident;
   uint32_t   fw_version;
   struct timeval   scanhash_time;
   int      nonce_count[8];  // per chip
   int      error_count[8];  // per chip
   // options
   int      baud;
   int      freq;
   unsigned char   freq_cmd[8];
   int      chips; //chips per module
   int      voltage;
   int      per_chip_stats;
}
Aand later on this method:

static void gc3355_increase_voltage(struct cgpu_info *gridseed) {
   uint32_t reg_value;

   // Put GPIOA pin 5 into general function, 50 MHz output.
   if (!gc3355_read_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_CRL_OFFSET, ®_value)) {
      applog(LOG_DEBUG, "Failed to read GPIOA CRL register from %i", gridseed->device_id);
      return;
   }
   reg_value = (reg_value & 0xff0fffff) | 0x00300000;
   if (!gc3355_write_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_CRL_OFFSET, reg_value)) {
      applog(LOG_DEBUG, "Failed to write GPIOA CRL register from %i", gridseed->device_id);
      return;
   }

   // Set GPIOA pin 5 high.
   if (!gc3355_read_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_ODR_OFFSET, ®_value)) {
      applog(LOG_DEBUG, "Failed to read GPIOA ODR register from %i", gridseed->device_id);
      return;
   }
   reg_value |= 0x00000020;
   //reg_value &= 0xFFFFFFDF;
   if (!gc3355_write_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_ODR_OFFSET, reg_value)) {
      applog(LOG_DEBUG, "Failed to write GPIOA ODR register from %i", gridseed->device_id);
      return;
   }
}

Looks to me like we pass an int as the argument voltage and it will add it to the base voltage value(which i think is set to 0, if I'm reading the header right), maybe?  But then it also says gpio(general purpose input output?), which is usually a general purpose pin header on the pcb itself, right?  I'm no developer/hardware engineer, anyone want to comment?

You can set voltage=1 in your config, but it turns out that will actually lower the core voltage.
member
Activity: 108
Merit: 10
How to get Scripta working as it was intended

Follow the instructions by Darkfriend77 below but when you get to step 6, go to directory opt/minepeon/bin and remove the original cgminer there (rm cgminer). Now copy the new cgminer into this folder to replace the original and chmod it as below.
Now go to directory opt/minepeon/startup and edit the file miner-start.sh with nano.
Change the line -
Code:
sudo /usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -c /opt/minepeon/etc/miner.conf
to
Code:
sudo /usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer --scrypt --no-submit-stale --gridseed-options=baud=115200,freq=850 -c /opt/minepeon/etc/miner.conf
Lastly apply the stability fix.
Now you can close ssh and restart your pi and it should automatically fire up your gridseeds and start mining.

Step by Step Raspberry SCRIPTA Installation:



  • 1 - SD Formatter (link) clean up your SD Card. At least a 4GB SD.
  • 2 - Download the SCRIPTA Image (link)
  • 3 - Win 32 Disk Imager (link) and write the scripta image on the SD Card.
  • 4 - Put the SD Card into your Raspberry.
  • 5 - SSH access on port 7722, user: root / psw: scripta
  • 6 - Use WinSCP (link) to move over the latest rasp cgminer for gridseed (https://db.tt/UygLkqwd) or Use PuTTY (link)
Code:
wget https://db.tt/UygLkqwd -O cgminer
  • 7 - Go to the location where you copied over your cgminer and do "chmod 777 cgminer"
  • 8 - Go to the SCRIPTA Web GUI, under Miner hit Miner commands, STOP
  • 9 - Go to the location where you copied over your cgminer and run it from there using these commands:
Code:
./cgminer --scrypt -o  -u  -p  --gridseed-options=baud=115200,freq=850

    Stability-Fix:
    Code:
    sudo nano /boot/cmdline.txt
    Add the following code at the end of the first line (on the same line as the other text, DO NOT add new line!)
    Code:
    slub_debug=FP

    Orginal Sources from: https://litecointalk.org/index.php?topic=9908.0
    legendary
    Activity: 3654
    Merit: 8909
    https://bpip.org
    What raspi are you guys using? I've never used one but contemplating it now.  If someone could provide an amazon link that would be great.

    I bought this one:
    http://www.amazon.com/CanaKit-Raspberry-Basic-Clear-Supply/dp/B00DG9D6IK

    Includes power supply and case. If you don't need a case and have a spare micro-USB power supply, you can get a bare board for ~$40.

    You will also need an SDHC card (full size, not micro), 8GB or larger.
    member
    Activity: 99
    Merit: 10
    https://bitcointalksearch.org/topic/m.5635210

    Any thoughts of how to raise the usb limit in linux above 99?
    legendary
    Activity: 784
    Merit: 1000
    Has anyone figured out how to overvolt yet?  I see this in the gridseed driver...

    typedef struct s_gridseed_info {
       enum sub_ident   ident;
       uint32_t   fw_version;
       struct timeval   scanhash_time;
       int      nonce_count[8];  // per chip
       int      error_count[8];  // per chip
       // options
       int      baud;
       int      freq;
       unsigned char   freq_cmd[8];
       int      chips; //chips per module
       int      voltage;
       int      per_chip_stats;
    }
    Aand later on this method:

    static void gc3355_increase_voltage(struct cgpu_info *gridseed) {
       uint32_t reg_value;

       // Put GPIOA pin 5 into general function, 50 MHz output.
       if (!gc3355_read_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_CRL_OFFSET, ®_value)) {
          applog(LOG_DEBUG, "Failed to read GPIOA CRL register from %i", gridseed->device_id);
          return;
       }
       reg_value = (reg_value & 0xff0fffff) | 0x00300000;
       if (!gc3355_write_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_CRL_OFFSET, reg_value)) {
          applog(LOG_DEBUG, "Failed to write GPIOA CRL register from %i", gridseed->device_id);
          return;
       }

       // Set GPIOA pin 5 high.
       if (!gc3355_read_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_ODR_OFFSET, ®_value)) {
          applog(LOG_DEBUG, "Failed to read GPIOA ODR register from %i", gridseed->device_id);
          return;
       }
       reg_value |= 0x00000020;
       //reg_value &= 0xFFFFFFDF;
       if (!gc3355_write_register(gridseed, GRIDSEED_GPIOA_BASE + GRIDSEED_ODR_OFFSET, reg_value)) {
          applog(LOG_DEBUG, "Failed to write GPIOA ODR register from %i", gridseed->device_id);
          return;
       }
    }

    Looks to me like we pass an int as the argument voltage and it will add it to the base voltage value(which i think is set to 0, if I'm reading the header right), maybe?  But then it also says gpio(general purpose input output?), which is usually a general purpose pin header on the pcb itself, right?  I'm no developer/hardware engineer, anyone want to comment?
    full member
    Activity: 182
    Merit: 100
    What raspi are you guys using? I've never used one but contemplating it now.  If someone could provide an amazon link that would be great.

    EDIT: Also there is no way to use the lightningasic update for the gridseeds at this moment because the chip used for usb communication is different.  I guess only time will tell if we will get updates on these.
    member
    Activity: 85
    Merit: 10
    My gridseed miner uses ST32 Virtual COM Port, and at the moment cgminer-3.7.2 doesn't detect the device. I've updated its driver by zadig, but still no luck. What is the solution to this?

    Use a Rasberypi and linux

    I've been thinking that. Which brand of Linux would you recommend?

    About halfway down this page there is a post on how to set it up on the Pi. I did it earlier today and it worked excellent.


    https://bitcointalk.org/index.php?topic=482352.420
    newbie
    Activity: 38
    Merit: 0
    My gridseed miner uses ST32 Virtual COM Port, and at the moment cgminer-3.7.2 doesn't detect the device. I've updated its driver by zadig, but still no luck. What is the solution to this?

    Use a Rasberypi and linux

    I've been thinking that. Which brand of Linux would you recommend?
    hero member
    Activity: 857
    Merit: 1000
    Anger is a gift.
    My gridseed miner uses ST32 Virtual COM Port, and at the moment cgminer-3.7.2 doesn't detect the device. I've updated its driver by zadig, but still no luck. What is the solution to this?

    Unplug the power from your hub, start cgminer, and plug the power back in your hub. I have 20 running in cgminer 3.7.2 and that is the only way to get the to work. Chang hotplug in your bat file to 5.
    member
    Activity: 85
    Merit: 10
    My gridseed miner uses ST32 Virtual COM Port, and at the moment cgminer-3.7.2 doesn't detect the device. I've updated its driver by zadig, but still no luck. What is the solution to this?

    Use a Rasberypi and linux
    newbie
    Activity: 38
    Merit: 0
    My gridseed miner uses ST32 Virtual COM Port, and at the moment cgminer-3.7.2 doesn't detect the device. I've updated its driver by zadig, but still no luck. What is the solution to this?
    member
    Activity: 85
    Merit: 10
    Just curious what everyone is seeing for the speed on a single gridseed scrypt at the pool. As in if it is showing 360 on CGMiner what are you seeing at the pool on average?
    full member
    Activity: 182
    Merit: 100
    Anyone tried to flash the firmware of the miners? I've read the manual from LA but it looks like something I wouldn't want to just "try" for fun Smiley

    So far I can't find out which firmware is on the gridseeds anyway so can't see if I can upgrade anything.

    I'd be willing to give the firmware flash a go. Gota link? I've looked everywhere and have not been able to find any info on a firmware update for these things.

    http://www.diffpair.com/lightningasic/

    Which is the link that LA provided with the firmware stuff. Got it from this post: https://bitcointalksearch.org/topic/lightningasic-usb-miners-based-gridseed-gc3355-tech-support-thread-477709

    (and here confirmed that it's from LA: https://bitcointalksearch.org/topic/lightningasic-la100m100mhs-scrypt-miner-usd1999-la1ths-usd1750shipped-out-421921)

    I tried to flash the firmware on my gridseeds but couldn't get it to install the included driver.  I had to take the heatsink off so that I can get to what I assume is the same "white" button the documentation refers to.  It then proceeds to show up as an unknown usb device under windows but I can't go any further than this.

    EDIT: I only say this because of the following:

    sr. member
    Activity: 378
    Merit: 250
    A shot of my 30 Gridseeds up and running. All clocked to 850Mhz, getting about 11Mh/sec out of it, running cpuminer/batch files.
    When I put it together I wanted the choice of mining other sha256 coins. I will probably forget about that thought and switch to standard atx PSU when cables are available. I left all of the fans in place in case I did want to mine non-scrypt and also did not want to mess with putting them back if I sell these. I am using (3) Rosewill RHB-500 USB hubs, loaded with 10 on each. This includes a 4A power supply and have been working great.

    Not a bad cost effective solution using (3) modular storage racks that lock together. $5.88 each. Some wire holding pus's in place and double sided tape on the hubs.



    Nice rig!
    Why 6 psu's though?
    I mean, each PSU is designed to handle 10 GS5's.
    Especially now that you're running Scrypt only.
    You barely need one psu for the whole smash! Wink
    Wish I was hashing at 11MH/s! Makes me envious! Embarrassed
    Wolfey2014
    legendary
    Activity: 1270
    Merit: 1000
    I have two wiibox controllers available if anyone is interested.

    Just the controllers and the wall plug. You will need a USB 2.0 A Male to Micro B (5-Pin) cable to connect the wiibox to the wall plug.

    Paid $100 each so make me an offer Smiley

    Sorry if it is bad form to post this here...will delete if it is.
    sr. member
    Activity: 462
    Merit: 250
    Using a GPU rig which is off to the side

    17,414.75 KH/s  415,232   5,248

    Cant wait to get the other 45 plugged in.

    Kindve high stales. Gonna restart everything for the first time here in a bit. been running for 5+ hours just fine.
    newbie
    Activity: 24
    Merit: 0
    https://i.imgur.com/yG8eYb9.jpg

    Only 35 running right now and 60 of the total 80 i will have. Need more barrel plugs the chinese vendor screwed up  Sad

    Total   16,595.46 KH/s   Shares:1,760,128/14,464/0/0/0

    35 gridseeds @ 850 + 8 r9 280x's

    Nice work chap, will be good once they are all powered. What controller are you using? 
    sr. member
    Activity: 462
    Merit: 250


    Only 35 running right now and 60 of the total 80 i will have. Need more barrel plugs the chinese vendor screwed up  Sad

    Total   16,595.46 KH/s   Shares:1,760,128/14,464/0/0/0

    35 gridseeds @ 850 + 8 r9 280x's
    Pages:
    Jump to: