<?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>twam&#039;s homepage &#38; weblog &#187; BIOS</title>
	<atom:link href="http://www.twam.info/tag/bios/feed" rel="self" type="application/rss+xml" />
	<link>http://www.twam.info</link>
	<description>My computer, internet, Linux &#38; electronics blog</description>
	<lastBuildDate>Fri, 10 Sep 2010 08:43:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Updating BIOS on ALIX.3D3 within Linux</title>
		<link>http://www.twam.info/linux/updating-bios-on-alix3d3-within-linux</link>
		<comments>http://www.twam.info/linux/updating-bios-on-alix3d3-within-linux#comments</comments>
		<pubDate>Wed, 06 May 2009 18:45:10 +0000</pubDate>
		<dc:creator>twam</dc:creator>
				<category><![CDATA[Alix]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ALIX.3D3]]></category>
		<category><![CDATA[BIOS]]></category>

		<guid isPermaLink="false">http://www.twam.info/?p=414</guid>
		<description><![CDATA[Usually BIOS updating means booting DOS and running a proprietary tool from the board vendor. A few days ago, coreboot&#8217;s flashrom 0.9 has realeased. It&#8217;s an open-source tool which supports program almost all flash chips used on x86 mainboards. Its compatibility list includes Geode™ CS5530/A, which can be found on the ALIX.3D3 board. So why not [...]]]></description>
			<content:encoded><![CDATA[<p>Usually BIOS updating means booting <a href="http://en.wikipedia.org/wiki/MS-DOS">DOS</a> and running a proprietary tool from the board vendor. A few days ago, coreboot&#8217;s <a href="http://www.coreboot.org/Flashrom">flashrom</a> 0.9 has <a href="http://www.coreboot.org/News#2009.2F05.2F04_flashrom_0.9.0_has_been_released">realeased</a>. It&#8217;s an open-source tool which supports program almost all flash chips used on x86 mainboards. Its compatibility list includes Geode™ CS5530/A, which can be found on the ALIX.3D3 board. So why not using flashrom to update ALIX.3D3 BIOS.</p>
<p><span id="more-414"></span>Sadly there is no ebuild for flashrom in portage, so Gentoo users (and maybe some other) have to build it on there own, but it&#8217;s quite easy. You need to install <a href="http://subversion.tigris.org/">subversion</a>, an open-source revision control system, first:</p>
<p>emerge -va subversion</p>
<p>As there is no portage package for flashrom, we need to install it somewhere. I installed it in /root/flashrom so it can be removed easily. You can achieve this by</p>
<pre>cd root
svn co svn://coreboot.org/flashrom/trunk flashrom
cd flashrom
make</pre>
<p>You can do an optional</p>
<pre>make install</pre>
<p>to install the binaries in /usr/local/sbin and install the man page. Now we should save our old BIOS. Running</p>
<pre>flashrom -r /root/bios_save.bin</pre>
<p>should display some info on the found chipset and flash chip:</p>
<pre>Calibrating delay loop... OK.
No coreboot table found.
Found chipset "AMD CS5536", enabling flash write... OK.
Found chip "AMIC A49LF040A" (512 KB) at physical address 0xfff80000.
Reading flash... done.</pre>
<p>If you have an image of the old installed BIOS you can check, if everything went right, by</p>
<pre>diff /root/bios_save.bin /root/bios_old.bin</pre>
<p>where /root/bios_old.bin is the old BIOS version, preferable found on the manufacturer&#8217;s website. Now we can update the BIOS. Download the new BIOS version (ALIX.3D3 can be found <a href="http://www.pcengines.ch/alix3d3.htm">here</a>) and run:</p>
<pre>flashrom -wv /root/bios_new.bin</pre>
<p>flashrom should print some information, a process status and after all a VERIFIED, if everything went right:</p>
<pre>Calibrating delay loop... OK.
No coreboot table found.
Found chipset "AMD CS5536", enabling flash write... OK.
Found chip "AMIC A49LF040A" (512 KB) at physical address 0xfff80000.
Flash image seems to be a legacy BIOS. Disabling checks.
Programming page: 0007 at address: 0x00070000
Verifying flash... VERIFIED.</pre>
<p>Now your BIOS should be updated. It&#8217;s time to plug (power) and pray.</p>
<p><strong>Update</strong>: After writing a <a href="http://bugs.gentoo.org/show_bug.cgi?id=268790">Gentoo Bug report</a>, there is now an <a href="http://packages.gentoo.org/package/sys-apps/flashrom">ebuild</a> in portage. You can install it by</p>
<pre>emerge -va flashrom</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.twam.info/linux/updating-bios-on-alix3d3-within-linux/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
