Bitcoin Forum
September 08, 2024, 05:36:09 AM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
27.1
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Local
>
中文 (Chinese)
>
挖矿
>
贝壳ASIC芯片cgminer驱动及验证
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: 贝壳ASIC芯片cgminer驱动及验证 (Read 1697 times)
binarier
(OP)
Newbie
Offline
Activity: 17
Merit: 0
贝壳ASIC芯片cgminer驱动及验证
October 13, 2013, 04:01:32 PM
#1
贝壳芯片对应的cgminer版本可以在
https://github.com/binarier/cgminer
看到。
这是原版cgminer的fork,加入了我们的driver-clam,可以在configure时使用--enable-clam激活。
我们公布驱动源码,一方面是cgminer的GPLv3的license要求,另一方面我们也希望尽早和各位矿友交流,看看还有什么要改进的地方。
如果你手头正好有KC705评估板,那可以刷我们的固件来先行尝试一下贝壳芯片的驱动,更欢迎给我们提出改进的方案。
我们的验证方案是两块FPGA块,按双FPGA双核来设计的。
两块板的bitstream可以下载:
http://www.clambtc.com/talk/final.dual.100M.rar
http://www.clambtc.com/talk/aa001.png
如上图所示,贝壳芯片以串口协议链式部署,每个芯片分别有上行和下行的7PIN端口。其中第一片的上行端口中的串行部分与主机通过usb-uart-bridge连接,最后一片的信号部分自行回路。
http://www.clambtc.com/talk/aa002.png
在我们的FPGA板上,由于KC705没有提供外接的GPIO pin,所以板间互联的7跟信号线需要借用KC705上的LCD面板连接器,要把LCD面板拆了。LCD的接口通过一片8位双向电平转换器,把1.5V转成3.3V,与FPGA的引脚相连,所以我们可以直接使用这正好7根引脚,如下图所示:
http://www.clambtc.com/talk/aa003.png
把两块板对位的七根PIN使用飞线连接起来,就形成了我们的双芯片互联验证模型,如下图所示:。
http://www.clambtc.com/talk/aa004.jpg
http://www.clambtc.com/talk/aa005.jpg
把第一块板的串口线连接到主机,等linux系统认到usb-uart设备,默认情况下会生成一个/dev/ttyUSB0设备,视linux系统的不同,注意设备的权限。
进入编译好的cgminer目录,使用下面的命令启动。这里我们指定了每芯片最多检测2个核心以节约启动时间,芯片数目可以自动检测。
http://www.clambtc.com/talk/aa006.png
正常运行时的状态:
http://www.clambtc.com/talk/aa007.jpg
kmtan
Full Member
Offline
Activity: 196
Merit: 100
I love Bitcoin
Re: 贝壳ASIC芯片cgminer驱动及验证
October 13, 2013, 04:10:35 PM
#2
专业的帖子。。学习了
Peatio.com * 貔貅交易所 * 开源 * 全民拥有的交易所
innovation
Sr. Member
Offline
Activity: 280
Merit: 250
Re: 贝壳ASIC芯片cgminer驱动及验证
October 14, 2013, 05:59:23 AM
#3
Quote from: binarier on October 13, 2013, 04:01:32 PM
贝壳芯片对应的cgminer版本可以在
https://github.com/binarier/cgminer
看到。
这是原版cgminer的fork,加入了我们的driver-clam,可以在configure时使用--enable-clam激活。
我们公布驱动源码,一方面是cgminer的GPLv3的license要求,另一方面我们也希望尽早和各位矿友交流,看看还有什么要改进的地方。
如果你手头正好有KC705评估板,那可以刷我们的固件来先行尝试一下贝壳芯片的驱动,更欢迎给我们提出改进的方案。
我们的验证方案是两块FPGA块,按双FPGA双核来设计的。
两块板的bitstream可以下载:
http://www.clambtc.com/talk/final.dual.100M.rar
如上图所示,贝壳芯片以串口协议链式部署,每个芯片分别有上行和下行的7PIN端口。其中第一片的上行端口中的串行部分与主机通过usb-uart-bridge连接,最后一片的信号部分自行回路。
在我们的FPGA板上,由于KC705没有提供外接的GPIO pin,所以板间互联的7跟信号线需要借用KC705上的LCD面板连接器,要把LCD面板拆了。LCD的接口通过一片8位双向电平转换器,把1.5V转成3.3V,与FPGA的引脚相连,所以我们可以直接使用这正好7根引脚,如下图所示:
把两块板对位的七根PIN使用飞线连接起来,就形成了我们的双芯片互联验证模型,如下图所示:。
把第一块板的串口线连接到主机,等linux系统认到usb-uart设备,默认情况下会生成一个/dev/ttyUSB0设备,视linux系统的不同,注意设备的权限。
进入编译好的cgminer目录,使用下面的命令启动。这里我们指定了每芯片最多检测2个核心以节约启动时间,芯片数目可以自动检测。
正常运行时的状态:
希望早日成功。早日进入市场。
tarkus
Newbie
Offline
Activity: 4
Merit: 0
⇾
Re: 贝壳ASIC芯片cgminer驱动及验证
January 16, 2014, 05:13:48 PM
#4
图没了 看不到启动命令
我尝试在linux下编译cgminer(with --enable-clam),能看到hashrate但是没有提交的share是怎么回事?
有没有编译好的的cgminer?
Pages: [
1
]
Print
Bitcoin Forum
>
Local
>
中文 (Chinese)
>
挖矿
>
贝壳ASIC芯片cgminer驱动及验证
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...