<?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>RidgeRun Blog</title>
	<atom:link href="http://www.ridgerun.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.ridgerun.com/blog</link>
	<description>Embedded News and something else</description>
	<lastBuildDate>Wed, 26 May 2010 14:46:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AM35x Evaluation SDK available!</title>
		<link>http://www.ridgerun.com/blog/?p=216</link>
		<comments>http://www.ridgerun.com/blog/?p=216#comments</comments>
		<pubDate>Wed, 26 May 2010 14:46:47 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Sitara]]></category>
		<category><![CDATA[AM35x]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=216</guid>
		<description><![CDATA[We are glad to make available our evaluation SDK for the AM35x EVM board.
RidgeRun SDK offers an integrated build system for this platform, with a proved solution for reliable product development and deployment, integrating the greatest of open source software and our know-how for TI SoCs.
Our Professional SDK includes support for advanced 3D User interfaces [...]]]></description>
			<content:encoded><![CDATA[<p>We are glad to make available our evaluation SDK for the <a href="http://www.logicpd.com/products/development-kits/zoom-am3517-evm-development-kit" target="_blank">AM35x EVM board</a>.</p>
<p>RidgeRun SDK offers an integrated build system for this platform, with a proved solution for reliable product development and deployment, integrating the greatest of open source software and our know-how for TI SoCs.</p>
<p>Our Professional SDK includes support for advanced 3D User interfaces with QT and Clutter.</p>
<p>Check our <a href="http://www.ridgerun.com/downloadcenter.shtml">download center</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=216</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DM365 AAC codec now working with gstreamer</title>
		<link>http://www.ridgerun.com/blog/?p=214</link>
		<comments>http://www.ridgerun.com/blog/?p=214#comments</comments>
		<pubDate>Thu, 22 Apr 2010 22:58:42 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Gstreamer]]></category>
		<category><![CDATA[DM365]]></category>
		<category><![CDATA[RidgeRun]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=214</guid>
		<description><![CDATA[TI is putting out codecs for the DM365 faster than we can supported in GStreamer  .
Now you find mpeg2, VC1, AEC, mp3, aac, wma codecs for DM365. Thanks to the work we did in the past for the Leopard DM355, we were able to adapt gstreamer-ti DDOMPE branch to support the AAC codecs for [...]]]></description>
			<content:encoded><![CDATA[<p>TI is putting out codecs for the DM365 faster than we can supported in GStreamer <img src='http://www.ridgerun.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Now you find mpeg2, VC1, AEC, mp3, aac, wma codecs for DM365. Thanks to the work we did in the past for the Leopard DM355, we were able to adapt gstreamer-ti DDOMPE branch to support the AAC codecs for DM365, and unlike the DM355 this codec doesn&#8217;t froze when you try to encode along with alsa. So encoding aac audio is as simple as:</p>
<blockquote><p>gst-launch -e alsasrc ! dmaienc_aac ! qtmux ! filesrc location = test.m4a</p></blockquote>
<p>This generates files that can be playback with quicktime or any standard media player. The properties of the plugin also allow to configure the encoder to generate the proper streams if you intend to do network streaming.</p>
<p>Audio decoding isn&#8217;t working out of the box as we need to implement some code handling for extended arguments on the decoding side (replicating the logic we have for encoders).</p>
<p>We have improved RidgeRun SDK for DM365 platforms to support automatic download and compilation of the AAC codecs if the user selects it (without requiring manual intervention). If you are looking into using the mp3, wma, aec, mpeg2, or VC1 codec in gstreamer, talk to us, we can make that happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=214</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing RidgeRun YouTube Channel</title>
		<link>http://www.ridgerun.com/blog/?p=209</link>
		<comments>http://www.ridgerun.com/blog/?p=209#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:54:51 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[RidgeRun]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=209</guid>
		<description><![CDATA[We are happy to introduce our own YouTube Channel.
This channel will be used to post videos on trainings, or demos we have. You can see, we already have some videos showing GStreamer daemon technology.
Enjoy.
]]></description>
			<content:encoded><![CDATA[<p>We are happy to introduce our own <a href="http://www.youtube.com/RidgeRunEngineering">YouTube Channel</a>.</p>
<p>This channel will be used to post videos on trainings, or demos we have. You can see, we already have some videos showing GStreamer daemon technology.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=209</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RidgeRun SDK for Leopard DM365 (BETA) is out.</title>
		<link>http://www.ridgerun.com/blog/?p=207</link>
		<comments>http://www.ridgerun.com/blog/?p=207#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:34:07 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Gstreamer]]></category>
		<category><![CDATA[LeopardBoard]]></category>
		<category><![CDATA[DM365]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=207</guid>
		<description><![CDATA[We have made available our SDK for the LeopardBoard DM365.
This is a beta release since the quality of the drivers and functionality is still subject to much improvement. However we wanted community users to have something to get started as soon as possible.
In our developer site, you will find the documentation with the current know [...]]]></description>
			<content:encoded><![CDATA[<p>We have made available our SDK for the <a href="http://designsomething.org/leopardboard/default.aspx">LeopardBoard DM365</a>.</p>
<p>This is a beta release since the quality of the drivers and functionality is still subject to much improvement. However we wanted community users to have something to get started as soon as possible.</p>
<p>In our developer site, you will find the <a href="http://developer.ridgerun.com/wiki/index.php/LeopardBoard_DM365">documentation</a> with the current know issues, and the work plan for fixing them.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=207</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing RidgeRun Developer Connection</title>
		<link>http://www.ridgerun.com/blog/?p=204</link>
		<comments>http://www.ridgerun.com/blog/?p=204#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:28:12 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[RidgeRun]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=204</guid>
		<description><![CDATA[We are happy to introduce our new RidgeRun Developer Connection site.
This wiki will provide updated documentation, whitepapers, release notes, regarding using RidgeRun technologies. We also use it as the basis for documenting some of our research and development projects, allowing people to try out the latest we are working on (if you are brave enough!).
The [...]]]></description>
			<content:encoded><![CDATA[<p>We are happy to introduce our new <a href="http://developer.ridgerun.com">RidgeRun Developer Connection site</a>.</p>
<p>This wiki will provide updated documentation, whitepapers, release notes, regarding using RidgeRun technologies. We also use it as the basis for documenting some of our research and development projects, allowing people to try out the latest we are working on (if you are brave enough!).</p>
<p>The wiki is open only to RidgeRun developers for editing at this point, but we hope that will change on the future as the sites matures. If you feel you can contribute, let us know and we can provide you editing access.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=204</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard DM365 is out</title>
		<link>http://www.ridgerun.com/blog/?p=198</link>
		<comments>http://www.ridgerun.com/blog/?p=198#comments</comments>
		<pubDate>Thu, 25 Feb 2010 23:08:53 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Davinci]]></category>
		<category><![CDATA[Gstreamer]]></category>
		<category><![CDATA[LeopardBoard]]></category>
		<category><![CDATA[DM365]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=198</guid>
		<description><![CDATA[In case you miss the news, the Leopard DM365 board is now available.
We will be rolling an SDK for it pretty soon (less than two weeks).
]]></description>
			<content:encoded><![CDATA[<p>In case you miss the news, the <a href="http://www.linuxfordevices.com/c/a/News/Leopard-Imaging-Leopard-Board-365-and-355/">Leopard DM365 board is now available</a>.</p>
<p>We will be rolling an SDK for it pretty soon (less than two weeks).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=198</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluation OMAPL138 SDK</title>
		<link>http://www.ridgerun.com/blog/?p=193</link>
		<comments>http://www.ridgerun.com/blog/?p=193#comments</comments>
		<pubDate>Wed, 24 Feb 2010 23:53:17 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[L13x]]></category>
		<category><![CDATA[OMAPL138]]></category>
		<category><![CDATA[hawkboard]]></category>
		<category><![CDATA[L138]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=193</guid>
		<description><![CDATA[We are glad to release an Evaluation SDK for the OMAPL138 EVM/experimenter board.
This Evaluation SDK allows people to evaluate the capabilities of RidgeRun&#8217; SDK software integration on the EVM hardware. Our highlights are:

Support for the touchscreen on EVM
Automatic integration and build of the DSP software components.
DMAI integration.
Examples for development of DSP algorithms using IUniversal and xDAIS integrated.

The professional [...]]]></description>
			<content:encoded><![CDATA[<p>We are glad to release an Evaluation SDK for the <a href="http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit">OMAPL138 EVM/experimenter board</a>.</p>
<p>This Evaluation SDK allows people to evaluate the capabilities of RidgeRun&#8217; SDK software integration on the EVM hardware. Our highlights are:</p>
<ul>
<li>Support for the touchscreen on EVM</li>
<li>Automatic integration and build of the DSP software components.</li>
<li>DMAI integration.</li>
<li>Examples for development of DSP algorithms using IUniversal and xDAIS integrated.</li>
</ul>
<p>The professional SDK for L138 is available as well that could be used for create your own custom hardware based on L138, and includes gstreamer integration and support for L138 of the DSP components. Professional SDK includes engineering support for your product development from our engineers as well. <a href="http://www.ridgerun.com/contactus.shtml">Contact us</a> for more information.</p>
<p><a href="http://www.hawkboard.org/">Hawkboard</a> support coming soon.</p>
<p>You can download the Evaluation SDK for OMAPL138 EVM from our <a href="http://www.ridgerun.com/downloadcenter.shtml">download center</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=193</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing disptec project</title>
		<link>http://www.ridgerun.com/blog/?p=191</link>
		<comments>http://www.ridgerun.com/blog/?p=191#comments</comments>
		<pubDate>Mon, 22 Feb 2010 23:37:23 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[OMAPL138]]></category>
		<category><![CDATA[Costa Rica]]></category>
		<category><![CDATA[Gstreamer]]></category>
		<category><![CDATA[L138]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=191</guid>
		<description><![CDATA[RidgeRun is working along Costa Rica TEC into a project for developing xDAIS DSP algorithms for TI processors.
Here is the press release for the resources donations.
Here is the project&#8217;s blog.
]]></description>
			<content:encoded><![CDATA[<p>RidgeRun is working along Costa Rica TEC into a project for developing <a href="http://sourceforge.net/apps/mediawiki/disptec/index.php?title=Main_Page">xDAIS DSP algorithms for TI processors</a>.</p>
<p>Here is the <a href="http://www.ticotimes.net/dailyarchive/2010_02/0219103.cfm">press release for the resources donations</a>.</p>
<p>Here is the <a href="http://sourceforge.net/apps/wordpress/disptec/">project&#8217;s blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=191</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Costa Rica Embedded Technology Conference 2010</title>
		<link>http://www.ridgerun.com/blog/?p=188</link>
		<comments>http://www.ridgerun.com/blog/?p=188#comments</comments>
		<pubDate>Fri, 05 Feb 2010 19:10:49 +0000</pubDate>
		<dc:creator>ddompe</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Costa Rica]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=188</guid>
		<description><![CDATA[Thanks to the collaboration between RidgeRun, Costa Rica Institute of Technology, and Texas Instruments, we are announcing our first conference on the subject of embedded technology. We will be doing presentations for students on several subjects and introducing them to the research project on DSP algorithm development.
For more information visit the conference page.
]]></description>
			<content:encoded><![CDATA[<p>Thanks to the collaboration between RidgeRun, <a href="http://www.tec.ac.cr">Costa Rica Institute of Technology</a>, and Texas Instruments, we are announcing our first conference on the subject of embedded technology. We will be doing presentations for students on several subjects and introducing them to the <a href="http://disptec.sourceforge.net/">research project on DSP algorithm development</a>.</p>
<p>For more information visit the <a href="http://www.ridgerun.com/conference/">conference page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=188</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging with the aid of a CPU register dump</title>
		<link>http://www.ridgerun.com/blog/?p=184</link>
		<comments>http://www.ridgerun.com/blog/?p=184#comments</comments>
		<pubDate>Wed, 25 Nov 2009 23:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ridgerun.com/blog/?p=184</guid>
		<description><![CDATA[I was testing the new DM6446 SPI support I had added to u-boot when I got a data abort.
U-Boot > sspi 0 32 abcd
data abort
pc : []	   lr : []
sp : 8104fe3c  ip : 00000d39	 fp : 00000001
r10: 00000002  r9 : 00000000	 r8 : 8104ffdc
r7 : 000f4240  r6 : 00000000	 [...]]]></description>
			<content:encoded><![CDATA[<p>I was testing the new DM6446 SPI support I had added to u-boot when I got a data abort.</p>
<blockquote><p>U-Boot > sspi 0 32 abcd<br />
data abort<br />
pc : [<810a3674>]	   lr : [<810a3638>]<br />
sp : 8104fe3c  ip : 00000d39	 fp : 00000001<br />
r10: 00000002  r9 : 00000000	 r8 : 8104ffdc<br />
r7 : 000f4240  r6 : 00000000	 r5 : 00000000  r4 : 810602b8<br />
r3 : 00000001  r2 : 01c66800	 r1 : 00000019  r0 : 810602b8<br />
Flags: NzCv  IRQs off  FIQs off  Mode SVC_32<br />
Resetting CPU &#8230;</p></blockquote>
<p>Egads, what should I do with that information? Actually, it is really rather easy to figure out what line of source code caused the problem.  Here are the steps I used.</p>
<p>First, look in u-boot.map where you found the u-boot.bin that you loaded into your target hardware.  Search for the library with the address closest (but lower) to the address shown in the dump for the pc (program counter) register &#8211; 0&#215;810a3674 in my case.  Note that the PC was incremented by 4, so the address of interest is at 0&#215;810a3670</p>
<p>from u-boot.map:</p>
<blockquote><p>.text          0&#215;810a3428      0&#215;25c drivers/spi/libspi.a</p></blockquote>
<p>This is the collection of object files in an archive (the .a file) from the drivers/spi directory.</p>
<p>Since the PC address when the data abort occurred is 0&#215;810a3670, and libspi.a starts 0&#215;810a3428, the problem occurred 0&#215;248 offset inside libspi.a.</p>
<p>Second, use objdump to see what is 0&#215;248 bytes from the start of the libspi.a.</p>
<blockquote><p>arm-linux-gnueabi-objdump -dS drivers/spi/libspi.a</p></blockquote>
<p>which produces, in part</p>
<blockquote><p>static inline void spi_out32(u32 addr, u32 data)<br />
{<br />
        __raw_writel(data,addr);<br />
 244:   e5832000        str     r2, [r3]</p>
<p>        /* Take SPI module out of reset */<br />
        spi_set_bits(SPI_GCR0, 1);</p>
<p>        /* Take SPI module out of reset */<br />
        spi_set_bits(SPI_GCR0, 1);</p>
<p>        return &#038;spi_bus->slave;<br />
}<br />
 248:   e8bd84f0        pop     {r4, r5, r6, r7, sl, pc}</p></blockquote>
<p>the source code objdump added to the assembly listing isn&#8217;t exactly right (because I have compiler optimization enabled), but you can see the problem is near the return from the spi_setup_slave() function that caused the data abort.</p>
<p>Hmm, turns out it was one instruction before &#8211; at offset 0&#215;244 &#8211; there is more instruction pipelining that I realized, the causing the value of PC to be incremented for two instructions before the data abort occurred.</p>
<p>In look at the inline function </p>
<blockquote><p>
static inline void spi_set_bits(u32 addr, u32 bits)<br />
{<br />
       u32 v = spi_in32(addr);<br />
       v |= bits;<br />
       spi_out32(v, addr);<br />
}</p></blockquote>
<p>I see I have the arguments backwards in the spi_out32 call.  Changing the line to:</p>
<blockquote><p>       spi_out32(addr,v );</p></blockquote>
<p>fixed the problem.</p>
<p>I hope this simple example shows how with the aid of a symbol (map) file and using objdump, you can use the PC address where the problem occurred to quickly locate the line of offending code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ridgerun.com/blog/?feed=rss2&amp;p=184</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
