<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>beaglebone on Purinda Gunasekara</title>
		<link>https://purinda.com/tags/beaglebone/</link>
		<description>Recent content in beaglebone on Purinda Gunasekara</description>
		<generator>Hugo</generator>
		<language>en-AU</language>
		
		
		
		
			<lastBuildDate>Mon, 11 Aug 2014 08:40:17 +1000</lastBuildDate>
		
			<atom:link href="https://purinda.com/tags/beaglebone/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>QtMultimedia: FATAL: cannot locate cpu MHz in /proc/cpuinfo</title>
				<link>https://purinda.com/posts/fatal-cannot-locate-cpu-mhz-in-proccpuinfo/</link>
				<pubDate>Sun, 10 Aug 2014 23:51:30 +1000</pubDate>
				<guid>https://purinda.com/posts/fatal-cannot-locate-cpu-mhz-in-proccpuinfo/</guid>
				<description>&lt;p&gt;This became a problem for my Raspberry Pi (armv6h) running Archlinux (with a relatively newer kernel). Some users of my Grooveshark server reported some bufferring problems where it stopped streaming songs and reported “FATAL: cannot locate cpu MHz in /proc/cpuinfo”.&lt;/p&gt;&#xA;&lt;p&gt;Since the Grooveshark server is based on Qt5 I thought the new Qt5.3 version had some multimedia library changes that caused the issue, but turned out the issue is /proc/cpuinfo not producing CPU frequency for the ARM based CPUs. But what program is using a proc cpuinfo to determine CPU frequency without getting the value from sys filesystem exposed by the kernel? or using a monotonic clock as per newer kernels, which would provide timing capabilities without depending on system level changes, turned out there are quite a few programs around that depends on the value specified in “cpuinfo” file in proc filesystem. Including “jack” audio server which is a dependancy for QtMultimedia framework and number of other applications.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Multiple/Second SPI Buses on BeagleBone</title>
				<link>https://purinda.com/posts/multiple-spi-bus-beaglebone/</link>
				<pubDate>Mon, 01 Oct 2012 23:23:52 +1030</pubDate>
				<guid>https://purinda.com/posts/multiple-spi-bus-beaglebone/</guid>
				<description>&lt;h2 id=&#34;how-to-get-spi-to-work-on-beaglebone&#34;&gt;How to: Get SPI to work on Beaglebone &lt;a class=&#34;anchor&#34; href=&#34;#how-to-get-spi-to-work-on-beaglebone&#34; aria-label=&#34;Link to this section&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;If you want just one SPI port running, then most up to date images for beaglebone has enabled them by default.&lt;br&gt;&#xA;Location to get pre-compiled images with SPI1 enabled, &lt;a href=&#34;http://rcn-ee.net/deb/precise-armhf/v3.2.25-psp20/&#34;&gt;http://rcn-ee.net/deb/precise-armhf/v3.2.25-psp20/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;enabling-spi0&#34;&gt;Enabling SPI0 &lt;a class=&#34;anchor&#34; href=&#34;#enabling-spi0&#34; aria-label=&#34;Link to this section&#34;&gt;&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;h4 id=&#34;step-1&#34;&gt;Step 1 &lt;a class=&#34;anchor&#34; href=&#34;#step-1&#34; aria-label=&#34;Link to this section&#34;&gt;&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;In order to enable userland SPI we need to be able to rebuild the kernel, so grab the Linux source:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Beaglebone RF24(nRF24L01) Library</title>
				<link>https://purinda.com/posts/rf24bb/</link>
				<pubDate>Thu, 09 Aug 2012 15:15:45 +0000</pubDate>
				<guid>https://purinda.com/posts/rf24bb/</guid>
				<description>&lt;h2 id=&#34;why&#34;&gt;Why? &lt;a class=&#34;anchor&#34; href=&#34;#why&#34; aria-label=&#34;Link to this section&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;I started working on a project which require communication with multiple radios. I started looking at nRF24L01 chip and found it to be very useful, cheap little device which has many features built-in. Initially I got two AVRs to talk to each other through the simple library found here (&lt;a href=&#34;http://www.tinkerer.eu/AVRLib/nRF24L01&#34;&gt;http://www.tinkerer.eu/AVRLib/nRF24L01&lt;/a&gt;). But I found multiple issues with the library when the number of nodes in the network increases,&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
