Bitcoin Forum

Other => Beginners & Help => Topic started by: Reebzy on January 03, 2014, 08:43:07 PM



Title: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: Reebzy on January 03, 2014, 08:43:07 PM
Hi all - I need help building the custom cgminer to run the new Antminer U1 USB ASIC. I have attempted to pull from GitHub and build according to Unix instructions, but I'm getting a plethora of errors. Most notably, I can't even get ./autogen.sh finishing successfully. The most common error I receive is:

Code:
checking dependency style of gcc... gcc3
./configure: line 4010: AC_PROG_LIBTOOL: command not found
./configure: line 4011: syntax error near unexpected token `Windows'
./configure: line 4011: `LT_LANG(Windows Resource)'
configure: error: ./configure failed for compat/libusb-1.0

Any help is appreciated.

This is the link to the custom cgminer I'm trying to make -- https://github.com/AntMiner/AntGen1/tree/master/cgminer


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: jdndndndx on January 03, 2014, 08:57:01 PM
Does Antminer U1 USB not work with http://spaceman.ca/cgminer/ and http://www.asteroidapp.com/?

Just wondering why you are building a custom cgminer.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: Reebzy on January 03, 2014, 11:01:53 PM
Correct, it does not work.

Only the custom cgminer provided by the AntGen team works with the device (so I'm lead to believe).


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: colinfx on January 03, 2014, 11:39:10 PM
I did get another cgminer working but it was only returning 0.5GMh/s instead of 1.6Gh/s per unit. I'm now overclocking them to 2.0Gh/s and so far without problems.

To get the full speed I had to compile and configure with "--enable-bmsc", this provided the full speed. I used the source as recommended from AntMiner.

I had a few errors along the way, primarily all related to missing libraries so I would advise you explore that area.

My installation was on to an old laptop running Ubuntu 12.x.

Good luck!

Cfx.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: Reebzy on January 04, 2014, 12:23:08 AM
Thanks for the reply. I'll spin up a VM with VirtualBox and give Ubuntu a try in the short term.

Were there any specific missing libraries that I should prepare for?


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: ScorpioCoin on January 04, 2014, 08:50:09 PM
Hi all - I need help building the custom cgminer to run the new Antminer U1 USB ASIC. I have attempted to pull from GitHub and build according to Unix instructions, but I'm getting a plethora of errors. Most notably, I can't even get ./autogen.sh finishing successfully. The most common error I receive is:

Code:
checking dependency style of gcc... gcc3
./configure: line 4010: AC_PROG_LIBTOOL: command not found
./configure: line 4011: syntax error near unexpected token `Windows'
./configure: line 4011: `LT_LANG(Windows Resource)'
configure: error: ./configure failed for compat/libusb-1.0

Any help is appreciated.

This is the link to the custom cgminer I'm trying to make -- https://github.com/AntMiner/AntGen1/tree/master/cgminer


Hey, please let me know if you can get it to work. I also purchased an Antminer and can't get it to full speed on OSX.
Sadly, I don't know enough about coding to help you.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: Reebzy on January 07, 2014, 02:23:28 AM
I was able to build a version of cgminer to get them working using Icarus drivers, but they do not run faster than 500MH/s. I'm waiting until they're officially supported, I suppose. I can't get anything else working.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: ScorpioCoin on January 07, 2014, 06:26:59 AM
They already work fine in asteroid at 500... Using boot camp at the moment to get most of it while I'm waiting for my raspberry pi as a solution.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: chopsticks on January 08, 2014, 09:36:42 AM
I got mine working at 1557 MH/s (1.56 GH/s essentially) by using BitMinter JAVA app on my MacBook PRO.

I had to download the drivers from http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx and reboot.
Prior to that I was only getting 300-something MH/s via Asteroid.

Have been happily hashing away for 24+ hours on BitMinter.  I ignored the messages in the log.  Saying something about nonce errors.
Ignorance is bliss?  Don't know what those errors were about but BitMinter is reporting a solid hash rate.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: nwoolls on January 10, 2014, 07:03:16 AM
Have been happily hashing away for 24+ hours on BitMinter.  I ignored the messages in the log.  Saying something about nonce errors.
Ignorance is bliss?  Don't know what those errors were about but BitMinter is reporting a solid hash rate.

The nonce errors you are ignoring mean you are losing about 36% performance. Don't use AntMiners with BitMinter until it supports them.


Title: Re: Building custom cgminer for OSX to support Antminer U1 USBs
Post by: chopsticks on January 10, 2014, 11:50:03 AM
The nonce errors you are ignoring mean you are losing about 36% performance. Don't use AntMiners with BitMinter until it supports them.

I was told a very similar thing (33%) on another forum.

Thanks for taking the time to advise me.  Much appreciated.