<?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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechnoBabel &#187; tftp</title>
	<atom:link href="http://www.fritscher.ch/blog/tag/tftp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fritscher.ch/blog</link>
	<description>Discoveries from the Virtual World</description>
	<lastBuildDate>Sat, 04 Jun 2011 20:59:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Updating IBM Thinkpad x41 tablet pc’s hard drive firmware by PXE booting dos</title>
		<link>http://www.fritscher.ch/blog/2007/05/26/updating-ibm-thinkpad-x41-tablet-pc%e2%80%99s-hard-drive-firmware-by-pxe-booting-dos/</link>
		<comments>http://www.fritscher.ch/blog/2007/05/26/updating-ibm-thinkpad-x41-tablet-pc%e2%80%99s-hard-drive-firmware-by-pxe-booting-dos/#comments</comments>
		<pubDate>Sat, 26 May 2007 13:45:39 +0000</pubDate>
		<dc:creator>Boris Fritscher</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[tftp]]></category>

		<guid isPermaLink="false">http://www.fritscher.ch/blog/2007/05/26/updating-ibm-thinkpad-x41-tablet-pc%e2%80%99s-hard-drive-firmware-by-pxe-booting-dos/</guid>
		<description><![CDATA[The problem HTC4260xxG9AT00 Firmware A0L2 (May 2, 2007) The firmware update is only available on a bootable ISO CD-ROM, but the laptop has neither a floppy drive, nor a CD-ROM drive. The update is quiet important since it reduced the &#8230; <a href="http://www.fritscher.ch/blog/2007/05/26/updating-ibm-thinkpad-x41-tablet-pc%e2%80%99s-hard-drive-firmware-by-pxe-booting-dos/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.fritscher.ch/blog/2007/10/07/company-of-heroes-opposing-fronts-mission-8-black-screen/' rel='bookmark' title='Company of Heroes: Opposing fronts &#8211; mission 8 black screen'>Company of Heroes: Opposing fronts &#8211; mission 8 black screen</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>The problem</h3>
<p>HTC4260xxG9AT00 Firmware A0L2 (May 2, 2007)<br />
The firmware update is only available on a bootable ISO CD-ROM, but the laptop has neither a floppy drive, nor a CD-ROM drive. The update is quiet important since it reduced the noise made by an annoying clicking sound of the hard drive.</p>
<h3>The solutions</h3>
<p>If you are in a hurry go directly <a href="#pxe">to Setting up the PXE server</a></p>
<p>My first attempt was trying to boot on an USB pen drive, but the only time it booted successfully was with a size of a floppy. Unfortunately it is impossible to copy the 18mb content from the CD onto it. Every attempt to expand the size of the bootable dos partition on the USB pen drive resulted in a failure to correctly boot the dos environment.<br />
Second attempt was booting a large disk image over PXE network boot, but that failed, as well.<br />
The final solution that worked was booting a dos floppy with network support from PXE or USB pen drive and then connect to a network share with the content of the firmware updating CD.<br />
The steps</p>
<h3>Creating the network boot floppy with the right driver (optional)</h3>
<h4>Creating the driver (optional)</h4>
<p>What you will need:</p>
<ul>
<li>X41 Broadcom NetXtreme Fast and Gigabit Ethernet drivers for DOS <a href="http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-58696">www-307.ibm.com/pc/support/&#8230;</a></li>
<li>A cab maker <a href="http://www.nu2.nu/download.php?sFile=makev3.zip">www.nu2.nu/&#8230;</a></li>
</ul>
<ol>
<li>Extract makev3 to a folder</li>
<li>In <b>makev3\source</b> create à folder name b57</li>
<li>Extract <i>B57.dos</i> and <i>Protocol.ini</i> from the ibm dos drivers (NDIS2/DOS ) to your <b>makev3\source\b57</b> folder</li>
<li>Rename <i>protocol.ini</i> to <i>B57.ini</i>
<li>Open the file in notepad and remove or comment the line <i>[B57]</i></li>
<li>Create a new text file named ndis.txt in the same folder and put a description in it like:<br />
<code>B57          Broadcom NetXtreme Gigabit Ethernet NDIS2 Driver 8.28</code></li>
<li>Open a command prompt and go into the <b>makev3</b> folder and execute <i>make b57</i></li>
</ol>
<p>You now have a working <i>b57.cab</i> file under <b>makev3\cabs</b></p>
<h4>Creating the boot floppy</h4>
<p>What you will need:</p>
<ul>
<li>Bart’s Network Boot Disk creator <a href="http://www.nu2.nu/bootdisk/network/makedisk/">www.nu2.nu/bootdisk/&#8230;</a></li>
<li>Download my <a href="http://www.fritscher.ch/data/x41flash/b57.cab"><i>b57.cab</i></a> or make it yourself (see above)</li>
</ul>
<ol>
<li>Extract Bat’s Network Boot Disk creator into a folder (for example <b>bfd107</b>)</li>
<li>Copy the <i>b57.cab</i> into <b>\bfd107\cabs\drivers\ndis\</b></li>
<li>Open a command prompt on the folder <b>bfd107</b> and run <i>bfd –i netboot.img</i></li>
</ol>
<p>You should have a <i>netboot.img</i> file in your network boot disk creator folder (<b>bfd107</b>)</p>
<h3><a name="pxe">Setting up the PXE server</a></h3>
<p>What you will need:</p>
<ul>
<li>A TFTP server <a href="http://tftpd32.jounin.net/">tftpd32</a></li>
<li>PXELINUX and MEMDISK <a href="http://syslinux.zytor.com/">syslinux.zytor.com</a> (files available <a href="http://www.kernel.org/pub/linux/utils/boot/syslinux/">www.kernel.org/&#8230;/syslinux/</a>)</li>
<li>Download my <a href="http://www.fritscher.ch/data/x41flash/netboot.img"><i>netboot.img</i></a> or use the one created in the step above</li>
</ul>
<ol>
<li>Extract TFTP into a folder (<b>tftp</b>)</li>
<li>Extract <i>pxelinu.0</i> and <b>memdisk\</b><i>memdisk</i> from the <i>syslinux-xx.zip</i> file into your <b>tftp</b> directory.</li>
<li>Copy your <i>netboot.img</i> file into the <b>tftp</b> directory</li>
<li>Create a folder named <b>pxelinux.cfg</b> (yes, with a .cfg)</li>
<li>In the <b>pxelinux.cfg</b> folder create a file named <i>default</i> containing this:<br />
<code><br />
DEFAULT Dos<br />
LABEL Dos<br />
  kernel memdisk<br />
  append initrd=netboot.img<br />
</code></li>
<li>Configure TFTP Settings</li>
</ol>
<p>Other sites that will help you to configure tftpd</p>
<ul>
<li><a href="http://www.thegreatone.me.uk/temp/txt/psg-pxehowto.html">Easy How To Set Up A PXE Server On Windows (98+)</a></li>
<li><a href="http://home.allegiance.tv/~joem298/">PXE Booting your M200 to DOS using a Windows Server</a></li>
</ul>
<h3>Sharing, Connecting, Patching</h3>
<p>What you will need:</p>
<ul>
<li>Utility to extract the files from the iso image <a href="http://www.7-zip.org/">7-zip</a></li>
<li>The bootable iso image with the firmware files <a href="http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&#038;lndocid=MIGR-62282">www-307.ibm.com/&#8230;</a></li>
</ul>
<p>Before we boot we have to configure the share that hosts the files from the iso image</p>
<ul>
<li>Extract the content of the image with <b>7-zip</b> or another program into a folder and share it.</li>
</ul>
<ol>
<li>Network Boot your laptop by pressing <b>F12</b> at startup</li>
<li>Choose <b>PCI LAN</b> (you should now be booting via PXE onto <i>netboot.img</i>)</li>
<li>At the first selection screen I used <i>Boot with emm386 (max memory)</i></li>
<li>Running Network Config -> ok</li>
<li>Auto detect PCI adapter -> Manual -> B57</li>
<li>Configure your network settings</li>
<li>TCP/IP or NwLink (IPX/SPX)
<p>If you use <b>TCP/IP</b> be sure that your pc or/and your domain allows login in with the deprecated security levels for dos.</p>
<p>Or you can install the <b>NWLink IPX/SPX/NetBIOS Compatible Transport Protocol</b>, under properties of your network connection on your windows machine.
</li>
<li>When you have successfully connected to the network you can type:<br />
<code>net use c: \\your-server\yourshare</code> to connect to the share</li>
<li>Then you change to the drive and run the firmware updating program:<br />
<code><br />
cd c:<br />
fw<br />
</code></li>
</ol>
<p><b>Warning!, I give you no warranty that it will work correctly for you! The dos environment is not the same as the one booted by the official CD-ROM, but the patching worked for me.</b></p>
<p>From the readme<br />
<code>Important Notice: Please REMOVE hard drive password.<br />
Otherwise firmware can't be updated with error message.<br />
</code></p>
<p>GOOD LUCK!</p>
<p>Related posts:<ol>
<li><a href='http://www.fritscher.ch/blog/2007/10/07/company-of-heroes-opposing-fronts-mission-8-black-screen/' rel='bookmark' title='Company of Heroes: Opposing fronts &#8211; mission 8 black screen'>Company of Heroes: Opposing fronts &#8211; mission 8 black screen</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.fritscher.ch/blog/2007/05/26/updating-ibm-thinkpad-x41-tablet-pc%e2%80%99s-hard-drive-firmware-by-pxe-booting-dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

