<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pad &amp; Tablet Engineering</title>
	
	<link>http://hardcoreforensics.com</link>
	<description>Pad &amp; Tablet Development &amp; Forensic Engineering</description>
	<lastBuildDate>Wed, 08 May 2013 22:24:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PadTabletmodification" /><feedburner:info uri="padtabletmodification" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Building a Bitcoin miner from Ebay Scrap, with possible option of litecoin conversion</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/1sJUHmk9iLg/</link>
		<comments>http://hardcoreforensics.com/blog/2013/05/08/building-a-bitcoin-miner-from-ebay-scrap-with-possible-option-of-litecoin-conversion/#comments</comments>
		<pubDate>Wed, 08 May 2013 02:16:23 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[PCB Design]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1816</guid>
		<description><![CDATA[I&#8217;m planning to do an article on how to convert Ebay scrap FPGA into bitcoin miners. Target cost is going to be about $100USD per 200MH/s (cost mostly on the ebay scrap) so in the case of this&#8230; 4 FPA rig.. It would only cost you $400usd!!!!! Now obviously it is not going to have [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p><img src="http://modminerquadstore.com/image/data/bitcoins.png" alt="SEO" /></p>
<p>I&#8217;m planning to do an article on how to convert Ebay scrap FPGA into bitcoin miners.</p>
<p>Target cost is going to be about $100USD per 200MH/s (cost mostly on the ebay scrap)<br />
so in the case of this&#8230;</p>
<p><a href="http://modminerquadstore.com/">4 FPA rig..</a></p>
<p>It would only cost you $400usd!!!!!</p>
<p>Now obviously it is not going to have the same &#8216;expert&#8217; polish as this top of the line product.. but what do you want for 400 bucks..</p>
<p>Yep I know ASICS are coming soon and that Avalon is already on the market.<br />
<strong>This is not a &#8216;get-rich&#8217; quick scheme</strong><br />
Rather it is a last ditch attempt for people to have a final dabble in bitcoin, before the shit hits the fan and mining becomes impossible for most &#8216;normal&#8217; people.<br />
Who knows this shit may even sell for $250,000USD  in 30 years just like the Apple 1</p>
<p>Litecoin&#8230; well lets see what is possible&#8230;.., but from early experiments it is not cost effective even at $100Us because the  KH/s rate is way too low</p>
<p>So if anyone is interested post a comment, maybe even check out the advertisers.</p>
<p>The coins?<br />
Well everyone else does it so I can too&#8230;&#8230;.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/1sJUHmk9iLg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2013/05/08/building-a-bitcoin-miner-from-ebay-scrap-with-possible-option-of-litecoin-conversion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2013/05/08/building-a-bitcoin-miner-from-ebay-scrap-with-possible-option-of-litecoin-conversion/</feedburner:origLink></item>
		<item>
		<title>Xilence PSU really  are quite poor quality.</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/iMYtMzhsr3w/</link>
		<comments>http://hardcoreforensics.com/blog/2013/04/16/xilence-psu-really-are-quite-poor-quality/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 00:09:46 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Litecoin]]></category>
		<category><![CDATA[PCB Design]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1802</guid>
		<description><![CDATA[So today I went out and purchased a couple of Xilence PSU (XP500), specifically because they were rated at 30.0A at 3V3. We needed a fairly strong 3V3 supply rail to feed a couple of maxim buck converters down to 0.98v for an FPGA project. You would think that 3V3@30A would be able to handle [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>So today I went out and purchased a couple of Xilence PSU (XP500), specifically because they were rated at 30.0A at 3V3.</p>
<p>We needed a fairly strong 3V3 supply rail to feed a couple of maxim buck converters down to 0.98v for an FPGA project.</p>
<p>You would think that 3V3@30A would be able to handle such a simple situation.</p>
<p>Well you would be dead wrong..<br />
After loading the PSU upto 6A  the supply rail dropped to 3v1 we then added another 6A load and the rail hit 2V98 Also the 12V rail began to sag down to 11v8 volts and the 5V rail hit 4V8, even with no loading applied to anything other than the 3V3 rail.</p>
<p>Considering these supplies are rated at 3V3@30A, we should not see such poor power degradation with what is basically a 12A loading on the 3V3 rail.</p>
<p>By the time we were at 18A@3v3 the 3v3 rail was below 2v9 and the 12V rail was also in decline.</p>
<p>Furthermore the power supply started to make a sound as if there was a screw loose in the cooling fan, removal of the load caused the sound to disappear.<br />
I&#8217;m of the mind that something was breaking down inside the PSU whenever the 3V3 supply was loaded.</p>
<p><strong>OK fine let us contact their support&#8230;</strong><br />
After finally getting their support system to accept the email request and supplying the PSU serial number<br />
I STILL have NOT had a reply after 7 Days&#8230;.</p>
<p><strong>Is the quality of the Xilence PSU bad or is the application unsuitable?</strong><br />
Well, to put this in perspective, I also purchased a really shitty Chinese made ATX-320T PSU that claims it can supply 3v3@14A, this thing cost less than $11USD(I kid you not)<br />
After 4 months at an overload of 18A@3v3 the supply rail on the Chinese PSU has dipped down to 3V2 the 12V rail is at 12V2 and the thing is still as quiet as a whisper, plus no magic blue smoke daemon has appeared.</p>
<p><strong>Recommendation</strong><br />
Do not EVER buy Xilence PSU&#8217;s, it may even be better to purchase that shittly little Chinese brand after all.</p>
<p><strong>Conclusion</strong><br />
Xilence PSU&#8217;s appear to suck ass so badly that you would NOT want one inside your computer.<br />
By the way their internal build quality on the PSU is basically &#8216;Fucking abysmal&#8217;, parts of the inline filter are &#8216;flapping about&#8217; in the air as if it was an afterthought needed to pass the EMI standards.<br />
Whilst there may be many Xilence the market, such poor power regulation can only lead to seriously stressed computer parts and early failure of equipment.</p>
<p>Time to return this Xilence crap to the shop and save some serious money.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/iMYtMzhsr3w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2013/04/16/xilence-psu-really-are-quite-poor-quality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2013/04/16/xilence-psu-really-are-quite-poor-quality/</feedburner:origLink></item>
		<item>
		<title>Bitcoin: A revamp of our XUPV5-LX110T FPGA mining rig (now faster)</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/626bHilnCto/</link>
		<comments>http://hardcoreforensics.com/blog/2013/04/02/bitcoin-and-a-revamp-of-our-xupv5-lx110t-fpga-mining-rig-now-faster/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 11:29:03 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Litecoin]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1788</guid>
		<description><![CDATA[Since the ASIC order went tits up at Tom&#8217;s ASIC fuckfest and BFL STILL have not delivered product, we spent the time working on our existing FPGA miner. Improved in every way Xilinx development boards are actually very good and it is a testament to the design of the Power-supplies that we managed to push [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>Since the ASIC order went tits up at Tom&#8217;s  ASIC fuckfest and BFL STILL have not delivered product, we spent the time working on our existing FPGA miner.</p>
<p><strong>Improved in every way</strong><br />
Xilinx development boards are actually very good and it is a testament to the design of the Power-supplies that we managed to push the Bitcoin mining design to 200MH/s ,But why was the board consuming 47W when hashing hit 200MH/s?</p>
<p>The secondary issue was why the logic would not go faster than 200MH/s, even with improved FIFO &#038; UART communication routines, try as we might I would not work, I had pushed the same FPGA to 250MHZ for another project, so it was unlikely to be clock related.</p>
<p><strong>A new Beginning</strong><br />
It now seems that all these issues have now been solved after designing a completely new Power supply with improved layout (we also added two MASSIVE power planes which also act as a heat sink).</p>
<p>The FPGA design is now consuming 10W-15W per board and we have pushed the core to 370MH/s&#8230; yep a single core doing 370Mh/s&#8230;.</p>
<p><strong>So where is the power going?</strong><br />
0v95 Supply is sitting at about 6-7 Amps!!!<br />
3v3 Supply is consuming about 1 amp, but that can be reduced since we have about 16 diagnostic LED&#8217;s strung off the  IOAUX power line.<br />
We may need to try and parallel up a couple of the 0v95  supplies in an attempt to cool the switching FETS down, we could just change the Capacitor/Inductor fet configuration, but that can be a real pain to get working efficiently, far easier to just  parallel up a couple of supplies.</p>
<p><strong>What is the point with ASICS being released soon?</strong><br />
Well:</p>
<li>We just picked up a load of FPGA&#8217;s very cheap on Ebay </li>
<li>The cost of a single Bitcoin is over $100USD</li>
<li>We only need to mine 1.5 coins and the FPGA&#8217;s are basically &#8216;free&#8217;</li>
<li>Once the FPGA&#8217;s can no longer be used to mine Bitcoins, there is Litecoin.</li>
<p><strong>Litecoin?</strong><br />
Yep in good old hacker style, we may have discovered a weakness in the Litecoin system that would allow us to mine without consuming massive amounts of ram.<br />
We say &#8216;might&#8217; because we have only looked at the system very superficially, but if we are correct then with a minor performance hit we could limit down the ram size.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/626bHilnCto" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2013/04/02/bitcoin-and-a-revamp-of-our-xupv5-lx110t-fpga-mining-rig-now-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2013/04/02/bitcoin-and-a-revamp-of-our-xupv5-lx110t-fpga-mining-rig-now-faster/</feedburner:origLink></item>
		<item>
		<title>bitcointalk.org hardcore-fs</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/u8HGjAokVjY/</link>
		<comments>http://hardcoreforensics.com/blog/2013/02/02/die/#comments</comments>
		<pubDate>Fri, 01 Feb 2013 22:49:42 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1761</guid>
		<description><![CDATA[We have recently re-gained control of this site, back from an admin-user. This person was given the ability to post as the admin of the site. A number of forums related to bit-coin (https://bitcointalk.org) have been linked here, these links will remain as will the research. Unfortunately, the person involved is still causing mischief on [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>We have recently re-gained control of this site, back from an admin-user.<br />
This person was given the ability to post as the admin of the site.<br />
A number of forums related to bit-coin (https://bitcointalk.org) have been linked here, these links will remain as will the research.</p>
<p>Unfortunately, the person involved is still causing mischief on some sites, mainly by reusing certain monikers and requiring payment for the release of them.<br />
We attempted to re-route the ownership of the accounts via email, but failed.<br />
The person in question has also been issued a cease and desist letter from our solicitors.</p>
<p>To make matters more complex these monikers have been in use for several years on other non bit-coin sites and since the SEO connected to these monikers has some value they have also been appearing in Eastern-Europe.</p>
<p>For the record, most of the technical analysis posted on various bit-coin forums (https://bitcointalk.org) is not under the ownership of the person using the moniker, but rather from a secondary source and then re-worded.<br />
The plan was to build SEO links of &#8216;intelligent and useful material&#8217; related to various aspects of bit-coin.</p>
<p>As regards the email address:<br />
har***re@hardcoreforensics.com, this is now under control of a different admin.</p>
<p>Site owner.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/u8HGjAokVjY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2013/02/02/die/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2013/02/02/die/</feedburner:origLink></item>
		<item>
		<title>Bitcoin Samsung 2440 Host controller</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/AAgPtmmTb5E/</link>
		<comments>http://hardcoreforensics.com/blog/2013/01/08/bitcoin-samsung-2440-host-controller/#comments</comments>
		<pubDate>Tue, 08 Jan 2013 06:47:02 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[WiFi]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1758</guid>
		<description><![CDATA[As is the way, we were sidetracked into taking a look at getting WiFi working on the Samsung 2440 embedded control board, the idea being that we could have a backup system for when: 1.HongKong telecom manage to cut the telephone lines. 2.The shitty little HKT ADSL modem or its PSU burst into flames again, [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>As is the way, we were sidetracked into taking a look at getting WiFi working on the Samsung 2440  embedded control board, the idea being that we could have a backup system for when:<br />
1.HongKong telecom manage to cut the telephone lines.<br />
2.The shitty little HKT ADSL modem or its PSU burst into flames again, yep it only takes them 3 DAYS to get a replacement to you.<br />
3.Dock with my mobile phone, since that has unlimited data rate, which means I can cut one ADSL &#038; one router from the mix I am currently using. </p>
<p>Sadly getting WIFI working on an embedded board is not that easy, EVEN with linux</p>
<p>Tried downloading &#8216;compat-wireless-2012-12-17&#8242;, but unfortunately the integral bash scripts wont run under busy box on the embedded system.</p>
<p>Tried downloading Bash for the embedded system, but it won&#8217;t compile, instead giving a segmentation error.</p>
<p>Tried cross compiling the needed wireless libraries&#8230; fail&#8230;&#8230;</p>
<p>It&#8217;s not that I cannot figure it out, but rather how much is my time worth to get WIFO working on what is basically a dead out of date underpowered board.</p>
<p><strong>Solution</strong></p>
<p>http://www.hardkernel.com/renewal_2011/products/prdt_info.php</p>
<p>For $89USD+$30USD shipping we can get an up-to-date Quad core samsung4412 at-least 4 times faster than a Pi and with enough memory to run a miner controller for a good many ASIC miner units and it comes with a functioning wireless installation of linux.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/AAgPtmmTb5E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2013/01/08/bitcoin-samsung-2440-host-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2013/01/08/bitcoin-samsung-2440-host-controller/</feedburner:origLink></item>
		<item>
		<title>Bitcoin FIFO</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/y3lDU3eZ2NU/</link>
		<comments>http://hardcoreforensics.com/blog/2012/12/31/bitcoin-fifo/#comments</comments>
		<pubDate>Mon, 31 Dec 2012 10:24:26 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1753</guid>
		<description><![CDATA[In a previous posting we outlined the use of a FIFO between the Bitcoin engine (SHA256(SHA256(x))) and the communication circuit. There have been a number of discussions about the futility of this implementation, along with the posting of various quantities of &#8216;dubious&#8217; facts used by a number of people to backup the claim of why [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>In a previous posting  we outlined the use of a FIFO between the Bitcoin engine (SHA256(SHA256(x))) and the communication circuit.<br />
There have been a number of discussions about the futility of this implementation, along with the posting of various quantities of &#8216;dubious&#8217; facts used by a number of people to backup the claim of why a FIFO is an exercise in futility.(a little thought into the actual statements, shows a massive &#038; glaring mistake, that shows the same level of ineptitude as the greek governments ability to understand their current situation)</p>
<p>One key fact in my usage of a FIFO was to separate the Clock circuits of the communication &#038; generation logic, failure to perform this, results in the need to continually adjust the  counters used in the UART to match the master clock, this in-turn prevents the UART being &#8220;black-boxed&#8221;, because the UART needs to be continually re-routed in the logic, each time the clock frequency is changed, this in turn causes continual problems with the routing resources producing &#8220;random&#8221; results.</p>
<p>To date the 220MH/s core with the integral FIFO has been performing admirably, so what we are now going to do , is replace the handwritten FIFO VHDL with an integral core that is hardware specific to the virtex5.<br />
It turns out that those clever people over at Xilinx added extra circuitry to the RAMB32 infrastructure to handle FIFO implementation in the RAM logic, even more interestingly, the FIFO is capable of operating at up to 550Mhz.<br />
Since we are not actually using all the integral ram inside the Virtex 5, it is about time we replaced our generic VHDL FIFO with this infrastructure. At the very least it is additional logic that will no longer need to be routed to the same extent as it currently is, the only down side is that the minimum sized FIFO we can implement is 512 levels deep&#8230;.., rather than our current 16 levels in the generic FIFO.</p>
<p><strong>Let&#8217;s dooooo it!!</strong><br />
We can simulate this modification to death, but that is really not going to give us any insight into the actual results once it is implemented in the logic.</p>
<p>The first task will be to implement a single clock FIFO to replace the generic implementation.</p>
<p>After that, we will implement a dual clocked version with dual port ram, this will allow us to separate the clocks for the nonce communication &#038; generation circuits, and if that works then we might start looking at inserting a FIFO BETWEEN the SHA256 generators, again it might be possible to use this to &#8216;break up&#8217; the logic and increase the speed at which the SHA256 calculations can be operated.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/y3lDU3eZ2NU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2012/12/31/bitcoin-fifo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2012/12/31/bitcoin-fifo/</feedburner:origLink></item>
		<item>
		<title>Bitcoin controller using YL2440 (Cont.)</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/-oWu1_BKeAs/</link>
		<comments>http://hardcoreforensics.com/blog/2012/12/24/bitcoin-controller-using-yl2440-cont/#comments</comments>
		<pubDate>Mon, 24 Dec 2012 12:28:17 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[Ethernet]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1746</guid>
		<description><![CDATA[In our last article, we were of the mind that the YL2440 sucked so badly as a bit-coin miner control board, that it could easily outperform a Dyson Cleaner. As is the way, things come to light that change our interpretation of the data. It now turns out that the &#8220;boot-loader&#8221; developed by the Chinese [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>In our last article, we were of the mind that the YL2440 sucked so badly as a bit-coin miner control board, that it could easily outperform a Dyson Cleaner.</p>
<p>As is the way, things come to light that change our interpretation of the data.</p>
<p>It now turns out that the &#8220;boot-loader&#8221; developed by the Chinese company to pre-load the kernel, was not actually passing the available ram size(64Mb) to the Linux Kernel on boot up.<br />
For whatever reason, the user configurable settings were not being passed in, as a result the kernel was launching with only 16Mb of ram&#8230;.. The fact that Linux could even run a system including Python in less that 16Mb of ram ,really is a testament to the design of Linux.</p>
<p>Python sucks at the best of times, and limiting its available memory only makes it worse.</p>
<p><strong>New Improved YL2440</strong><br />
After making some modifications to the Linux kernel and forcing a new command line on boot up,<br />
we now have the full glorious 64Mb of ram, and boy what a difference it makes.<br />
No longer do we need to wait 3 minutes for an SSh login, and even the web-front end of the python miner is more responsive.<br />
Total ram consumed&#8230; is now sitting at 20Mb, most of which is being used as buffers.</p>
<p>Our next task is to try and get the <strong>Stratum Mining proxy</strong> working, since this will cutdown on the data bandwidth needed by the miner, plus there is a 2% fee <strong>reduction</strong> with  Stratum Mining.</p>
<p>Once that is done, we will be re-visiting the issue of the  RS232 ports and why they are unable to function at 230400 baud.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/-oWu1_BKeAs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2012/12/24/bitcoin-controller-using-yl2440-cont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2012/12/24/bitcoin-controller-using-yl2440-cont/</feedburner:origLink></item>
		<item>
		<title>Bitcoin development rig using a YL2440 as a control system to an FPGA miner</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/HkR4BNJ03KQ/</link>
		<comments>http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/#comments</comments>
		<pubDate>Tue, 18 Dec 2012 00:05:23 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1679</guid>
		<description><![CDATA[The Good News&#8230;. Well, we finally got a fully functional YL2440 up and running a python miner client. The good news is that it has not crashed in the last 48 hours, AND we fixed that bloody stupid clock bug&#8230; The bad news&#8230;.. Unfortunately the bad news is that it sucks ass. 1. Even though [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p><strong>The Good News&#8230;.</strong><br />
Well, we finally got a fully functional YL2440 up and running a python miner client.<br />
The good news is that it has not crashed in the last 48 hours, AND we fixed that bloody stupid clock bug&#8230;</p>
<p><strong>The bad news&#8230;..</strong><br />
Unfortunately the bad news is that it sucks ass.</p>
<p>1. Even though the YL2440 has THREE hardware UARTS , none appear to function with the miner at 230400 Baud<br />
This is despite the bloody thing running fine IF I plug in a FTDI USB UART connector into the only available USB connection and use that for the python (even worse the data-sheet for the CPU states that &#8220;it is capable of running at upto 921kb), but looking into the linux kernel UART code, there is a comment from the programmer about the UART speed multiplication bits being wrong.(9 instead of the 44 shown in the data-sheet) </p>
<p>2. For some reason there is only 16Mb of ram available to the system, even though the system has 64Mb of ram onboard.(well that is if the shitty &#8217;64mb&#8217; ram chips are not China fakes, that have been re-branded)<br />
or possibly it&#8217;s an error when I ported the linux kernel.<br />
3. Being an embedded Board, it uses Nand-Flash as storage, unfortunately this does not bode well for the massive log files continually written by the Python miner, specifically it hammers the wear leveling of the Nand-Flash card.</p>
<p>So the likely-hood of this board ever working for more than one ASIC miner is starting to look rocky.</p>
<p>I&#8217;m going to take a look at the ram issue, because I know linux always performs better with more ram, and just maybe we can rescue this situation.<br />

<a href='http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/p1/' title='p1'><img width="150" height="150" src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/11/p1-150x150.jpg" class="attachment-thumbnail" alt="p1" /></a>
<a href='http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/p2/' title='p2'><img width="150" height="150" src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/11/p2-150x150.jpg" class="attachment-thumbnail" alt="p2" /></a>
<a href='http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/p3/' title='p3'><img width="150" height="150" src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/11/p3-150x150.jpg" class="attachment-thumbnail" alt="p3" /></a>
<a href='http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/p1-2/' title='p1'><img width="150" height="150" src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/11/p11-150x150.jpg" class="attachment-thumbnail" alt="p1" /></a>
<a href='http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/p2-2/' title='p2'><img width="150" height="150" src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/11/p21-150x150.jpg" class="attachment-thumbnail" alt="p2" /></a>
<a href='http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/p3-2/' title='p3'><img width="150" height="150" src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/11/p31-150x150.jpg" class="attachment-thumbnail" alt="p3" /></a>
</p>
<p>If we do indeed rescue this complete dogs bollock of a project, then for the networking  I have a nice 12db Antenna + 1 watt amp for a wireless connection.<br />
Why pay to run a router/ADSL connection when you can leach off all the open &#8216;noobie&#8217; routers in your area?</p>
<p>*Handy tips:<br />
1. Always download your porn using the local &#8216;open&#8217; Church router.<br />
2. Always use &#8220;WEP&#8221; as your router protocol.<br />
3. If you are a dumb-ass Chinese company <del datetime="2012-12-18T09:25:04+00:00">making </del> copying other companies development boards, FFS DON&#8217;T Use a Hearing aid battery to support the RTC. use an INDUSTRY-STANDARD mother board battery.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/HkR4BNJ03KQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2012/12/18/bitcoin-development-rig-using-a-yl2440-as-a-control-system-to-an-fpga-miner/</feedburner:origLink></item>
		<item>
		<title>Bitcoin Mining/publicly available VHDL source code and the Xilinx XUPV5</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/pj_r4dmc2TI/</link>
		<comments>http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 03:49:25 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[BITCOIN]]></category>
		<category><![CDATA[FPGA]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1693</guid>
		<description><![CDATA[Since I have been playing about with bitcoin mining for the last few weeks, it has given me the opportunity to look at some of the publicly available source code. We decided to take a gander at the communication channels used to communicate the results back from the FPGA&#8217;s to the master computers. On the [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>Since I have been playing about with bitcoin mining for the last few weeks, it has given me the opportunity to look at some of the publicly available source code.</p>
<p>We decided to take a gander at the communication channels used to communicate the results back from the FPGA&#8217;s to the master computers.<br />
On the whole the code is mostly abysmal&#8230;., seemingly written by people that have absolutely NO comprehension about how real hardware actually works&#8230; or in some cases even basic binary maths.</p>
<p>Take for example the Serial communication:<br />
<a href="https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/projects/VHDL_Xilinx_Port/uart.vhd" >https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/projects/VHDL_Xilinx_Port/uart.vhd</a></p>
<p>Lots of fixed constants that cause the code to fall apart as soon as you try to increase the clock rate of the design.<br />
Why? Because the counters and values in the design are dictated by the clock rate and as you increase the clock rate you need to increase the length of the counter chains in this code.</p>
<p>Hahar&#8230; you say..<br />
I can vary the clock rate for the main design but then keep the clock rate for the UART at a fixed  rate.</p>
<p>NOPE!!!!!!</p>
<p>Because of this low quality code in  miner.vhd<br />
<code><br />
hit <= '1' when outerhash(255 downto 224) = x"00000000" and step = "000000" else '0';<br />
</code></p>
<p>As the SHA256(SHA256(x)) code does its magic, a new hash result is calculated off the base nonce at the edge of EVERY clock cycle of the master clock.<br />
Therefore any valid result has to be recovered in a SINGLE clock cycle of the master clock before the result is lost.<br />
Now if the UART is running on another clock, it may very well miss the value that has been transferred to the TX logic, at the very least you would need to syncronise the clock edges.</p>
<p>So Unless we want to totally re-write the VHDL we are stuck with the UART code running on the master clock</p>
<p><strong>The next problem</strong><br />
The actual UART code is written so badly that even if it were the ONLY core in the FPGA, it would max out if the master clock value was increased past 140Mhz</p>
<p>However with a SINGLE change, its maximum operating frequency can be taken up to about 294.898Mhz.<br />
yep... that is correct, <em>a SINGLE change to the VHDL code can more than DOUBLE the frequency that the UART can operate at. </em> That is before we even start to take a serious look at the code construction.</p>
<p><strong>To buffer or not to buffer that is the question</strong><br />
We now come to the issue of buffering(FIFO) the results of hash searches and nonce hits.<br />
Since the generation of hashes is a continual process there is no guarantee about the quantity of collision hashes you get when checking the full range nonce from 0x00000000 to 0xffffffff.<br />
Furthermore, there is no guarantee that two valid nonces will not appear within a few clock cycles of each other( Other than mounds of research that say changing a single bit radically changes the whole has value, but they don't take into account the fact that bit-coin is looking for a hash whose top-end is populated with zeros).<br />
So, a question arises:<br />
<strong>How can a UART core operating at a baud rate of  115,200 possibly service a nonce generator running at 120Mhz?</strong></p>
<p>Well, only under the pretense of multiple nonces NOT turning up within the 'send' window used for notifying a successful nonce back to the master controller.</p>
<p>From this we can ascertain that there is probably a need for a FIFO to be inserted between the SHA256(SHA256(x)) engine and the UART (yes...yes.. I know some people think it is very rare for nonces to be close, but I'm afraid I have seen them regularly within 1ms of each other, plus that value only gets smaller as the SHA256(SHA256(x)) system speed increases)</p>
<p><strong>So we implemented a FIFO</strong><br />
We had to provide our own FIFO code, because the shitty Xilinx core generation tool only allow a FIFO to have a minimum size of 512 places. (yep like 512 places * 64 bits is going to help with the routing issues we already have!!)<br />
The results were actually quite interesting: There was a noticeable INCREASE in stability of the whole system, as well as an increase of successful nonces discovered.<br />
<a href="http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/fifo/" rel="attachment wp-att-1710"><img src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/12/FIFO.tiff" alt="" title="FIFO" class="alignleft size-full wp-image-1710" /></a></p>
<p>0x1dc5323a<br />
0x1e376d41<br />
diff 0x723b07 (7486215D)</p>
<p>Above we can see two nonces detected and reported correctly within 32ms of each other, yep we can say that this is STILL well within the capability of the UART to report these without a FIFO, but the difference is that a NONCE can be detected at any time, even when the UART is currently sending data.</p>
<p>This code is difficult to test, almost impossible to simulate, because you need to be able to generate viable hashes that are very close together, and for that you need to know the base hash (x) PRIOR to the SHA256(SHA256(x)) that is going to produce the final results.<br />
(if we knew that we could "mine" bit-coins without actually doing any work and we would be very rich).</p>
<p>Nevertheless even with these difficulties, we managed to capture the following:<br />
<a href="http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/fifo/" rel="attachment wp-att-1710"><img src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/12/1ms.jpg" alt="" title="FIFO" class="alignleft size-full wp-image-1710" /></a></p>
<p>Here we see two nonces within 1ms of each other namely:<br />
0xc1f5cf25<br />
0xc1d627ba<br />
Diff 0x1fa76b(2074475d)<br />
A quick subtraction of these two nonces, tell us that they are:<br />
0x1fa76b apart (2074475) or 2074475 clock cycles....<br />
Hang on a minute<br />
2074475*5ns(at 2002MH/s) =10372375ns , which is 10.3ms but the timing above says they are 1ms apart.<br />
and from this we can see our fifo Is actually saving data, because something 10.3ms apart is being compressed into 1ms apart(the FPGA was sending a nonce to the controlling system, but during the send a second nonce was discovered, preserved in the FIFO and then TAGGED onto the end of the send straight AFTER the first nonce).</p>
<p>If indeed the two nonces were generated closer together and not a potential interruption of the UART, then the subtracted result above would be SMALLER.<br />
But the nonces would still be received by the controlling system within 1ms of each other(according to the python reporting, but that's what you get for using a gash interpreted programming language to code a front end to a hardware design).</p>
<p>And finally a "zero time nonce":<br />
<a href="http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/fifo/" rel="attachment wp-att-1710"><img src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/12/zerotime.tiff" alt="" title="FIFO" class="alignleft size-full wp-image-1710" /></a></p>
<p>0x75c67f66<br />
0x75e079f9<br />
Diff 0x19fa93 (1702547D)</p>
<p><strong>The Future</strong><br />
Now that we have a working FIFO we can <strong>FINALLY</strong>, split out the shitty UART code from the master CLK.<br />
Why? Well now we can start to look at running the SHA256(SHA256(x)) at a higher CLK rate without having to worry about resources that will not route correctly due to them failing to meet the timing requirements.<br />
This means the design has the chance to compile at a far higher operating frequency, looking at the design, over 70% of the timings are due to routing delays.</p>
<p><strong>Cut the bullshit, anyone can say code is bad</strong><br />
OK, So how far have we improved the miner?:<br />
The current STABLE speed (200MH/s) is almost double when compared to the  Public domain code.<br />
<a href="http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/fifo/" rel="attachment wp-att-1710"><img src="http://hardcoreforensics.com/wp/wp-content/uploads/2012/12/fullscrn.jpg" alt="" title="FIFO" class="alignleft size-full wp-image-1710" /></a></p>
<p>And this is without even trying to work on the routing or adding constraints to the xilinx files.</p>
<p><strong>The Future</strong><br />
Interestingly a research project for NIST has already accomplished a working ASIC for SHA3.<br />
If you read the paper very carefully it states "It contains all the SHA-3 five finalists"..<strong> SO WHAT!!</strong><br />
Then it goes on to state: "<strong>and a reference SHA256</strong>"<br />
Catch the link here:<br />
<a href="http://rijndael.ece.vt.edu/sha3/chip/sha3-asic-userguide.pdf" >SHA256 in ASIC</a><br />
and something far more interesting related to  die sizes and processes<br />
<a href="http://www.risec.aist.go.jp/project/sasebo/" >ASIC Die sizes</a></p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/pj_r4dmc2TI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2012/12/10/bitcoin-mining-publicly-available-vhdl-source-code-and-the-xilinx-xupv5/</feedburner:origLink></item>
		<item>
		<title>ZFS on OSX…. goes tits up!!!</title>
		<link>http://feedproxy.google.com/~r/PadTabletmodification/~3/vLyGbzWW_nE/</link>
		<comments>http://hardcoreforensics.com/blog/2012/09/25/zfs-on-osx-goes-tits-up/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 01:05:40 +0000</pubDate>
		<dc:creator>Site_owner</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://hardcoreforensics.com/?p=1664</guid>
		<description><![CDATA[ZFS was supposed to be a super cool file system with basically unlimited storage and the potential to correct ANY sort of corruption within the ZFS file system. (seriously when you have >50TB of storage capability from most modern disk systems, HFS+ just does not cut it. ) Several attempts have been made to port [...]]]></description>
				<content:encoded><![CDATA[<div class="KonaBody"><p>ZFS was supposed to be a super cool file system with basically unlimited storage and the potential to correct ANY sort of corruption within the ZFS file system. (seriously when you have >50TB of storage capability from most modern disk systems,  HFS+ just does not cut it. )<br />
<span id="more-1664"></span><br />
Several attempts have been made to port the full ZFS file system to OSX,<br />
Apple made a good attempt at it, until Sun went tits up and oracle purchased the assets.<br />
Then there was  &#8216;Ten&#8217;s complements&#8217;, who appeared to make a further attempt at bringing the ZFS system to OSX. but then the deadlines started to slip.<br />
It now appears that &#8216;Ten&#8217;s complements&#8217; attempts have ALSO gone tits up.</p>
<p>so here we are &#8230;. Round three.<br />
GreenBytes, appears to be the new owners of the latest failed attempts for ZFS</p>
<p>http://www.getgreenbytes.com</p>
<p>They have released a &#8220;community version&#8221; of ZFS, but they appear to be of the mind that OSX is just not powerful enough to run ZFS:</p>
<p>&#8220;ZEVO is a current implementation of ZFS that has been adapted to integrate within the constraints of Apple’s Mac OS X runtime.&#8221;</p>
<p>http://www.getgreenbytes.com/zevo/</p>
<p>Greenbytes, seems to be of the opinion that OSX is just not capable of running the full ZFS stack, which is possibly why there is a community version, (let the REAL programmers of the world fix it up, do the leg work and then commercialize it LATER, by adding a  spiffy GUI)</p>
<p>So lets all wait and see where this spiffy file system , ends up.</p>
</div><img src="http://feeds.feedburner.com/~r/PadTabletmodification/~4/vLyGbzWW_nE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://hardcoreforensics.com/blog/2012/09/25/zfs-on-osx-goes-tits-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://hardcoreforensics.com/blog/2012/09/25/zfs-on-osx-goes-tits-up/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.786 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-05-22 21:20:55 -->
