<?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>open-nandra &#187; Linux</title>
	<atom:link href="http://open-nandra.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://open-nandra.com</link>
	<description>open source</description>
	<lastBuildDate>Sun, 01 Jan 2012 13:10:31 +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>Compile 32bit kernel on 64 bit machine without chroot magic</title>
		<link>http://open-nandra.com/2011/10/compile-32bit-kernel-on-64-bit-machine-without-chroot-magic/</link>
		<comments>http://open-nandra.com/2011/10/compile-32bit-kernel-on-64-bit-machine-without-chroot-magic/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 19:53:23 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[HOW-TOs]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=617</guid>
		<description><![CDATA[I become in situation I have fast 8 core machine with 64 bit debian installed. How to compile 32 bit kernel debian way? 1. install following packages: ﻿﻿ia32-libs, lib32gcc1, lib32ncurses5, libc6-i386, util-linux, lib32c-devel 2. if want fresh config just run : make i386_defconfig ARCH=i386; make allmodconfig ARCH=i386 3.  ﻿﻿export CONCURRENCY_LEVEL= number of cores + 1 (compilation [...]]]></description>
			<content:encoded><![CDATA[<p>I become in situation I have fast 8 core machine with 64 bit debian installed. How to compile 32 bit kernel debian way?<span id="more-617"></span></p>
<p>1. install following packages: ﻿﻿ia32-libs, lib32gcc1, lib32ncurses5, libc6-i386, util-linux, lib32c-devel<br />
2. if want fresh config just run : <em>make i386_defconfig ARCH=i386; make allmodconfig ARCH=i386</em><br />
3.  ﻿﻿export CONCURRENCY_LEVEL= number of cores + 1 (compilation will be little bit faster <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )<br />
4. <em>make-kpkg clean &#8211;cross-compile &#8211; &#8211;arch=i386; fakeroot linux32 make-kpkg &#8211;initrd &#8211;append-to-version=-version &#8211;cross-compile &#8211; &#8211;arch=i386 &#8211;revision=1.0.my_kernel kernel_image</em></p>
<p>And that&#8217;s it. So easy <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Marek</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2011/10/compile-32bit-kernel-on-64-bit-machine-without-chroot-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New projects</title>
		<link>http://open-nandra.com/2011/06/new-projects-2/</link>
		<comments>http://open-nandra.com/2011/06/new-projects-2/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 19:24:00 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[pandaboard]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=608</guid>
		<description><![CDATA[It was long time I wrote some post so forgive me . It was little bit busy months. Anyway I&#8217;m still working on some opensource projects. One of them will be based on Panda board so any new findings and fixes will be reported here. Stay tuned marek &#160;]]></description>
			<content:encoded><![CDATA[<p>It was long time I wrote some post so forgive me <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . It was little bit busy months. Anyway I&#8217;m still working on some opensource projects. One of them will be based on Panda board so any new findings and fixes will be reported here. Stay tuned <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>marek</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2011/06/new-projects-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-shop is running</title>
		<link>http://open-nandra.com/2011/02/e-shop-is-running/</link>
		<comments>http://open-nandra.com/2011/02/e-shop-is-running/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 19:00:19 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[artila]]></category>
		<category><![CDATA[e-shop]]></category>
		<category><![CDATA[industrial]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=597</guid>
		<description><![CDATA[I prepare e-shop for selling mainly industrial PC HW based on ARM cpu from Artila company. Here you can find a products: e-shop (currently in slovak language only).]]></description>
			<content:encoded><![CDATA[<p>I prepare e-shop for selling mainly industrial PC HW based on ARM cpu from Artila company. Here you can find a products: <a href="http://open-nandra.com/shop" target="_blank">e-shop</a> (currently in slovak language only).</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2011/02/e-shop-is-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most active 2.6.37 developers</title>
		<link>http://open-nandra.com/2011/01/most-active-2-6-37-developers/</link>
		<comments>http://open-nandra.com/2011/01/most-active-2-6-37-developers/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 08:57:19 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[2.6.37]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=574</guid>
		<description><![CDATA[When reading last week LWN Weekly Edition on lwn.net there was a report about most active 2.6.37 developers. And my name was there . Look at proof: link is: ﻿﻿http://lwn.net/Articles/420887/]]></description>
			<content:encoded><![CDATA[<p>When reading last week LWN Weekly Edition on lwn.net there was a report about most active 2.6.37 developers. And my name was there <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Look at proof:</p>
<p><span id="more-574"></span><br />
link is: ﻿﻿<a href="http://lwn.net/Articles/420887/">http://lwn.net/Articles/420887/</a></p>
<p><a href="http://lwn.net/Articles/420887/"></a><br />
<a href="http://open-nandra.com/wp-content/uploads/Screenshot.png"><img class="alignleft size-medium wp-image-576" title="2.6.37" src="http://open-nandra.com/wp-content/uploads/Screenshot-300x168.png" alt="" width="300" height="168" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2011/01/most-active-2-6-37-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel 2.6.37 is out</title>
		<link>http://open-nandra.com/2011/01/kernel-2-6-37-is-out/</link>
		<comments>http://open-nandra.com/2011/01/kernel-2-6-37-is-out/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 09:48:16 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[Kernel]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=557</guid>
		<description><![CDATA[Kernel 2.6.37 is released today with some our contributions. Main focus was on cleaning ft1000 driver. Some minor updates also on other drivers. List of patches:﻿﻿﻿ ﻿Marek Belisko (29): Staging: Add support for Flarion OFDM usb and pcmcia devices. staging: ft1000-usb: Add correct procedure for fw image downloading. staging: ft1000-usb: Remove global flag DSP_loading. staging: [...]]]></description>
			<content:encoded><![CDATA[<p>Kernel 2.6.37 is released today with some our contributions. Main focus was on cleaning ft1000 driver. Some minor updates also on other drivers.<span id="more-557"></span></p>
<p>List of patches:﻿﻿﻿</p>
<p>﻿Marek Belisko (29):</p>
<div id="_mcePaste">Staging: Add support for Flarion OFDM usb and pcmcia devices.</div>
<div id="_mcePaste">staging: ft1000-usb: Add correct procedure for fw image downloading.</div>
<div id="_mcePaste">staging: ft1000-usb: Remove global flag DSP_loading.</div>
<div id="_mcePaste">staging: ft1000: Fix memory leak when polling fail.</div>
<div id="_mcePaste">staging: ft1000: Remove unused/unnecessary comments.</div>
<div id="_mcePaste">staging: ft1000: get rid of typedef usage.</div>
<div id="_mcePaste">staging: ft1000: various checkpatch.pl fixes.</div>
<div id="_mcePaste">staging: ft1000: lines over 80 characters corrected.</div>
<div id="_mcePaste">staging: ft1000: replace and remove c99 comments.</div>
<div id="_mcePaste">staging: ft1000: correct indentations for ft1000_usb.c file.</div>
<div id="_mcePaste">staging: ft1000: remove dead code.</div>
<div id="_mcePaste">staging: ft1000: Get rid of using atoi.</div>
<div id="_mcePaste">staging: ft1000: Use specific error return value.</div>
<div id="_mcePaste">staging: ft1000: Remove unused function ft1000_hbchk()</div>
<div id="_mcePaste">staging: ft1000: Remove MEDIAMSG typedef usage.</div>
<div id="_mcePaste">staging: ft1000: Remove DSPINITMSG typedef usage.</div>
<div id="_mcePaste">staging: ft1000: Remove APP_INFO_BLOCK typedef usage.</div>
<div id="_mcePaste">staging: ft1000: Remove PROV_RECORD typedef usage.</div>
<div id="_mcePaste">staging: ft1000: Remove PSEUDO_HDR typedef usage.</div>
<div id="_mcePaste">staging: ft1000: Remove DRVMGS typedef usage.</div>
<div id="_mcePaste">staging: ft1000: Check return value when init net device.</div>
<div id="_mcePaste">staging: ft1000: Use specific return error codes.</div>
<div id="_mcePaste">staging: ft1000: Use specific error return code for reg_ft1000_netdev().</div>
<div id="_mcePaste">staging: ft1000: Get rid of using typedef.</div>
<div id="_mcePaste">staging: ft1000: Remove dead code from ft1000_hw.c</div>
<div id="_mcePaste">staging: ft1000: Remove FT1000_INFO typedef usage.</div>
<div id="_mcePaste">ASoC: s3c24xx: Fix compilation problem for mini2440</div>
<div id="_mcePaste">omap1: htc_herald: Fix compilation warning.</div>
<div id="_mcePaste">omap1: pm_bus: Fix compilation warning.</div>
<p>Marek <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2011/01/kernel-2-6-37-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to compile own kernel with ft1000-usb driver</title>
		<link>http://open-nandra.com/2010/12/how-to-compile-own-kernel-with-ft1000-usb-driver/</link>
		<comments>http://open-nandra.com/2010/12/how-to-compile-own-kernel-with-ft1000-usb-driver/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 09:35:55 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[HOW-TOs]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[ft1000]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=493</guid>
		<description><![CDATA[This how to will show up how to compile kernel manually (which include ft1000 driver). This is just how to which works for me (tested on ubuntu 10.04). I&#8217;m not responsible for you break PCs . Be careful! Assumptions: installed ncurses-devel 1. download latest kernel (www.kernel.org) and untar to /usr/src 2. make oldnoconfig (create config [...]]]></description>
			<content:encoded><![CDATA[<p>This how to will show up how to compile kernel manually (which include ft1000 driver). This is just how to which works for me (tested on ubuntu 10.04). I&#8217;m not responsible for you break PCs <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Be careful!<span id="more-493"></span></p>
<div id="_mcePaste">Assumptions:</div>
<p>installed ncurses-devel</p>
<p>1. download latest kernel (www.kernel.org) and untar to /usr/src</p>
<p>2. <strong>make oldnoconfig</strong> (create config but new options will no (N) by default)</p>
<p>3.<strong> make menuconfig</strong> (select ft1000 driver in staging/drivers like M &#8211; module)</p>
<p>4. <strong>make</strong> (take some time <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p>5. <strong>make install</strong> (must be root)</p>
<p>6. <strong>make modules_install</strong> (must be root)</p>
<p>7. <strong>mkinitramfs -o initrd.img-2.6.37-rc5 2.6.37-rc</strong>5 (numbers depend on kernel version)</p>
<p>8. update /boot/grub/grub.cfg (for grup2) or /boot/grub/menu.lst (for grub) (create new entry for new kernel and initrd)<br />
<strong>example for grub2</strong>: <a href="http://pastebin.com/0G4RE7MC" target="_blank">here</a><br />
10.<strong> cp drivers/staging/ft1000/ft1000-usb/ft3000.img /lib/firmware/</strong> (must be root)<br />
11. <strong>make headers_install</strong> (optional)<br />
Thats all. Reboot and enjoy your new kernel with ft1000 driver. Just plug your device and enjoy <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Tested on 2.6.37-rc5. If not sure just wait till 2.6.37 will be released if you don&#8217;t want use non stable kernel.</p>
<p>marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2010/12/how-to-compile-own-kernel-with-ft1000-usb-driver/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Looking for volunteers for Flarion USB Modem LR7F04 kernel cleanups</title>
		<link>http://open-nandra.com/2010/12/looking-for-volunteers-for-flarion-usb-modem-lr7f04-kernel-cleanups/</link>
		<comments>http://open-nandra.com/2010/12/looking-for-volunteers-for-flarion-usb-modem-lr7f04-kernel-cleanups/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 11:46:39 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[flarion]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Flarion]]></category>
		<category><![CDATA[ft100]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=471</guid>
		<description><![CDATA[Until 22.8.2010 when flarion drivers was merged to staging of linux-next hey appear in currect 2.6.37 kernel rc series. A lot of work was done. There is some previous what was and what should be done. Till code merging in usb driver was done 63 commits. Mainly: 1. fix coding style (get rid of typedefs, [...]]]></description>
			<content:encoded><![CDATA[<p>Until 22.8.2010 when flarion drivers was merged to staging of linux-next hey appear in currect 2.6.37 kernel rc series. A lot of work was done. There is some previous what was and what should be done.</p>
<p><span id="more-471"></span></p>
<p>Till code merging in usb driver was done 63 commits. Mainly:</p>
<p><strong>1.</strong> fix coding style (get rid of typedefs, remove compilation warnings, correct error return values)</p>
<p><strong>2.</strong> changes in FW loading (using of standard kernel mechanism for loading FW)</p>
<p><strong>3.</strong> when you plug device to usb you will have new created node in /dev/net/ft1000-0 and so on</p>
<p><strong>4.</strong> lot of problems with freeing allocated resources</p>
<p>Main focus now it to speed up little bit development to possibly get this driver to mainline till 2.6.38-39.<br />
Contributor are welcome <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2010/12/looking-for-volunteers-for-flarion-usb-modem-lr7f04-kernel-cleanups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flarion ft1000 driver pushed to linux-next tree</title>
		<link>http://open-nandra.com/2010/09/flarion-ft1000-driver-pushed-to-linux-next-tree/</link>
		<comments>http://open-nandra.com/2010/09/flarion-ft1000-driver-pushed-to-linux-next-tree/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 18:11:45 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=439</guid>
		<description><![CDATA[Last week  (22.10.2010) I&#8217;ve post first patches to Greg K-Hartman for flarion ft1000 usb and pcmcia drivers.Patch can be found here: ﻿﻿﻿﻿﻿﻿﻿http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h=f7c1be0cca2aa39dcea68f54287fb00f840a5ff4 It is always best choise to maintain drivers in main tree not out of tree (api changes from kernel versions &#8230;.). Hopefully after drivers cleanup they appear in main tree and users can [...]]]></description>
			<content:encoded><![CDATA[<p>Last week  (22.10.2010) I&#8217;ve post first patches to Greg K-Hartman for flarion ft1000 usb and pcmcia drivers.Patch can be found here:</p>
<p>﻿﻿﻿﻿﻿﻿﻿<a href="http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h=f7c1be0cca2aa39dcea68f54287fb00f840a5ff4">http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h=f7c1be0cca2aa39dcea68f54287fb00f840a5ff4</a></p>
<p>It is always best choise to maintain drivers in main tree not out of tree (api changes from kernel versions &#8230;.). Hopefully after drivers cleanup they appear in main tree and users can use it without additional hacking.</p>
<p>marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2010/09/flarion-ft1000-driver-pushed-to-linux-next-tree/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Editing google docs locally or gdocs-mount</title>
		<link>http://open-nandra.com/2010/09/editing-google-docs-locally-or-gdocs-mount/</link>
		<comments>http://open-nandra.com/2010/09/editing-google-docs-locally-or-gdocs-mount/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 10:08:09 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[HOW-TOs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gdocs-mount]]></category>
		<category><![CDATA[google docs]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=429</guid>
		<description><![CDATA[Some time ago there was done nice work to have in local folder all documents which are in google-docs (﻿﻿﻿﻿http://doctormo.org/2010/07/20/google-doc-mount/).It works easily for *ubuntu distros but what about opensuse? I try to describe how to mount google docs locally and easily edit or update or whatever For proper working we need following sources installed (python [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="gdocs" src="http://cdn.erictric.com/wp-content/uploads/2010/01/google_docs_logo.jpg" alt="" width="139" height="131" />Some time ago there was done nice work to have in local folder all documents which are in google-docs</p>
<p>(﻿﻿﻿﻿<a href="http://doctormo.org/2010/07/20/google-doc-mount/">http://doctormo.org/2010/07/20/google-doc-mount/</a>).It works easily for *ubuntu distros but what about opensuse?</p>
<p>I try to describe how to mount google docs locally and easily edit or update or whatever <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <span id="more-429"></span>For proper working we need following sources installed (python sources):</p>
<p><strong>gtkme</strong>:<br />
﻿﻿<a href="https://launchpad.net/~doctormo/+archive/ppa/+files/gtkme_0.7.1.orig.tar.gz">https://launchpad.net/~doctormo/+archive/ppa/+files/gtkme_0.7.1.orig.tar.gz</a></p>
<p><strong>python-gdata</strong>: ﻿﻿﻿﻿<br />
<a href="https://launchpad.net/~doctormo/+archive/ppa/+files/python-gdata_2.0.7.orig.tar.gz">https://launchpad.net/~doctormo/+archive/ppa/+files/python-gdata_2.0.7.orig.tar.gz</a></p>
<p><strong>google-docs-fs</strong>:<br />
<a href="https://launchpad.net/~doctormo/+archive/ppa/+files/google-docs-fs_0.2~lucid1.tar.gz">https://launchpad.net/~doctormo/+archive/ppa/+files/google-docs-fs_0.2~lucid1.tar.gz</a></p>
<p><strong>python-distutils-extra</strong>:<br />
<a href="http://launchpad.net/python-distutils-extra/trunk/2.20/+download/python-distutils-extra-2.20.tar.gz">http://launchpad.net/python-distutils-extra/trunk/2.20/+download/python-distutils-extra-2.20.tar.gz</a></p>
<p><strong>gdocs-mount-gtk</strong>:<br />
<a href="https://launchpad.net/~doctormo/+archive/ppa/+files/gdocs-mount-gtk_1.2.orig.tar.gz">https://launchpad.net/~doctormo/+archive/ppa/+files/gdocs-mount-gtk_1.2.orig.tar.gz</a></p>
<p>For every package just go to downloaded directory and run:</p>
<pre>./setup.py build; sudo ./setup.py install</pre>
<p>This will install all packages necessary to run gdocs-mount.  I don&#8217;t check if  gdocs-mount-gtk correctly add desktop icon or whatever. For test just run: ﻿﻿./gdocs-mount-gtk.py setup login and password and enjoy <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2010/09/editing-google-docs-locally-or-gdocs-mount/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Friendly arm 2440 and sca3000 accelerometer</title>
		<link>http://open-nandra.com/2010/09/friendly-arm-2440-and-sca3000-accelerometer/</link>
		<comments>http://open-nandra.com/2010/09/friendly-arm-2440-and-sca3000-accelerometer/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 11:28:36 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[friendlyarm]]></category>
		<category><![CDATA[mini2440]]></category>
		<category><![CDATA[sca3000]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=421</guid>
		<description><![CDATA[﻿﻿﻿﻿David Lewin ask me on theFriendly arm forum to check driver and setup for SPI on mini2440 board. SPI master driver is prepared so just add some platform data and board info for sca3000 and it must work . If you would like to connect some SPI device on your mini2440 board you need to: 1. update [...]]]></description>
			<content:encoded><![CDATA[<p>﻿﻿﻿﻿David Lewin ask me on theFriendly arm forum to check driver and setup for SPI on mini2440 board.</p>
<div id="_mcePaste">SPI master driver is prepared so just add some platform data and board info for sca3000 and it must work <img src='http://open-nandra.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</div>
<p><span id="more-421"></span><br />
If you would like to connect some SPI device on your mini2440 board you need to:</p>
<p>1. update mach-mini2440.c file in arch/arm/mach-s3c2440/ following:</p>
<p>Add s3c2410_spi_info structure with filled entries<br />
(we use standars SPI pins for spi.0 on CON4):</p>
<pre>static struct s3c2410_spi_info mini2440_spi0_pdata = {
         .pin_cs = S3C2410_GPG(2),
         .num_cs = 1,
         .bus_num = 0,
         .gpio_setup = &amp;s3c24xx_spi_gpiocfg_bus0_gpe11_12_13,
};</pre>
<p>2. add platform data for device:</p>
<pre>static struct spi_board_info mini2440_spi_devs[] __initdata = {
         {       /* sca3000 accel */
                 .modalias       = "sca3000_d01",
                 .chip_select    = 0,
                 .max_speed_hz   = 1 * 1000 * 1000,
                 .bus_num        = 0,
         }
};</pre>
<p>3. Add &amp;s3c_device_spi0 line to array of structures mini2440_devices[].</p>
<p>4. In function  mini2440_init add lines:</p>
<pre>s3c_device_spi0.dev.platform_data = &amp;mini2440_spi0_pdata;

spi_register_board_info(mini2440_spi_devs,
                                 ARRAY_SIZE(mini2440_spi_devs));</pre>
<p>You have now prepared kernel code for working with SPI accelerometer.<br />
Just enable all drivers you need (SPI, SCA3000, &#8230;) and recompile kernel.</p>
<p>If this is little bit hard to understand you can download a <a href="http://open-nandra.com/wp-content/uploads/patch">::patch::</a> for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2010/09/friendly-arm-2440-and-sca3000-accelerometer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

