Post
Topic
Board Mining support
Re: [GUIDE] GridSeed GC3355 5 Chip Setup/power/windows/linux/rpi by UnicornHasher
by
D4rkAng3l
on 07/06/2014, 09:56:25 UTC
Hello to everybody,

I have 2 GridSeed and I am trying to install it on my RaspBerry (using RaspBian) following the instruction founded on this post but I am finding some problem.

I have download and build cgminer and cpuminer and it seems to me that this process gone ok (I had no error).

By ssh I done the following steps:

1) Enabled the root account:

Code:
sudo passwd root
***
***
exit

2) ssh back in as root and change the associated paths and groups:

Code:
usermod -l miner pi
usermod -m -d /home/miner miner
groupmod -n miner pi
exit

3) Builded cgminer:

Code:
git clone https://github.com/gridseed/usb-miner/
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
make

4) Builded cpuminer:

Code:
cd
cd usb-miner/software/cpuminer
./autogen.sh
./configure
make

Now my doubt are: where these softwares are installed? in the same directory where I builded it or where? I am not so sure that I have correctly installed the software because I have the following situation:

Into the cgminer direcotry I can find the following files:

Code:
miner@raspberrypi ~/download/miner/usb-miner/software/cgminer $ ls
01-cgminer.rules           config.h               hf_protocol_be.h
aclocal.m4                 config.h.in            hf_protocol.h
api.c                      config.log             INSTALL
API.class                  config.status          install-sh
api-example.c              config.sub             lib
api-example.php            configure              libtool
API.java                   configure.ac           linux-usb-cgminer
API-README                 COPYING                logging.c
arg-nonnull.h              depcomp                logging.h
ASIC-README                driver-avalon.c        ltmain.sh
AUTHORS                    driver-avalon.h        m4
autom4te.cache             driver-bab.c           Makefile
bench_block.h              driver-bflsc.c         Makefile.am
bitforce-firmware-flash.c  driver-bflsc.h         Makefile.in
bitstreams                 driver-bitforce.c      miner.h
ccan                       driver-bitfury.c       miner.php
c++defs.h                  driver-bitfury.h       missing
cgminer                    driver-gridseed.c      NEWS
cgminer-api.o              driver-gridseed.h      README
cgminer.c                  driver-hashfast.c      run.sh
cgminer-cgminer.o          driver-hashfast.h      sha2.c
cgminer-driver-gridseed.o  driver-icarus.c        sha2.h
cgminer-logging.o          driver-klondike.c      stamp-h1
cgminer-sha2.o             driver-knc-spi-fpga.c  usbutils.c
cgminer-usbutils.o         driver-modminer.c      usbutils.h
cgminer-util.o             elist.h                uthash.h
ChangeLog                  example.conf           util.c
compat                     FPGA-README            util.h
compat.h                   fpgautils.c            warn-on-use.h
compile                    fpgautils.h            windows-build.txt
config.guess               hexdump.c

and in the cpuminer directory I have:

Code:
miner@raspberrypi ~/download/miner/usb-miner/software/cpuminer $ ls
aclocal.m4      configure.ac          Makefile.am          nomacro.pl
AUTHORS         COPYING               Makefile.in          README
autogen.sh      cpu-miner.c           minerd               run.sh
autom4te.cache  cpuminer-config.h     minerd.1             scrypt-arm.S
ChangeLog       cpuminer-config.h.in  minerd-cpu-miner.o   scrypt.c
compat          depcomp               minerd-scrypt-arm.o  scrypt-x64.S
compat.h        elist.h               minerd-scrypt.o      scrypt-x86.S
compile         example-cfg.json      minerd-sha2-arm.o    sha2-arm.S
config.guess    gc3355.h              minerd-sha2.o        sha2.c
config.log      INSTALL               minerd-util.o        sha2-x64.S
config.status   install-sh            miner.h              sha2-x86.S
config.sub      LICENSE               missing              stamp-h1
configure       Makefile              NEWS                 util.c

Why I still have the source .c file? Is it all ok?

Now what have I to do to start mining with my raspberry? What am I missing?

Tnx
Andrea