<?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>Chaos Computing</title>
	<atom:link href="http://christian-gmeiner.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://christian-gmeiner.info</link>
	<description>Wer kämpft, kann verlieren. Wer nicht kämpft hat schon verloren.</description>
	<lastBuildDate>Fri, 17 May 2013 08:25:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Building etna_viv on the sabre lite</title>
		<link>http://christian-gmeiner.info/2013/04/29/building-etna_viv-on-the-sabre-lite/</link>
		<comments>http://christian-gmeiner.info/2013/04/29/building-etna_viv-on-the-sabre-lite/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 19:03:10 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[etna_viv]]></category>
		<category><![CDATA[imx6q]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=359</guid>
		<description><![CDATA[At the moment I am playing around with a cute nice little imx6q board &#8211; the sabre lite. I am running a freescale based RFS with the binary libGAL.so blob in the user space. So why not look into etna_viv &#8230; <a href="http://christian-gmeiner.info/2013/04/29/building-etna_viv-on-the-sabre-lite/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>At the moment I am playing around with a cute nice little imx6q board &#8211; <a href="http://boundarydevices.com/products/sabre-lite-imx6-sbc/" target="_blank">the sabre lite</a>.</p>
<p>I am running a freescale based RFS with the binary libGAL.so blob in the user space. So why<br />
not look into etna_viv and get it compiled. It turns out to be as simple as this.</p>
<pre class="brush: bash; title: ; notranslate">
git clone git://github.com/laanwj/etna_viv.git
cd etna_viv/native
export GCABI=imx6
export CFLAGS=&quot;-D_POSIX_C_SOURCE=200809 -D_GNU_SOURCE -DLINUX -pthread&quot;
export CXXFLAGS=&quot;-D_POSIX_C_SOURCE=200809 -D_GNU_SOURCE -DLINUX -pthread&quot;
make
</pre>
<p>At the moment the GC2000 support is non existent but it should be possible to add support<br />
for it in the foreseeable future. To get a picture what needs to be done have a lookt at<br />
<a href="https://blog.visucore.com/2013/3/3/gc2000-vs-gc800" target="_blank">https://blog.visucore.com/2013/3/3/gc2000-vs-gc800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/04/29/building-etna_viv-on-the-sabre-lite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery: autoscroll to last line of a div</title>
		<link>http://christian-gmeiner.info/2013/03/16/jquery-autoscroll-to-last-line-of-a-div/</link>
		<comments>http://christian-gmeiner.info/2013/03/16/jquery-autoscroll-to-last-line-of-a-div/#comments</comments>
		<pubDate>Sat, 16 Mar 2013 17:18:58 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=343</guid>
		<description><![CDATA[Image you are working on a small web application where you use a JQuery UI dialog to inform the user about the current process. Triggered via SSE I am appending some messages via JavaScript. In order to automaticly scroll to &#8230; <a href="http://christian-gmeiner.info/2013/03/16/jquery-autoscroll-to-last-line-of-a-div/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Image you are working on a small web application where you use a JQuery UI dialog<br />
to inform the user about the current process. </p>
<pre class="brush: xml; title: ; notranslate">
&lt;ul id=&quot;progress&quot; style=&quot;width: 300px; height: 200px; overflow: auto&quot;&gt;
&lt;/ul&gt;
</pre>
<p>Triggered via SSE I am appending some messages via JavaScript.</p>
<pre class="brush: jscript; title: ; notranslate">
$('#progress').append(&quot;&lt;span class='ui-icon ui-icon-alert' style='float: left; margin-right: .3em';&gt;&lt;/span&gt;&quot; + stderr + &quot;&lt;br&gt;&quot;);
</pre>
<p>In order to automaticly scroll to the last line I am using this two magic lines of JavaScript:</p>
<pre class="brush: jscript; title: ; notranslate">
var height = $('#progress')[0].scrollHeight;
$('#progress').scrollTop(height);
</pre>
<p>It is simple as that.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/03/16/jquery-autoscroll-to-last-line-of-a-div/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git: RPC failed; result=22, HTTP code = 504</title>
		<link>http://christian-gmeiner.info/2013/03/07/git-rpc-failed/</link>
		<comments>http://christian-gmeiner.info/2013/03/07/git-rpc-failed/#comments</comments>
		<pubDate>Thu, 07 Mar 2013 15:44:38 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=337</guid>
		<description><![CDATA[The error occurs in &#8216;libcurl&#8217;, which is the underlying protocol for http. To get more details about the error, set GIT_CURL_VERBOSE=1]]></description>
				<content:encoded><![CDATA[<pre class="brush: bash; title: ; notranslate">
git clone http://review.coreboot.org/p/coreboot.git coreboot
Cloning into 'coreboot'...
error: RPC failed; result=22, HTTP code = 504
fatal: The remote end hung up unexpectedly
</pre>
<p>The error occurs in &#8216;libcurl&#8217;, which is the underlying protocol for http. To get more details about the error, set GIT_CURL_VERBOSE=1</p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/03/07/git-rpc-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMBus Compatibility With an I²C Device</title>
		<link>http://christian-gmeiner.info/2013/02/23/smbus-compatibility-with-an-i%c2%b2c-device/</link>
		<comments>http://christian-gmeiner.info/2013/02/23/smbus-compatibility-with-an-i%c2%b2c-device/#comments</comments>
		<pubDate>Sat, 23 Feb 2013 10:54:30 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[i2c]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[SMBus]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=327</guid>
		<description><![CDATA[Some naive guys &#8211; like me &#8211; think that SMBus and I²C are equal expect the bus level. But in the last days I run into a problem where an at24 based EEPROM connected via SMBus triggers a bus collision &#8230; <a href="http://christian-gmeiner.info/2013/02/23/smbus-compatibility-with-an-i%c2%b2c-device/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some naive guys &#8211; like me &#8211; think that SMBus and I²C are equal expect the bus level. But in the last days I run into a problem where an at24 based EEPROM connected via SMBus triggers a bus collision after a warm reboot. After some hours of debugging &#8211; even staring minutes at a oscilloscope showing SDD and SDC lines &#8211; I started to add some dump_stack() calls into i2c_core.c file form a recent linux kernel. And I found the bad bus transaction &#8211; i2c_probe_func_quick_read(..).</p>
<p>But whats exactly the problem here?</p>
<blockquote><p>The SMBus specification describes a number of standardized<br />
transactions. Each chip on the bus can support each given transaction<br />
type or not. In practice, each slave chip only supports a subset of the<br />
SMBus specification. The Linux i2c subsystem abuses this<br />
transaction type for device detection purposes, because it is known to<br />
give good results in practice, but ideally it shouldn&#8217;t do that.</p>
<p>There have been some devices known to lock up the SMBus on Quick<br />
command with data bit = 1. In most cases<br />
these were write-only devices, which didn&#8217;t expect a transaction<br />
starting like a read (the SMBus specification says that a Quick command<br />
with data bit = 1 is writing 1 bit to the slave, but the I2C<br />
specification says this is a _read_ transaction of length 0.)</p>
<p>This SMBus Quick command thing keeps causing trouble and confusing<br />
people. Not much we can do though. If your slaves don&#8217;t like the quick<br />
command, just don&#8217;t send that command to them.</p>
<p><a href="http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg00209.html" title="SMBus quick command problem" target="_blank">SMBus quick command problem</a>
</p></blockquote>
<p>The solution is quite simple: use i2c_new_probed_device(..) function for probing devices on the SMBus/I²C-Bus. By the way I have found a nice comparison from TI: <a href="http://www.ti.com/lit/an/sloa132/sloa132.pdf" target="_blank">SMBus vs. I²C</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/23/smbus-compatibility-with-an-i%c2%b2c-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending patches from a local git repository</title>
		<link>http://christian-gmeiner.info/2013/02/15/sending-patches-from-a-local-git-repository/</link>
		<comments>http://christian-gmeiner.info/2013/02/15/sending-patches-from-a-local-git-repository/#comments</comments>
		<pubDate>Fri, 15 Feb 2013 15:40:49 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=311</guid>
		<description><![CDATA[At the moment I am reworking some old seabios patches as I want them in upstream. At the moment my git log shows this: The first step is to generate the patches. Now we simply need to send them via &#8230; <a href="http://christian-gmeiner.info/2013/02/15/sending-patches-from-a-local-git-repository/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>At the moment I am reworking some old seabios patches as I want them in upstream. At the moment my git log shows this:</p>
<pre class="brush: plain; title: ; notranslate">
commit fd7e6128d5fb9b8297a4a20f3288c130a554147b
Author: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Date:   Thu Feb 14 10:24:59 2013 +0100

    geodevga: fix wrong define name
    
    Signed-off-by: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;

commit b1268e8100f0bcf0655b65326856e6f33e3625c1
Author: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Date:   Thu Feb 14 10:22:58 2013 +0100

    geodevga: add debug to msr functions
    
    Signed-off-by: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;

commit dde4df84126a460c454ca79fc8dc5b0ae4aa876e
Author: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Date:   Thu Feb 14 10:19:05 2013 +0100

    geodevga: move output setup to own function
    
    Signed-off-by: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;

commit bba85a38c67aa2b52f146b5cefe58b00f516fc2e
Author: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Date:   Thu Feb 14 10:13:59 2013 +0100

    geodevga: move framebuffer setup
    
    Framebuffer setup has nothing to do with dc_setup(..) so
    move it to  geodevga_init(..).
    
    Signed-off-by: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;

commit 0b3dee01385e65f2b88600c9b663589343ac4abe
Author: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Date:   Thu Feb 14 10:05:45 2013 +0100

    geodevga: fix errors in geode_fp_* functions
    
    Signed-off-by: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;

commit 4b1d2be6e1c73d1fc9a984ca7fe6c14d433171cc
Author: David Woodhouse &amp;lt;David.Woodhouse@intel.com&amp;gt;
Date:   Sun Feb 10 00:51:56 2013 +0000

    Unify return path for CSM to go via csm_return()
    
    This allows us to keep the entry_csm code simple, and ensures that we
    consistently do things like saving the PIC mask (and later setting
    UmbStart) on the way back to UEFI.
...
</pre>
<p>The first step is to generate the patches.</p>
<pre class="brush: bash; title: ; notranslate">
$ git format-patch -M origin/master
0001-geodevga-fix-errors-in-geode_fp_-functions.patch
0002-geodevga-move-framebuffer-setup.patch
0003-geodevga-move-output-setup-to-own-function.patch
0004-geodevga-add-debug-to-msr-functions.patch
0005-geodevga-fix-wrong-define-name.patch
</pre>
<p>Now we simply need to send them via mail &#8211; git helps here too <img src='http://christian-gmeiner.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: bash; title: ; notranslate">
$ git send-email *.patch
0001-geodevga-fix-errors-in-geode_fp_-functions.patch
0001-geodevga-fix-wrong-define-name.patch
0002-geodevga-move-framebuffer-setup.patch
0003-geodevga-move-output-setup-to-own-function.patch
0004-geodevga-add-debug-to-msr-functions.patch
0005-geodevga-fix-wrong-define-name.patch
Who should the emails appear to be from? [Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;]                                                                   
Emails will be sent from: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Who should the emails be sent to (if any)? seabios@seabios.org                                                                                               
Message-ID to be used as In-Reply-To for the first email (if any)?                                                                                           
(mbox) Adding cc: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt; from line 'From: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;'
(body) Adding cc: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt; from line 'Signed-off-by: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;'

From: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
To: seabios@seabios.org
Cc: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Subject: [PATCH 1/5] geodevga: fix errors in geode_fp_* functions
Date: Thu, 14 Feb 2013 10:34:32 +0100
Message-Id: &amp;lt;1360834477-18802-1-git-send-email-christian.gmeiner@gmail.com&amp;gt;
X-Mailer: git-send-email 1.7.12.2.421.g261b511

    The Cc list above has been expanded by additional
    addresses found in the patch commit message. By default
    send-email prompts before sending whenever this occurs.
    This behavior is controlled by the sendemail.confirm
    configuration setting.

    For additional information, run 'git send-email --help'.
    To retain the current behavior, but squelch this message,
    run 'git config --global sendemail.confirm auto'.

Send this email? ([y]es|[n]o|[q]uit|[a]ll): a                                                                                                                
OK. Log says:
Server: smtp.gmail.com
MAIL FROM:&amp;lt;christian.gmeiner@gmail.com&amp;gt;
RCPT TO:&amp;lt;seabios@seabios.org&amp;gt;
RCPT TO:&amp;lt;christian.gmeiner@gmail.com&amp;gt;
From: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
To: seabios@seabios.org
Cc: Christian Gmeiner &amp;lt;christian.gmeiner@gmail.com&amp;gt;
Subject: [PATCH 1/5] geodevga: fix errors in geode_fp_* functions
Date: Thu, 14 Feb 2013 10:34:32 +0100
Message-Id: &amp;lt;1360834477-18802-1-git-send-email-christian.gmeiner@gmail.com&amp;gt;
X-Mailer: git-send-email 1.7.12.2.421.g261b511

Result: 250 2.0.0 OK 1360833086 q5sm77386411eep.11 - gsmtp

...
...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/15/sending-patches-from-a-local-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I ♥ Free Software</title>
		<link>http://christian-gmeiner.info/2013/02/14/i-love-free-software/</link>
		<comments>http://christian-gmeiner.info/2013/02/14/i-love-free-software/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 17:03:02 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[ilovefs]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=316</guid>
		<description><![CDATA[Today is February 14. Some think of it as flower grocer appreciation day, but most (and for better reasons) celebrate it as the international I ♥ Free Software day. Free and open source software makes it possible to fix problems &#8230; <a href="http://christian-gmeiner.info/2013/02/14/i-love-free-software/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Today is February 14. Some think of it as flower grocer appreciation day, but most (and for better reasons) celebrate it as the international <a href="http://fsfe.org/campaigns/ilovefs/2013/ilovefs.en.html" target="_blank">I ♥ Free Software day</a>.</p>
<p><a href="http://christian-gmeiner.info/wp-content/uploads/2013/02/valentine-2010.png"><img class="aligncenter size-full wp-image-317" alt="valentine-2010" src="http://christian-gmeiner.info/wp-content/uploads/2013/02/valentine-2010.png" width="627" height="105" /></a></p>
<p>Free and open source software makes it possible to fix problems and/or implement new features in software I use. I could write a lot of text why I think it is a good idea to support the open source community but I want you to form an opinion about this topic buy simply using open source software and support it. It does not mean you need to send in some patches&#8230; it starts with simple things like bug reports or user support.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/14/i-love-free-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which colors can work together?</title>
		<link>http://christian-gmeiner.info/2013/02/12/which-colors-can-work-together/</link>
		<comments>http://christian-gmeiner.info/2013/02/12/which-colors-can-work-together/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 13:07:52 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[colors]]></category>

		<guid isPermaLink="false">http://christian-gmeiner.info/?p=308</guid>
		<description><![CDATA[In some rare cases I need to find the correct colors that can &#8216;work&#8217; together. As I do not call me the graphical/designer guy I always use little helpers. http://colorschemedesigner.com]]></description>
				<content:encoded><![CDATA[<p>In some rare cases I need to find the correct colors that can &#8216;work&#8217; together. As I do not call me the graphical/designer guy I always use little helpers.</p>
<p><a href="http://colorschemedesigner.com/" target="_blank">http://colorschemedesigner.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/12/which-colors-can-work-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The choice of jQuery selector&#8217;s</title>
		<link>http://christian-gmeiner.info/2013/02/05/the-choice-of-jquery-selectors/</link>
		<comments>http://christian-gmeiner.info/2013/02/05/the-choice-of-jquery-selectors/#comments</comments>
		<pubDate>Tue, 05 Feb 2013 12:18:19 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[selector]]></category>

		<guid isPermaLink="false">http://www.christian-gmeiner.info/?p=150</guid>
		<description><![CDATA[Sometimes if you are doing some fancy HTML5 development you wonder what jQuery selector would do the job. In such a case I can recommend the following little helper http://codylindley.com/jqueryselectors/]]></description>
				<content:encoded><![CDATA[<p>Sometimes if you are doing some fancy HTML5 development you wonder what jQuery selector<br />
would do the job. In such a case I can recommend the following little helper <img src='http://christian-gmeiner.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="Selectors" href="http://codylindley.com/jqueryselectors/" target="_blank">http://codylindley.com/jqueryselectors/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/05/the-choice-of-jquery-selectors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add vendor specific information&#8217;s to a coreboot rom</title>
		<link>http://christian-gmeiner.info/2013/02/05/add-vendor-specific-informations-to-a-coreboot-rom/</link>
		<comments>http://christian-gmeiner.info/2013/02/05/add-vendor-specific-informations-to-a-coreboot-rom/#comments</comments>
		<pubDate>Tue, 05 Feb 2013 10:54:43 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[coreboot]]></category>

		<guid isPermaLink="false">http://www.christian-gmeiner.info/?p=290</guid>
		<description><![CDATA[Sometimes it is needed to add some vendor specific information&#8217;s like a version string to a generated coreboot rom. For this example we assume we want the area from 0&#215;00 to 0&#215;30 for such kind of data. The first idea &#8230; <a href="http://christian-gmeiner.info/2013/02/05/add-vendor-specific-informations-to-a-coreboot-rom/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Sometimes it is needed to add some vendor specific information&#8217;s like a version string<br />
to a generated coreboot rom. For this example we assume we want the area from 0&#215;00 to 0&#215;30<br />
for such kind of data.</p>
<p>The first idea is to use cbfstool. Thanks to some guys in the IRC channel it looks like the<br />
current build system does something like:</p>
<pre class="brush: bash; title: ; notranslate">
cbfstool -o $$(( $(CONFIG_ROM_SIZE) - $(CONFIG_CBFS_SIZE) )) ...
</pre>
<p>So all we need is to change CBFS_SIZE to ROM_SIZE &#8211; 0&#215;30 in .config file.</p>
<pre class="brush: bash; title: ; notranslate">
...
CONFIG_CONSOLE_SERIAL8250=y
# CONFIG_USBDEBUG is not set
# CONFIG_K8_REV_F_SUPPORT is not set
CONFIG_CPU_ADDR_BITS=32
CONFIG_BOARD_ROMSIZE_KB_2048=y
# CONFIG_COREBOOT_ROMSIZE_KB_64 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_128 is not set
# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set
...
CONFIG_CORE_GLIU_500_266=y
CONFIG_PLLMSRhi=0x39c
# CONFIG_NORTHBRIDGE_AMD_AGESA is not set
# CONFIG_AMD_NB_CIMX is not set
# CONFIG_NORTHBRIDGE_AMD_CIMX_RD890 is not set
CONFIG_CBFS_SIZE=0x1FFFD0

#
# Southbridge
#
CONFIG_SOUTHBRIDGE_AMD_CS5536=y
...
</pre>
<p>This results in the wanted result:</p>
<pre class="brush: bash; title: ; notranslate">
...
coreboot.rom: 2048 kB, bootblocksize 688, romsize 2097152, offset 0x30
alignment: 64 bytes, architecture: x86

Name                           Offset     Type         Size
vsa                            0x30       stage        55124
config                         0xd7c0     raw          2810
(empty)                        0xe300     null         7256
fallback/romstage              0xff80     stage        19339
fallback/coreboot_ram          0x14b80    stage        38852
fallback/payload               0x1e380    payload      21831
(empty)                        0x23900    null         1950728
</pre>
<p>And here the file based prove:</p>
<pre class="brush: bash; title: ; notranslate">
# hexedit build/coreboot.rom 
00000000   FF FF FF FF  FF FF FF FF  ........
00000008   FF FF FF FF  FF FF FF FF  ........
00000010   FF FF FF FF  FF FF FF FF  ........
00000018   FF FF FF FF  FF FF FF FF  ........
00000020   FF FF FF FF  FF FF FF FF  ........
00000028   FF FF FF FF  FF FF FF FF  ........
00000030   4C 41 52 43  48 49 56 45  LARCHIVE
00000038   00 00 D7 54  00 00 00 10  ...T....
00000040   00 00 00 00  00 00 00 28  .......(
</pre>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/05/add-vendor-specific-informations-to-a-coreboot-rom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect initramfs under Debian squeeze</title>
		<link>http://christian-gmeiner.info/2013/02/04/detect-initramfs-under-debian-squeeze/</link>
		<comments>http://christian-gmeiner.info/2013/02/04/detect-initramfs-under-debian-squeeze/#comments</comments>
		<pubDate>Mon, 04 Feb 2013 09:11:19 +0000</pubDate>
		<dc:creator>Christian Gmeiner</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.christian-gmeiner.info/?p=285</guid>
		<description><![CDATA[I am looking for a way to detect If a initramfs was used during boot. And after some reboots and reading of init script of initramfs-tools I found this solution. This may not work under wheezy or any other working &#8230; <a href="http://christian-gmeiner.info/2013/02/04/detect-initramfs-under-debian-squeeze/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I am looking for a way to detect If a initramfs was used during boot. And after some reboots<br />
and reading of init script of initramfs-tools I found this solution.</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash

if [ -e /dev/.initramfs ]; then
        echo YES
else
        echo NO
fi
</pre>
<p>This may not work under wheezy or any other working distribution. But that&#8217;s okay for now <img src='http://christian-gmeiner.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://christian-gmeiner.info/2013/02/04/detect-initramfs-under-debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
