<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: factory</title>
	<atom:link href="http://hackmii.com/2008/06/factory/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackmii.com/2008/06/factory/</link>
	<description>Notes from inside your Wii</description>
	<lastBuildDate>Mon, 30 Apr 2012 19:38:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: bushing</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-4067</link>
		<dc:creator>bushing</dc:creator>
		<pubDate>Tue, 13 Jan 2009 23:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-4067</guid>
		<description>boot1 is always encrypted; the hash is not verified if OTP is blank.   However, this is not even necessary for the scenario you propose -- the NAND flash chips could be preprogrammed with the production boot1 and a factory-specific (and console-agnostic) boot2.   Somewhere during the factory process, the boot2 could encrypt the NAND FS with the per-console key, and then they could install the production boot2.   (All of that seems to happen over the EXI bus, actually, using a &quot;Waikiki adapter&quot;).

So, if they do use preprogrammed NAND flash chips, then they can do this without a magic bus, yes.</description>
		<content:encoded><![CDATA[<p>boot1 is always encrypted; the hash is not verified if OTP is blank.   However, this is not even necessary for the scenario you propose &#8212; the NAND flash chips could be preprogrammed with the production boot1 and a factory-specific (and console-agnostic) boot2.   Somewhere during the factory process, the boot2 could encrypt the NAND FS with the per-console key, and then they could install the production boot2.   (All of that seems to happen over the EXI bus, actually, using a &#8220;Waikiki adapter&#8221;).</p>
<p>So, if they do use preprogrammed NAND flash chips, then they can do this without a magic bus, yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ericball</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-3960</link>
		<dc:creator>ericball</dc:creator>
		<pubDate>Fri, 09 Jan 2009 22:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-3960</guid>
		<description>The Wii&#039;s bootloader reminds me a lot of the Atari 7800 which had a boot ROM which would verify the digital signature of the cartridge before executing it.  If the signature check failure, it would lock the system into Atari 2600 mode.

Anyway, the following is how I would I would do it.

First, boot0 will load an unencrypted boot1 if the OTP is zero.  Thus, my assumption is this is how Hollywood delivered from the factory.  The NAND is preprogrammed with an unencrypted custom boot1 along with a bunch of validation apps.  After everything is soldered together, it&#039;s put connected to an automated test station which probably controls everything via the USB port.  The results are written to NAND so if there&#039;s a failure a &quot;fixer&quot; can get that info and try to resolve it.

Assuming the tests all pass, the NRAM is re-written by a the Wii itself with the encrypted boot1 and the rest of the normal contents.  Then the OTP is written with the proper keys and checksums.  Then the OTP WE line is locked out (by writing to a OTP bit which is OR&#039;d with WE).  Bang, Wii is now ready for shipment, no mystery bus required.</description>
		<content:encoded><![CDATA[<p>The Wii&#8217;s bootloader reminds me a lot of the Atari 7800 which had a boot ROM which would verify the digital signature of the cartridge before executing it.  If the signature check failure, it would lock the system into Atari 2600 mode.</p>
<p>Anyway, the following is how I would I would do it.</p>
<p>First, boot0 will load an unencrypted boot1 if the OTP is zero.  Thus, my assumption is this is how Hollywood delivered from the factory.  The NAND is preprogrammed with an unencrypted custom boot1 along with a bunch of validation apps.  After everything is soldered together, it&#8217;s put connected to an automated test station which probably controls everything via the USB port.  The results are written to NAND so if there&#8217;s a failure a &#8220;fixer&#8221; can get that info and try to resolve it.</p>
<p>Assuming the tests all pass, the NRAM is re-written by a the Wii itself with the encrypted boot1 and the rest of the normal contents.  Then the OTP is written with the proper keys and checksums.  Then the OTP WE line is locked out (by writing to a OTP bit which is OR&#8217;d with WE).  Bang, Wii is now ready for shipment, no mystery bus required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: factory 2</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1963</link>
		<dc:creator>factory 2</dc:creator>
		<pubDate>Tue, 08 Jul 2008 03:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1963</guid>
		<description>[...] (Note: this is a continuation of http://hackmii.com/2008/06/factory/) [...]</description>
		<content:encoded><![CDATA[<p>[...] (Note: this is a continuation of http://hackmii.com/2008/06/factory/) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ehntoo</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1953</link>
		<dc:creator>ehntoo</dc:creator>
		<pubDate>Mon, 07 Jul 2008 07:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1953</guid>
		<description>I&#039;m not entirely sure if it&#039;s helpful, but the Wii I got on launch day prompted me for a setup disc on boot, and wouldn&#039;t do anything else.  I couldn&#039;t even sync the wiimote, leading me to believe the &quot;setup disc&quot; actually contained the firmware.

I wish I hadn&#039;t returned it now.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not entirely sure if it&#8217;s helpful, but the Wii I got on launch day prompted me for a setup disc on boot, and wouldn&#8217;t do anything else.  I couldn&#8217;t even sync the wiimote, leading me to believe the &#8220;setup disc&#8221; actually contained the firmware.</p>
<p>I wish I hadn&#8217;t returned it now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pizza2004</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1942</link>
		<dc:creator>Pizza2004</dc:creator>
		<pubDate>Sat, 05 Jul 2008 04:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1942</guid>
		<description>@Seoul: The startup disk was only mentioned on the leaked contents of the box for the Wii prior to release, none actually were sold in the box to the public.</description>
		<content:encoded><![CDATA[<p>@Seoul: The startup disk was only mentioned on the leaked contents of the box for the Wii prior to release, none actually were sold in the box to the public.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seoul</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1940</link>
		<dc:creator>Seoul</dc:creator>
		<pubDate>Sat, 05 Jul 2008 00:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1940</guid>
		<description>@bushing: I&#039;ve got a launch PAL Wii, but for the disc pictured on the box, it says:

9. Wii Disc [RVL-006{EUR)] Wii Sports.

Does not mention anywhere in the manuals or box about a start up disc or set up disc, so I&#039;m assuming the PAL Wii&#039;s already had the updated firmware?</description>
		<content:encoded><![CDATA[<p>@bushing: I&#8217;ve got a launch PAL Wii, but for the disc pictured on the box, it says:</p>
<p>9. Wii Disc [RVL-006{EUR)] Wii Sports.</p>
<p>Does not mention anywhere in the manuals or box about a start up disc or set up disc, so I&#8217;m assuming the PAL Wii&#8217;s already had the updated firmware?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bushing</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1930</link>
		<dc:creator>bushing</dc:creator>
		<pubDate>Thu, 03 Jul 2008 07:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1930</guid>
		<description>@Lyoko is cool:  I&#039;ve been searching for someone with a startup disc, with no success.  If anyone out there has one, I&#039;d love to either borrow it and rip it (you can have it back), or just a copy of the contents.

@Pizza2004:  You may be on to something here.  We don&#039;t understand the Disc Interface (DI) very well; one of the GameCube patents makes some mention about multiplexing JTAG lines with the DI bus.   It&#039;s something that would be worth exploring.</description>
		<content:encoded><![CDATA[<p>@Lyoko is cool:  I&#8217;ve been searching for someone with a startup disc, with no success.  If anyone out there has one, I&#8217;d love to either borrow it and rip it (you can have it back), or just a copy of the contents.</p>
<p>@Pizza2004:  You may be on to something here.  We don&#8217;t understand the Disc Interface (DI) very well; one of the GameCube patents makes some mention about multiplexing JTAG lines with the DI bus.   It&#8217;s something that would be worth exploring.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pizza2004</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1926</link>
		<dc:creator>Pizza2004</dc:creator>
		<pubDate>Thu, 03 Jul 2008 03:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1926</guid>
		<description>*I meant right, sorry about the typo.  If I&#039;m right, then couldn&#039;t the same method be used to restore the wii or debrick it?</description>
		<content:encoded><![CDATA[<p>*I meant right, sorry about the typo.  If I&#8217;m right, then couldn&#8217;t the same method be used to restore the wii or debrick it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pizza2004</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1925</link>
		<dc:creator>Pizza2004</dc:creator>
		<pubDate>Thu, 03 Jul 2008 03:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1925</guid>
		<description>The CD drive isn&#039;t attached yet write?  Perhaps they plug something into the port for the CD drive that does this, and then they plug the CD drive in when it is done?  I don&#039;t really know anything though, so I could be very wrong.</description>
		<content:encoded><![CDATA[<p>The CD drive isn&#8217;t attached yet write?  Perhaps they plug something into the port for the CD drive that does this, and then they plug the CD drive in when it is done?  I don&#8217;t really know anything though, so I could be very wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: etc</title>
		<link>http://hackmii.com/2008/06/factory/comment-page-1/#comment-1899</link>
		<dc:creator>etc</dc:creator>
		<pubDate>Tue, 01 Jul 2008 23:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://hackmii.com/?p=48#comment-1899</guid>
		<description>[...] / Factory &#8212; both of these have updates which deserve their own article.  Stay [...]</description>
		<content:encoded><![CDATA[<p>[...] / Factory &#8212; both of these have updates which deserve their own article.  Stay [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

