<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Matt Merry &#187; 2008 &#187; June &#187; 12</title>
	<atom:link href="http://www.mattmerry.com/blog/2008/06/12/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mattmerry.com/blog</link>
	<description>MattMerry.com</description>
	<pubDate>Thu, 19 Feb 2009 01:19:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>matt@mattmerry.com ()</managingEditor>
		<webMaster>matt@mattmerry.com()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>MattMerry.com</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>matt@mattmerry.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.mattmerry.com/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.mattmerry.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Matt Merry</title>
			<link>http://www.mattmerry.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>FBin File</title>
		<link>http://www.mattmerry.com/blog/2008/06/12/fbin-file</link>
		<comments>http://www.mattmerry.com/blog/2008/06/12/fbin-file#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:38:53 +0000</pubDate>
		<dc:creator>Matt Merry</dc:creator>
		
		<category><![CDATA[SD14 Firmware Hacking]]></category>

		<guid isPermaLink="false">http://www.mattmerry.com/blog/2008/06/12/fbin-file</guid>
		<description><![CDATA[ So a quick recap was dumping the largest CMbT section from the s14v101.bin file. I removed what I thought to be the header (everything before FBIN). I renamed this file s14v101.fbin.
Now, I&#8217;ll use the parsebin script to dump all the BINS sections. How do I know to do this? I took a look at the [...]]]></description>
			<content:encoded><![CDATA[<p> So a quick recap was dumping the largest CMbT section from the s14v101.bin file. I removed what I thought to be the header (everything before FBIN). I renamed this file s14v101.fbin.</p>
<p>Now, I&#8217;ll use the parsebin script to dump all the BINS sections. How do I know to do this? I took a look at the file and found a handful of occurrences of the string &#8220;BINS&#8221;.</p>
<p>So, the steps, create a new sections.txt file that contains one section: &#8220;BINS&#8221;. Call it fbinsections.txt. Now, run this through the parsebin.pl file like this:</p>
<p>./parsebin.pl s14v101.fbin fbinsec.txt &gt; info-fbin-101.txt</p>
<p>This gets us the follwing information:</p>
<blockquote>
<pre><font color="#000080">*****************************************************</font></pre>
<pre><font color="#000080">BINS:</font></pre>
<pre><font color="#000080">*****************************************************</font></pre>
<pre><font color="#000080">Num	Hex Length	Dec Length	Hex Position	Dec Position</font></pre>
<pre><font color="#000080">0:	0x00000a4c		2636	0x00000018	24</font></pre>
<pre><font color="#000080">1:	0x000002a0		672	0x00000a64	2660</font></pre>
<pre><font color="#000080">2:	0x000001a0		416	0x00000d04	3332</font></pre>
<pre><font color="#000080">3:	0x00063c54		408660	0x00000ea4	3748</font></pre>
<pre><font color="#000080">4:	0x00003db0		15792	0x00064af8	412408</font></pre>
<pre><font color="#000080">5:	0x00000fc0		4032	0x000688a8	428200</font></pre>
<pre><font color="#000080">6:	0x00000024		36	0x00069868	432232</font></pre>
<pre><font color="#000080">7:	0x000002f4		756	0x0006988c	432268</font></pre>
<pre><font color="#000080">8:	0x00000034		52	0x00069b80	433024</font></pre>
<pre><font color="#000080">9:	0x00000230		560	0x00069bb4	433076</font></pre>
<pre><font color="#000080">10:	0x000001a4		420	0x00069de4	433636</font></pre>
<pre><font color="#000080">11:	0x0000bef8		48888	0x00069f88	434056</font></pre>
<pre><font color="#000080">12:	0x00000fc0		4032	0x00075e80	482944</font></pre>
<pre><font color="#000080">13:	0x001e4508		1983752	0x00076e40	486976</font></pre>
</blockquote>
<p>Interesting. 14 sections of greatly varying length. A sanity check right about now would be a good idea. Lets see if we can make any sense of this quickly. We can examine the BINS 0&#215;069b80, dumping the hex:</p>
<blockquote>
<pre> <font color="#000080"><font color="#ff0000">42 49 4E 53</font> <font color="#00ff00">34 </font>00 00 00 00 03 40 FF 00 00 00 00 .....</font></pre>
</blockquote>
<p>It continues, but I chose to leave the rest off. The text in  red is &#8220;BINS&#8221;. According to parsebins.pl, the hexadecimal length of this section is <font color="#00ff00">0&#215;34</font>. Hey, there is the length!! I&#8217;ll leave it as a homework assignment to verify the rest of the sections. Looks like we&#8217;ve found an embedded file type, that has at least some structure. What are all the sections? Whats that really big BINS section? We&#8217;ll leave that for next time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmerry.com/blog/2008/06/12/fbin-file/feed</wfw:commentRss>
		</item>
		<item>
		<title>CMbT</title>
		<link>http://www.mattmerry.com/blog/2008/06/12/cmbt</link>
		<comments>http://www.mattmerry.com/blog/2008/06/12/cmbt#comments</comments>
		<pubDate>Fri, 13 Jun 2008 06:15:32 +0000</pubDate>
		<dc:creator>Matt Merry</dc:creator>
		
		<category><![CDATA[SD14 Firmware Hacking]]></category>

		<guid isPermaLink="false">http://www.mattmerry.com/blog/2008/06/12/cmbt</guid>
		<description><![CDATA[So, as I mentioned in the last post, there were some large sections in the bin files that require further investigation. The output of the parsebin script shows these sections. The most interesting to me is the large CMbT section. Lets look at s14v101.bin first. from parsebin:

*****************************************************
CMbT:
*****************************************************
Num	Hex Length	Dec Length	Hex Position	Dec Position
0:	0x00000040		64	0x000001d8	472
1:	0x00000040		64	0x00048b54	297812
2:	0x00000044		68	0x00048bbc	297916
3:	0x0025b318		2470680	0x00048c30	298032
4:	0x0000004c		76	0x002a3fe0	2768864
5:	0x000000f4		244	0x002a402c	2768940

Hm. that 4th CMbT section [...]]]></description>
			<content:encoded><![CDATA[<p>So, as I mentioned in the last post, there were some large sections in the bin files that require further investigation. The output of the parsebin script shows these sections. The most interesting to me is the large CMbT section. Lets look at s14v101.bin first. from parsebin:</p>
<blockquote>
<pre><font color="#0000ff">*****************************************************</font></pre>
<pre><font color="#0000ff">CMbT:</font></pre>
<pre><font color="#0000ff">*****************************************************</font></pre>
<pre><font color="#0000ff">Num	Hex Length	Dec Length	Hex Position	Dec Position</font></pre>
<pre><font color="#0000ff">0:	0x00000040		64	0x000001d8	472</font></pre>
<pre><font color="#0000ff">1:	0x00000040		64	0x00048b54	297812</font></pre>
<pre><font color="#0000ff">2:	0x00000044		68	0x00048bbc	297916</font></pre>
<pre><font color="#ff0000">3:	0x0025b318		2470680	0x00048c30	298032</font></pre>
<pre><font color="#0000ff">4:	0x0000004c		76	0x002a3fe0	2768864</font></pre>
<pre><font color="#0000ff">5:	0x000000f4		244	0x002a402c	2768940</font></pre>
</blockquote>
<p>Hm. that 4th CMbT section is the one I want. Using parsebin to dump this section to its own file:</p>
<blockquote>
<h5>./parsebin.pl -p CMbT -d 298032 s14v101.bin</h5>
</blockquote>
<p>This will generate a file called &#8220;s14v101.bin-CMbT-298032.&#8221; Lets open this. The section starts off like this (plane text):</p>
<blockquote>
<pre><font color="#000080">CMbT....L.......(...ColorspaceTestText......Colorspace is sRGB-Enhanced!....FBIN.........O®±....dn..BINSL
.... ÿ.... ...,..8+.Õ </font></pre>
</blockquote>
<p>Woa. Whats that? We see a couple possible tags. There is that FBIN tag. then BINSL? Hm. FBIN=Firmware Bin?? I have the suspicion that there is a header associated with the original CMbT section, then there is an embedded file, an &#8220;FBIN&#8221; file. Searching this file for BINS and I get several hits.  Letsuse parsebin to break this up too. First thing first though, lets remove everything before &#8220;FBIN&#8221; and save this as its own file. I&#8217;ll call this file s14v101.fbin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmerry.com/blog/2008/06/12/cmbt/feed</wfw:commentRss>
		</item>
		<item>
		<title>DP1 Quick look</title>
		<link>http://www.mattmerry.com/blog/2008/06/12/dp1-quick-look</link>
		<comments>http://www.mattmerry.com/blog/2008/06/12/dp1-quick-look#comments</comments>
		<pubDate>Thu, 12 Jun 2008 21:35:39 +0000</pubDate>
		<dc:creator>Matt Merry</dc:creator>
		
		<category><![CDATA[DP1 Firmware]]></category>

		<category><![CDATA[SD14 Firmware Hacking]]></category>

		<guid isPermaLink="false">http://www.mattmerry.com/blog/2008/06/12/dp1-quick-look</guid>
		<description><![CDATA[So Sigma released an updated DP1 firmware today. Couple this with some interesting shots of the insides of the DP1 and turns out that there is a Xilinx chip and a custom ASIC (the Sigma TRUE) on the DP1. Way to go Sigma, custom ASICs, nice. According to the DP1 firmware, the Xilinx chip is [...]]]></description>
			<content:encoded><![CDATA[<p>So Sigma <a href="http://www.sigma-dp1.com/software/firmware/" title="DP1 Firmware">released an updated DP1 firmware</a> today. Couple this with some <a href="http://forums.dpreview.com/forums/read.asp?forum=1027&amp;message=28217772" title="Broken DP1">interesting shots</a> of the<a href="http://forums.dpreview.com/forums/read.asp?forum=1027&amp;message=28260953" title="Custom ASIC!"> insides</a> of the DP1 and turns out that there is a Xilinx chip and a custom ASIC (the Sigma TRUE) on the DP1. Way to go Sigma, custom ASICs, nice. According to the DP1 firmware, the Xilinx chip is a XC3s200 - same as the SD14. The firmware is also made with the same CamXML2Bin program, looks like Foveon release this? Don&#8217;t know.</p>
<p>You might wonder how I was able to determine the Xilinx chip from the firmware. We&#8217;ll, I&#8217;ve made incredible progress in the last couple days, I&#8217;ll try to write about it tonight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattmerry.com/blog/2008/06/12/dp1-quick-look/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
