<?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>Productivity Sync</title>
	<atom:link href="http://thegnar.org/sync/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://thegnar.org/sync</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 01 May 2012 16:33:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Building old versions of AOSP on ubuntu 12.04</title>
		<link>http://thegnar.org/sync/?p=236</link>
		<comments>http://thegnar.org/sync/?p=236#comments</comments>
		<pubDate>Sun, 29 Apr 2012 19:21:17 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=236</guid>
		<description><![CDATA[this is a slightly more detailed/complete and a terse version of the following blog post that was forwarded to the android-builders mailing list. http://blog.decat.org/aosp-step-by-step-instructions-for-setting-up-a-chrooted-ubuntu-10-04-64bit-build-environment-on-ubuntu-11-10-and-12-04-hosts Starting from the 12.04 command line do the following things (mostly in order) sudo apt-get update sudo apt-get upgrade sudo apt-get install dchroot debootstrap sudo tee -a /etc/schroot/schroot.conf &#60;&#60;EOF [lucid] description=Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>this is a slightly more detailed/complete and a terse version of the following blog post that was forwarded to the android-builders mailing list.</p>
<p><a href="http://blog.decat.org/aosp-step-by-step-instructions-for-setting-up-a-chrooted-ubuntu-10-04-64bit-build-environment-on-ubuntu-11-10-and-12-04-hosts">http://blog.decat.org/aosp-step-by-step-instructions-for-setting-up-a-chrooted-ubuntu-10-04-64bit-build-environment-on-ubuntu-11-10-and-12-04-hosts</a></p>
<p>Starting from the 12.04 command line do the following things (mostly in order)</p>
<ul>
<li>sudo apt-get update</li>
<li>sudo apt-get upgrade</li>
<li>sudo apt-get install dchroot debootstrap</li>
</ul>
<pre>sudo tee -a /etc/schroot/schroot.conf &lt;&lt;EOF
 [lucid]
 description=Ubuntu 10.04 LTS (Lucid Lynx)
 location=/var/chroot/lucid
 priority=3
 users=&lt;&lt;your user name here&gt;&gt;
 groups=&lt;&lt;your user name here&gt;&gt;
 root-groups=root
 EOF</pre>
<pre>sudo debootstrap --variant=buildd --arch amd64 lucid /var/chroot/lucid <a title="http://archive.ubuntu.com/ubuntu/" href="http://archive.ubuntu.com/ubuntu/" rel="nofollow">http://archive.ubuntu.com/ubuntu/</a></pre>
<pre> </pre>
<pre>sudo tee -a /var/chroot/lucid/etc/debian_chroot &lt;&lt;EOF
 $HOSTNAME-chroot-lucid)
EOF</pre>
<ul>
<li>sudo cp /etc/resolv.conf /var/chroot/lucid/etc/</li>
<li>sudo cp /etc/passwd /var/chroot/lucid/etc/</li>
<li>sudo cp /etc/group /var/chroot/lucid/etc/</li>
<li>FSTAB changes: (to host 12.04 /etc/fstab)</li>
</ul>
<pre>#bind mount for lucid
/proc /var/chroot/lucid/proc bind defaults,bind 0 0
/home /var/chroot/lucid/home bind defaults,bind 0 0</pre>
<ul>
<li>sudo chroot /var/chroot/lucid/</li>
<li>sources.list changes:  (the chroot /etc/apt/sources.list)</li>
</ul>
<pre> #make sure the following 2 lines are in the sources.list
 deb http://archive.ubuntu.com/ubuntu lucid main
 deb http://archive.ubuntu.com/ubuntu lucid universe</pre>
<ul>
<li>now install the android build dependencies;</li>
<li>apt-get update</li>
</ul>
<pre>  sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl \
               zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev \
               ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
               tofrodos gawk mkisofs

Feel free to add whatever else you may need (vim, ctags, cscope ccache, etc...)</pre>
<ul>
<li>Now you may want to have a script &#8220;lucid.sh&#8221; to log in into the chroot and as the correct user:</li>
<li>note: if you installed Java the way you are *supposed to* in $HOME/bin/ and set up the paths in your .profile then the java support &#8220;just works&#8221; otherwise you deserve what you get.</li>
</ul>
<pre>#!/bin/sh
sudo chroot /var/chroot/lucid/ su - `whoami`</pre>
<p>Seems to work.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=236</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOIO revisited.</title>
		<link>http://thegnar.org/sync/?p=225</link>
		<comments>http://thegnar.org/sync/?p=225#comments</comments>
		<pubDate>Mon, 23 Apr 2012 00:53:30 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=225</guid>
		<description><![CDATA[8 or 9 months ago I did some playing with the IOIO using an older version of Ubuntu.  I&#8217;ve gotten some time to catch up on my hobbies and picked up the IOIO again.  (thinking of making a ultrasonic collision warning system for my bike by hooking up some range finders to the IOIO and [...]]]></description>
			<content:encoded><![CDATA[<p>8 or 9 months ago I did some playing with the IOIO using an older version of Ubuntu.  I&#8217;ve gotten some time to catch up on my hobbies and picked up the IOIO again.  (thinking of making a ultrasonic collision warning system for my bike by hooking up some range finders to the IOIO and having it talk to my phone to warn of collision.) I had forgotten most of what I managed to get working in the past and I&#8217;m back to hopefully capture more of the details that tripped me up this time.</p>
<p>First installing the MPLAB-X no longer has problems with 64 bit ubuntu.</p>
<p>Product Version: MPLAB X IDE v1.10<br />
Java: 1.6.0_24; OpenJDK 64-Bit Server VM 20.0-b12<br />
System: Linux version 3.2.0-23-generic running on amd64; UTF-8; en_US (mplab)<br />
Userdir: /home/mgross/.mplab_ide/dev/v1.10</p>
<p>Had a few gotchas with the C30 compiler for the pic24.  (hmm I see its not using my official JDK for oracle I thought I had my path&#8217;s set up correctly&#8230;)  See previous blog post for the work around on the C30 compiler.</p>
<p>Next building the FW for the IOIO is a bit confusing as there are 3 flavors of IOIO &#8220;historically&#8221;  I think only one flavor can be purchased today so I don&#8217;t know the value of having the older versions tagging along in the config files.  Further there are 3 different names for the HW I&#8217;m using where each one needs to be used while building each of the firmware projects.  Anyway, I am using the SparkFun IOIO build SPRK0016 (there are 5 of these it seems).  I think this refers to the version of the layout (in eagle).  Then there are 3 different IOIO00** targets.  (I use IOIO0023).  Then there are a number of different PIC variants  (I use PIC24FJ256DA206) .. mostly.  Unless you are building one of the projects that include _adb as a variant to the PIC24FJ256DA206.</p>
<p>A number of the projects are libraries and a few are test code and then there is the bootloader and AppLayerV1.  (which are the main ones to build)  The thing to remember is to build the lib&#8217;s first.  The following is a list of the projects and build targets I used:</p>
<ul>
<li>AppLayerV1 (IOIO0023)</li>
<li>Blink (IOIO0023)  &lt;&#8211; demo FW you don&#8217;t use.</li>
<li>Bootloader (SPRK0016)</li>
<li>LatencyTester (IOIO0023) &lt;&#8211; demo FW you don&#8217;t use</li>
<li>libadb (PIC24FJ256DA206)</li>
<li>libbtstack (PIC24FJ256DA206)</li>
<li>libconn (PIC24FJ256DA206)</li>
<li>libusb (PIC24FJ256DA206 and PIC24FJ256DA206_ADB)  If you are using BT to talk to the IOIO use PIC24FJ256DA206.  The adb version is needed for to build the bootloader, and the non-adb flavor is needed for the AppLayerV2&#8230; You should build both.</li>
</ul>
<p>Next you can spend time to figure out the zip file packaging of the *.ioio files the boot loader uses or you can use you Picket3 and just blast the FW.  I have a Pickit 3 and I&#8217;m not too patient so I use it for starters.  Later I&#8217;ll start using the boot loader to program new FW which is a cool thing.</p>
<p>what you need to do is find the *.hex files for the AppLayerV1 and the Bootloader and concatenate them into one fw.hex file.  Next you need to find the lines in the file with the following in them:</p>
<p>&#8220;:00000001FF&#8221;</p>
<p>there will be 2 of them.  Keep the last one (at the end of the file) and delete the other line.</p>
<ul>
<li>or you can use the script already in the repo: &#8220;<strong>tools/merge-hex</strong>&#8220;</li>
</ul>
<p>Now you can make a fw project in MPLAB-X out of an existing hex file and use mplab-x to program the target.  (It works for me)</p>
<p>&nbsp;</p>
<p>Setting up and Building the different APK&#8217;s:</p>
<p>This was very hard for me as I&#8217;m not a Java / Eclipse guy and nothing seemed to work right the first time.</p>
<p>Note: you need to set compiler compatibility to 1.6 under the java options dialog.</p>
<p>As I&#8217;m building on a new box with Ubuntu 12.04beta I had to reinstall all new &#8220;everytings&#8221;:</p>
<ul>
<li>Android SDK [[<a href="http://developer.android.com/sdk/index.html">http://developer.android.com/sdk/index.html</a>]]</li>
<li>eclipse [[<a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz&amp;url=http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz&amp;mirror_id=504]] ADT pluggin [[http://developer.android.com/sdk/eclipse-adt.html">http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz&amp;url=http://mirror.cc.vt.edu/pub/eclipse/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz&amp;mirror_id=504]]</a></li>
<li>ADT pluggin [[<a href="http://developer.android.com/sdk/eclipse-adt.html">http://developer.android.com/sdk/eclipse-adt.html</a>]]</li>
<li>ant  (apt-get ant ?  I think I used synaptic to install ant)</li>
</ul>
<p>Next you need to run &#8220;android&#8221; from the sdk and down load all the support bits for the following android versions:</p>
<ul>
<li>android-3 (cupcake or donut)</li>
<li>android-7 (froyo)</li>
<li>android-10 (gingerbread) Note: you want API-10 and higher if you want to use open-accessory.</li>
</ul>
<p>Next you can use ant to build from each application under the software IOIO directory:</p>
<ul>
<li>android update project -p . -t android-10</li>
<li>ant release (or ant debug)</li>
<li>when you are done the APK will be in ./bin/.</li>
</ul>
<p>Or you can build the APK&#8217;s using eclipse and pull you hair out trying to understand why nothing works:</p>
<ul>
<li>first after following the directions on [[http://developer.android.com/sdk/eclipse-adt.html]] which are *very* important.   You need to open up some projects.  First do the core libraries:</li>
<ul>
<li>ioio_lib</li>
<ul>
<li>right click select properties and look at the Android properties.  Set build target to Android 2.3.3 (api level 10/ android-10)</li>
<li>next go to the Java Compiler and turn of Enable project specific settings and turn it off.</li>
</ul>
<li>ioio_lib_bluetood</li>
<ul>
<li>do the same things done to ioio_lib</li>
</ul>
<li>ioio_lib_accessory</li>
<ul>
<li>do the same things don to ioio_lib</li>
</ul>
<li>Finally add applications HelloIOIO and do the same things done to the libs.</li>
<li>If you now select clean and build all everything might build.  If not select build all a second time.</li>
<ul>
<li>it seems the libs may not be build the first time before the app is compiled so the second &#8220;build all&#8221; works.</li>
</ul>
</ul>
</ul>
<p>One last note: some of the projects don&#8217;t seem to build but most of them are.</p>
<p>I&#8217;m not a fan of eclipse yet.  Maybe it will grow on me as I learn more about java.  (or maybe not.)</p>
<p>I almost forgot, After all this I did get the HelloIOIO application to turn on and off the LED on the IOIO over Bluetooth.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=225</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPLABx / mplabc30 and ubuntu 12.04LTS beta2 strangeness</title>
		<link>http://thegnar.org/sync/?p=218</link>
		<comments>http://thegnar.org/sync/?p=218#comments</comments>
		<pubDate>Mon, 16 Apr 2012 03:59:56 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=218</guid>
		<description><![CDATA[I just updated my old kick a round laptop (HP-g62: i3, 8GB RAM, 500GB HD) with Ubuntu 12.04LTS beta2 and installed the packages recommended by source.android.com and yocto quick quick start and a handful of python (sci-py and friends) and some assorted things I like to have.  Then I installed MPLabX 1.10 and mplab-c30 compiler [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated my old kick a round laptop (HP-g62: i3, 8GB RAM, 500GB HD) with Ubuntu 12.04LTS beta2 and installed the packages recommended by source.android.com and yocto quick quick start and a handful of python (sci-py and friends) and some assorted things I like to have.  Then I installed MPLabX 1.10 and mplab-c30 compiler (mplabx-ide-v1.10-linux-installer.run mplabc30-v3.30c-linux-installer.run)</p>
<p>After this I pulled the latest IOIO code (https://github.com/ytai/ioio) and started to build the FW.</p>
<p>I got a few different errors trying to build that came up from the compiler.</p>
<p>&#8220;Could not open resource file: /opt/microchip/mplabc30/v3.30c/bin/bin/c3vicefoinfono&#8221;</p>
<p>&#8220;Could not open &#8230; /opt/microchip/mplabc30/v3.30c/bin/bin/../bin/c3vic.infoinfo&#8221;  and a few other complaints.</p>
<p>To debug this I used strace -ff -o trace followed by the command line copied from the mplabx IDE and grep for info in the trace.* files created by the strace command.</p>
<p>It turned out I needed to add a few symbolic links to /opt/microchip/mplabc30/v3.30c/bin/bin:</p>
<pre>cd /opt/microchip/mplabc30/v3.30c/bin/bin</pre>
<pre>sudo ln -s ../c30_device.info</pre>
<pre>sudo ln -s ../device_files</pre>
<p>&nbsp;</p>
<p>Now things seem to compile.</p>
<p>I don&#8217;t know why I am seeing this issue on 12.04.  (Note: on 11.04 I have the same compiler installed and it doesn&#8217;t give me any guff)</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=218</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.04 on HP Envy 17t-3000 laptop</title>
		<link>http://thegnar.org/sync/?p=207</link>
		<comments>http://thegnar.org/sync/?p=207#comments</comments>
		<pubDate>Sun, 05 Feb 2012 03:04:35 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=207</guid>
		<description><![CDATA[Installing was a pain in the butt. The graphics would start flickering on modesets with the install kernel. After upgrading the kernel to 3.2.3 vanilla disabling modeset resulted in a black screen with a blinking cursor. So, to install use the ubuntu-alt cd and do a text mode installation. (avoid the mode set epileptic fit [...]]]></description>
			<content:encoded><![CDATA[<p>Installing was a pain in the butt.  The graphics would start flickering on modesets with the install kernel.  After upgrading the kernel to 3.2.3 vanilla disabling modeset resulted in a black screen with a blinking cursor.</p>
<p>So, to install use the ubuntu-alt cd and do a text mode installation. (avoid the mode set epileptic fit inducing flicker.)  After the install is finished within grub ad nomodeset to the kernel command line and / or remove the spash command line.  Then after building 3.2.3 kenel and installing it change things by removing the nomodeset you added before and also remove the splash option.  Now the system should boot ok to a usable home screen.</p>
<p>Also WRT graphics I have gone ahead and just blacklisted radeon as well.  The radeon driver takes too long to boot and for my use I don&#8217;t really give a shit about having more graphics umph anyway.</p>
<p>Audio will not work (because the snd_usb_audio device confuses ALSA.  Fix this by adding snd_usb_audio to the blacklist.cfg file in /etc/modeprobe.d diretory.</p>
<p>Now about the only thing not working is the clickpad.</p>
<p>hear I use may pad and work scripts.<br />
pad:<code><br />
#!/bin/sh<br />
/usr/bin/synclient TapButton1=1 TapButton2=0 TapButton3=0 LBCornerButton=2 RBCornerButton=0 LTCornerButton=2 RTCornerButton=3 VertEdgeScroll=0 VertEdgeScroll=0 HorizEdgeScroll=0 CornerCoasting=0 VertTwoFingerScroll=1 HorizTwoFingerScroll=1 PalmDetect=0 EmulateTwoFingerMinW=100 AreaBottomEdge=3900<br />
</code><br />
work:<code><br />
#!/bin/sh<br />
/usr/bin/synclient TapButton1=0 TapButton2=0 TapButton3=0 LBCornerButton=2 RBCornerButton=0 LTCornerButton=2 RTCornerButton=3 VertEdgeScroll=0 VertEdgeScroll=0 HorizEdgeScroll=0 CornerCoasting=0 VertTwoFingerScroll=1 HorizTwoFingerScroll=1 PalmDetect=1 EmulateTwoFingerMinW=100 AreaBottomEdge=3900<br />
</code><br />
FWIW I have a Displayport to HDMI converter cable and it works very well for driving my external 1080p display.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=207</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building AOSP on ubuntu 11.10 x86_64</title>
		<link>http://thegnar.org/sync/?p=198</link>
		<comments>http://thegnar.org/sync/?p=198#comments</comments>
		<pubDate>Sun, 01 Jan 2012 07:18:31 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=198</guid>
		<description><![CDATA[The Android Open Source Project has issues with the newest GCC host compiler where the build of ICS falls over in annoying ways on the new distro.  To get around this issue I tried building my own compiler but, that was a pain in the ass with getting the multi-lib support working then in my [...]]]></description>
			<content:encoded><![CDATA[<p>The Android Open Source Project has issues with the newest GCC host compiler where the build of ICS falls over in annoying ways on the new distro.  To get around this issue I tried building my own compiler but, that was a pain in the ass with getting the multi-lib support working then in my googleing for how to do that with the old compilers I found the following blog post that is all gold to me.  Using it when building AOSP works well.  <img src='http://thegnar.org/sync/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Setup:</p>
<pre>
<a href="http://www.android-dev.ro/2011/12/13/building-android-4-0-on-ubuntu-11-10/">http://www.android-dev.ro/2011/12/13/building-android-4-0-on-ubuntu-11-10/</a>
<code>sudo apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
cd to your AOSP ics directory: make CC=gcc-4.4 CXX=g++-4.4 -j4</code>
</pre>
<p>Shiny!</p>
<p>Well, maybe not 100% shiny. Building rowboat for the beagle board falls over on the kernel and the sgx build using the CC=gcc-4.4 CXX=g++-4.4 command line hack. They get confused by the CC and the CXX.  The work around I have done for this is to hack the AOSP build/core/combo/select.mk file:</p>
<pre>

diff --git a/build/core/combo/select.mk b/build/core/combo/select.mk
index 916320b..8116723 100644
--- a/build/core/combo/select.mk
+++ b/build/core/combo/select.mk
@@ -25,8 +25,8 @@ combo_os_arch := $($(combo_target)OS)-$($(combo_target)ARCH)

 # Set reasonable defaults for the various variables

-$(combo_target)CC := $(CC)
-$(combo_target)CXX := $(CXX)
+$(combo_target)CC := gcc-4.4
+$(combo_target)CXX := g++-4.4
 $(combo_target)AR := $(AR)

 $(combo_target)BINDER_MINI := 0
</pre>
<p>Now its more shiny but not perfect.  I don&#8217;t need to change my command line to build on 11.10 but, I do have to remember this hack every time I set up a project.</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=198</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>repo upload :  Permission denied (publickey).</title>
		<link>http://thegnar.org/sync/?p=190</link>
		<comments>http://thegnar.org/sync/?p=190#comments</comments>
		<pubDate>Mon, 29 Aug 2011 20:45:51 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=190</guid>
		<description><![CDATA[make sure your .gitconfig has the correct user name: i.e.: [review "review.cyanogenmod.com"] username = mgross]]></description>
			<content:encoded><![CDATA[<p>make sure your .gitconfig has the correct user name:<br />
i.e.:<br />
[review "review.cyanogenmod.com"]<br />
        username = mgross</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=190</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyanogen + kenrel build script for gTablet</title>
		<link>http://thegnar.org/sync/?p=182</link>
		<comments>http://thegnar.org/sync/?p=182#comments</comments>
		<pubDate>Sat, 27 Aug 2011 23:08:59 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=182</guid>
		<description><![CDATA[After weeks of farting around with the thing and multiple web sites for custom mods I&#8217;ve been able to build from SRC both CWM and Cyanogen mod 7 for the gTablet.  I lost a week on the assumption that the kernel was for the 1.2 version of the FW (For the default this is not [...]]]></description>
			<content:encoded><![CDATA[<p>After weeks of farting around with the thing and multiple web sites for custom mods I&#8217;ve been able to build from SRC both CWM and Cyanogen mod 7 for the gTablet.  I lost a week on the assumption that the kernel was for the 1.2 version of the FW (For the default this is not the case) and hunting around for the right git tree, branch name and default config file for the kernel.</p>
<p>The following assumes that you have started with nvflashed <a href="http://viewsonic-gtablet-for-dummies.webs.com/nvflash.htm" target="_blank">gtab.nvflash.1.2.branch.20110508_with_cwm</a> version of the system and then put CM7 on it from one of the ROM download sites.</p>
<p>All this BS is encapsulated in the bash script: <a href="http://thegnar.org/cyanogen-build4gtablet.sh" target="_blank">cyanogen-build4gtablet.sh</a>  if it works then you will have the following files:</p>
<p>out/target/product/smb_a1002/update-cm-7.1.0-RC1-smb_a1002-KANG-signed.zip &lt;&#8211; the android build</p>
<p>out/ target/product/smb_a1002/utilities/update.zip &lt;&#8211; recovery OS (ClockWorkMod)  (but the updater-scrip is no right.  It should use recovery.img and instead it does some other stuff attempting to update the current recovery partition when it really should just use the img file.  See <a href="http://review.cyanogenmod.com/#change,7626" target="_blank">http://review.cyanogenmod.com/#change,7626</a> to see how to fix that.)</p>
<p>Also if you where wondering what the mtd partition table is:</p>
<pre>&lt;6&gt;[   12.356419] tegra_nand tegra_nand: tegra_nand_probe: probing (c06af4d0)
&lt;6&gt;[   12.364346] tegra_nand tegra_nand: tegra_nand_scan: found NAND chip (Vendor = 0xad, DevId = 0xdc)
&lt;5&gt;[   12.974292] 7 cmdlinepart partitions found on MTD device tegra_nand
&lt;5&gt;[   12.980549] Creating 7 MTD partitions on "tegra_nand":
&lt;5&gt;[   12.985690] 0x000000bc0000-0x000001bc0000 : "misc"
&lt;5&gt;[   12.991329] 0x000003cc0000-0x000004cc0000 : "recovery"
&lt;5&gt;[   12.997107] 0x000004d40000-0x000005d40000 : "boot"
&lt;5&gt;[   13.002522] 0x000005dc0000-0x000015580000 : "system"
&lt;5&gt;[   13.008779] 0x000015600000-0x00001ff80000 : "cache"
&lt;5&gt;[   13.014742] 0x000000740000-0x000000b40000 : "bootbmp"
&lt;5&gt;[   13.020397] 0x000001c40000-0x000003c40000 : "logodata"</pre>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=182</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Cyanogen for the ViewSonic g-Tablet</title>
		<link>http://thegnar.org/sync/?p=168</link>
		<comments>http://thegnar.org/sync/?p=168#comments</comments>
		<pubDate>Fri, 19 Aug 2011 16:46:49 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=168</guid>
		<description><![CDATA[This is just a bunch of notes and links gathered in the course of getting cyanogen onto a viewsonic gtablet: First some background: The gtablet is a derivative of a few reference platforms and you may see the following &#8220;code names&#8221; that imply gTablet: upc300 &#60;&#8211; SKU ID ViewSonic uses harmony &#60;&#8211; what NVidea calls [...]]]></description>
			<content:encoded><![CDATA[<h1>This is just a bunch of notes and links gathered in the course of getting cyanogen onto a viewsonic gtablet:</h1>
<p>First some background:</p>
<ol>
<li>The gtablet is a derivative of a few reference platforms and you may see the following &#8220;code names&#8221; that imply gTablet:</li>
<ul>
<li>upc300 &lt;&#8211; SKU ID ViewSonic uses</li>
<li>harmony &lt;&#8211; what NVidea calls it</li>
<li>smb_a1002 &lt;&#8211; what cyanogen mod calls it if you are building the image from scratch you&#8217;ll want to know this one.</li>
</ul>
<li>there are a number of forums and sites for information on the gTablet and building an image for it.  (it confused me)</li>
<ul>
<li><a href="http://viewsonic-gtablet-for-dummies.webs.com/" target="_blank">http://viewsonic-gtablet-for-dummies.webs.com/</a> &lt;&#8211; this is the best one</li>
<li><a href="http://raywaldo.com/topic/gtab-tablet-computing/" target="_blank">http://raywaldo.com/topic/gtab-tablet-computing/</a></li>
<li><a href="http://www.slatedroid.com/topic/17751-recovery-12-based-recovery-options-recovery-pack-cwm-standard-recovery-g-tablet/" target="_blank">http://www.slatedroid.com/topic/17751-recovery-12-based-recovery-options-recovery-pack-cwm-standard-recovery-g-tablet/</a></li>
<li><a href="http://forum.xda-developers.com/forumdisplay.php?f=841" target="_blank">http://forum.xda-developers.com/forumdisplay.php?f=841</a> &lt;&#8211; anoying but has a few of useful posts like the following:</li>
<ul>
<li><a href="http://forum.xda-developers.com/showthread.php?t=916198" target="_blank">http://forum.xda-developers.com/showthread.php?t=916198</a></li>
</ul>
<li><a href="http://droidbasement.com/db-blog/" target="_blank">http://droidbasement.com/db-blog/ </a>&lt;&#8211; the blog of the developer of the kernel used by cyanogen</li>
<li><a href="https://github.com/pershoot/gtab-2632" target="_blank">https://github.com/pershoot/gtab-2632</a> &lt;&#8211; kernel used by cyanoge lately&#8230;</li>
<li><a href="http://www.cyanogenmod.com/" target="_blank">http://www.cyanogenmod.com/</a></li>
<ul>
<li><a href="http://forum.cyanogenmod.com/forum/188-viewsonic-g-tablet/" target="_blank">http://forum.cyanogenmod.com/forum/188-viewsonic-g-tablet/</a></li>
<li><a href="http://wiki.cyanogenmod.com/wiki/Viewsonic_G_Tablet:_Compile_CyanogenMod_%28Linux%29" target="_blank">http://wiki.cyanogenmod.com/wiki/Viewsonic_G_Tablet:_Compile_CyanogenMod_%28Linux%29</a></li>
<li><a href="http://wiki.cyanogenmod.com/wiki/Viewsonic_G_Tablet:_Full_Update_Guide" target="_blank">http://wiki.cyanogenmod.com/wiki/Viewsonic_G_Tablet:_Full_Update_Guide</a></li>
</ul>
</ul>
<li>The gTablet has spiffy FW that makes it hard to brick (but you can get damn close).  There is a boot loader that can be reflashed and then there is the android recovery image that can also be reflashed.  You want the 1.2 branch of the nvflash.</li>
<ul>
<li><a href="http://viewsonic-gtablet-for-dummies.webs.com/nvflash.htm" target="_blank">http://viewsonic-gtablet-for-dummies.webs.com/nvflash.htm</a>  (flashing from linux works great don&#8217;t bother with the windows flash tool)</li>
<li>if building the kernel (see below) be sure the CONFIG_NEWBL is set otherwise it will hang at boot time.</li>
<li>Odds are if you got a gTablet lately its got 1.2 FW.</li>
<li>Older versions of the Cyanogen ROM may assume 1.1 FW and fail to boot (don&#8217;t back rev your FW to fix this! You&#8217;ll just use a newer ROM that works with 1.2 FW)</li>
<li><a href="http://viewsonic-gtablet-for-dummies.webs.com/rom.htm" target="_blank">http://viewsonic-gtablet-for-dummies.webs.com/rom.htm</a></li>
<li>The fist thing to do when you get the gTab is to put ClockworkMod (recovery tool) on it. <a href="http://viewsonic-gtablet-for-dummies.webs.com/clockworkmod.htm" target="_blank">http://viewsonic-gtablet-for-dummies.webs.com/clockworkmod.htm</a> I&#8217;m having good luck with cwm v3028</li>
<li>At this point you can install Honycomb or your own Cyanogen builds without too much trouble.</li>
</ul>
<li>Building Cyanogen for the G-Tablet (using canned kernel)</li>
<ul>
<li>follow the compile <a href="http://wiki.cyanogenmod.com/wiki/Viewsonic_G_Tablet:_Compile_CyanogenMod_%28Linux%29" target="_blank">link</a> above</li>
<li>Gotchas:</li>
<ul>
<li>extract-files.sh disn&#8217;t find all the files the first time for me and I had to manually get the ones that didn&#8217;t get found.</li>
<li>don&#8217;t forget to run the get-rommanager step or the build will crap out (on the rommanager APK build)</li>
<ul>
<li><code>vendor/cyanogen/get-rommanager</code></li>
</ul>
<li>DO NOT EVER RUN THE ROM-MANAGER!!!! it will fsck your tablet and put you back to nvflashing (I had to crack open my tablet to hit a hidden reset button to power cycle to get back to nvflash.  Others just let the battery drain to zero to do the same thing)</li>
<li>1.1 FW doesn&#8217;t boot with current kernel checked into the cyanogen tree.</li>
<li>DSP manager crashes and hoses audio (but if you unistall it using tatainium backup audio works again)</li>
</ul>
</ul>
<li>Hacking the kernel for the gtablet</li>
<ul>
<li>First there are at least 3 different kernels and I can&#8217;t say for sure which one is good for what:</li>
<ul>
<li>pershoot : <a href="https://github.com/pershoot/gtab-2632">https://github.com/pershoot/gtab-2632</a> &lt;&#8211;known to work by me and is used by cyanogen</li>
<li>Clemsyn : <a href="https://github.com/search?q=clemsyn&amp;type=Everything&amp;repo=&amp;langOverride=&amp;start_value=1">https://github.com/search?q=clemsyn&amp;type=Everything&amp;repo=&amp;langOverride=&amp;start_value=1</a> but I can&#8217;t say which one to use or what branches <img src='http://thegnar.org/sync/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />   Note: I think one of the clemsyn kernels is used in a Honycom Rom)</li>
<li>http://www.linuxboxsolution.com/ has a HC ROM port and a git tree related to it is <a href="https://github.com/linuxboxsolution/LBSGtab.git">https://github.com/linuxboxsolution/LBSGtab.git</a> The tree isn&#8217;t too nice as its hard to see a patch set in there.  Its not much more than a tarball.</li>
</ul>
<li>for the pershoot kernel I&#8217;ve used both the &#8220;gingerbread&#8221; and &#8220;master&#8221; branches seem to work.</li>
<li>use the &#8220;pershoot_tegra_harmony_android-newbl_defconfig&#8221; to build the kernel.</li>
<li>The wifi driver &#8220;bcm4329.ko&#8221; is built as dhd.ko and you get to hand place it where it needs to go in the ROM image yourself.</li>
<ul>
<li>note: I&#8217;m still not 100% the dhd.ko driver I build works yet.  (maybe later today I&#8217;ll have it working?)</li>
</ul>
<li>
<pre>CROSS=/home/mgross/work/cyanogen/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-</pre>
<pre>PATH=/home/mgross/work/cyanogen/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH</pre>
<pre>export CROSS</pre>
<pre>export PATH</pre>
<pre>make ARCH=arm CROSS_COMPILE=$CROSS mrproper</pre>
<pre>make ARCH=arm CROSS_COMPILE=$CROSS pershoot_tegra_harmony_android-newbl_defconfig</pre>
<pre>time make ARCH=arm CROSS_COMPILE=$CROSS -j 4</pre>
</li>
<ul>
<li>note: my cyanogen tree was checked into &#8220;/home/mgross/work/cyanogen&#8221; and I&#8217;m building the kernel with the same tool chain used to build the cyanogen ROM.</li>
</ul>
</ul>
<li>Installation hacks / gotchas</li>
<ul>
<li><a href="http://review.cyanogenmod.com/#change,7464">http://review.cyanogenmod.com/#change,7464</a> &lt;&#8211; is needed with the CWM v3028</li>
</ul>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=168</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using mplabx on 64 bit linux.</title>
		<link>http://thegnar.org/sync/?p=143</link>
		<comments>http://thegnar.org/sync/?p=143#comments</comments>
		<pubDate>Fri, 05 Aug 2011 03:54:35 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=143</guid>
		<description><![CDATA[mplabx beta 7.01 is not good with JDK7 (32bit) but works fine with 64 bit. Mostly I copying http://elco.crsndoo.com/wordpress/2011/03/how-to-make-mplab-x-work-properly-on-64bit-linux/ Only the first few times I tried it I was using jdk7 which does not work. To install mplabx on ubutnu11.04-x86_64 I did the following: download 32bit Linux JDK6 update 26 (jdk-6u26-linux-i586.bin) unpacked it and moved [...]]]></description>
			<content:encoded><![CDATA[<p>mplabx beta 7.01 is not good with JDK7 (32bit) but works fine with 64 bit.</p>
<p>Mostly I copying <a href="http://elco.crsndoo.com/wordpress/2011/03/how-to-make-mplab-x-work-properly-on-64bit-linux/">http://elco.crsndoo.com/wordpress/2011/03/how-to-make-mplab-x-work-properly-on-64bit-linux/</a> Only the first few times I tried it I was using jdk7 which does not work.</p>
<p>To install mplabx on ubutnu11.04-x86_64 I did the following:</p>
<ul>
<li>download 32bit Linux JDK6 update 26 (jdk-6u26-linux-i586.bin) unpacked it and moved it to $HOME/bin/jdk1.6.0_26-32bit.</li>
<li>next I created 2 scripts one for installing as root and one for running mplabx.</li>
<li>I also modified the start up</li>
</ul>
<p>To run MPLABX you need to set jdkhome == JAVA_HOME and PATH to point to the 32bit jdk6 first then you can run mplabx.</p>
<p>For installing MPLABX you need to expand $HOME such that it works properly. (you&#8217;ll need to update this script to match where you put the JDK2.6 &#8211; 32bit.)</p>
<h2>Scripts:<br />
To run mplabx<br />
&#8212;-</h2>
<pre>#!/bin/sh</pre>
<pre>export JAVA_HOME=$HOME/bin/jdk1.6.0_26-32bit
export jdkhome=$JAVA_HOME
export PATH=$HOME/bin/jdk6.0_26-32bit/bin:$HOME/bin:$PATH

/usr/bin/mplab_ide</pre>
<pre>&lt;EOF&gt;</pre>
<h2>To install mplabx (update with your $HOME path if copying me) run this scrip as root.<br />
&#8212;&#8211;</h2>
<pre>#!/bin/sh</pre>
<pre>JAVA_HOME=/home/mgross/bin/jdk1.6.0_26-32bit
PATH=/home/mgross/bin/jdk6.0_26-32bit/bin:$PATH

/home/mgross/Downloads/mplabx-ide-beta7.01-linux-32-bit-installer.bin
&lt;EOF&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=143</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with the IOIO / Micorochip mplabx on ubuntu 11.04-i386</title>
		<link>http://thegnar.org/sync/?p=141</link>
		<comments>http://thegnar.org/sync/?p=141#comments</comments>
		<pubDate>Tue, 02 Aug 2011 16:54:04 +0000</pubDate>
		<dc:creator>markgross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thegnar.org/sync/?p=141</guid>
		<description><![CDATA[This is a outline on how to build the images to run the IOIO [http://codaset.com/ytai/ioio/wiki] with a nexus 1 phone. HW: rooted Nexus-1 running CyanogenMod 7.1.0-RC1-N1 PICkit3 IOIO board  The device is a &#8220;pic24jf256DA206&#8243; board 5V -12V DC PSU good to 2A output. (what I&#8217;m using is overkill 5V at 8A) Downloads to get: android-sdk_r12-linux_x86.tgz [...]]]></description>
			<content:encoded><![CDATA[<p>This is a outline on how to build the images to run the IOIO [<a href="http://codaset.com/ytai/ioio/wiki">http://codaset.com/ytai/ioio/wiki</a>] with a nexus 1 phone.</p>
<p><strong>HW:</strong></p>
<ul>
<li>rooted Nexus-1 running <a href="http://wiki.cyanogenmod.com/index.php?title=Nexus_One">CyanogenMod</a> 7.1.0-RC1-N1</li>
<li><a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en538340&amp;redirects=pickit3">PICkit3 </a></li>
<li><a href="http://www.sparkfun.com/products/10748">IOIO board</a>  The device is a &#8220;pic24jf256DA206&#8243; board</li>
<li>5V -12V DC PSU good to 2A output. (what I&#8217;m using is overkill 5V at 8A)</li>
</ul>
<p><strong>Downloads to get:</strong></p>
<ul>
<ul>
<li><a href="http://developer.android.com/sdk/index.html">android-sdk_r12-linux_x86.tgz</a></li>
<li><a href="http://www.eclipse.org/downloads/packages/eclipse-classic-37/indigor">eclipse-SDK-3.7-linux-gtk.tar.gz</a></li>
<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">jdk-6u26-linux-i586.bin</a></li>
<li>mplabc30-v3.30b-linux-installer.run</li>
<li>mplabx-ide-beta7.01-linux-32-bit-installer.bin</li>
<ul>
<li><a href="http://ww1.microchip.com/downloads/mplab/X_Beta/index.html">http://ww1.microchip.com/downloads/mplab/X_Beta/index.html</a></li>
</ul>
<li>IOIO code base</li>
<ul>
<li>
<pre>git clone https://codaset.com/ytai/ioio.git</pre>
</li>
</ul>
</ul>
</ul>
<blockquote>
<ul>
<li>At the time of this writing the tip was: 8f8704f updated App-IOIO0300 to get rid of excessive logging</li>
</ul>
</blockquote>
<p><strong>Pin outs between PICkit3 and IOIO:</strong><br />
The programmer : the IOIO</p>
<p style="padding-left: 60px;">pin1 : MCLR,<br />
pin2 : 3.3<br />
pin3 : gnd<br />
pin4 : 36<br />
pin5 : 35<br />
pin6 : no-connect</p>
<p><strong>Pain points:</strong></p>
<ul>
<li>Android SDK installation</li>
<li>Eclipse setup with ADT</li>
<li>ADT / eclipse environment has gotchas WRT configuring builds and the need to clean the projects before a build will succeed.</li>
<li>MPLAB-X installation (have to play games with JAVA_HOME as root)</li>
<li>MPLAB-X beta 7.01 vrs jdk1.7.0 (hint you need to use jdk1.6.0_26 for now)</li>
<li>PICkit3 use from MPLAB-X (wasn&#8217;t so bad after I figured it out)</li>
<li>IOIO FW code structure and undocumented packaging tools for building boot FW and *.ioioapp files the ioio manager uses.</li>
<li>IOIO SW code structure and undocumented set up for building up ADK builds</li>
<li>IOIO git project has IDE config files in it that get changed by simply opening the projects.  (annoying but common with IDE use)</li>
<li>Not knowing MPLab, PIC, or JAVA very well.</li>
</ul>
<p><strong>Details</strong>:</p>
<p>First install the JDK, eclipse and android SDK all into $HOME:</p>
<ul>
<li>I install the JDK into $HOME/bin and setup JAVA_HOME and PATH environment variables in my $HOME/.profile file:</li>
<ul>
<li>mkdir $HOME/bin</li>
<li>cd $HOME/bin</li>
<li>tar -xf ../Downloads/android*.tgz</li>
<ul>
<li>run the android-sdk-linux_x86/tools/android command and download the android SDK versions you want.  (I just go them all)</li>
</ul>
<li>tar -xf ../Downloads/eclips*.tar.gz</li>
<li>chmod +x ../Downloads/jdk*.bin</li>
<li>../Dowloads/jdk*.bin</li>
</ul>
</ul>
<ul>
<li>Then set-up your environment variables in $HOME/.profile</li>
</ul>
<blockquote>
<pre>JAVA_HOME=$HOME/bin/jdk1.6.0_26</pre>
<pre>PATH="$HOME/bin/eclipse:$HOME/bin/jdk1.6.0_26/bin:$HOME/bin/android-sdk-linux_x86/tools:$HOME/bin:$PATH"</pre>
</blockquote>
<ul>
<li>mplabx beta 7.01 doesn&#8217;t install on x86_64 versions of Ubuntu.</li>
<ul>
<li>I&#8217;m pretty sure there isn&#8217;t a good technical reason for this.  One can install on a 64bit Linux provided you set up the 32bit JDK and poin the JAVA_HOME to it.  Still this is a work around.<strong></strong></li>
<li>I&#8217;m running mplabx in its own virtual-box VM of ubuntu 11.04 32bit.</li>
<li>There is one link I found on the Internet calling out an mplabx install hack using JAVA_HOME and PATH names that worked for someone.  But, it didn&#8217;t work so much for me.</li>
</ul>
<li>The mplabx installer looks in selected paths for the JDK installation.  Set up a JAVA_HOME environment variable to point to the JDK you want to be used with the installer program.</li>
<ul>
<li>or use the following script run as root:</li>
</ul>
</ul>
<blockquote>
<pre>#!/bin/sh</pre>
<pre>JAVA_HOME=/home/mgross/bin/jdk1.6.0_26</pre>
<pre>PATH=/home/mgross/bin/jdk1.6.0_26/bin:$PATH</pre>
<pre>/home/mgross/Downloads/mplabx-ide-beta7.01-linux-32-bit-installer.bin</pre>
</blockquote>
<ul>
<li>what system global configuration does it touch after installing????  It wants me to reboot to start using it?  This scares me.</li>
</ul>
<p><strong> Building the APK&#8217;s</strong></p>
<ul>
<li>Install the ADT</li>
<li>configure android plugin to point to sdk</li>
<li>set android build output to verbose</li>
<li>set general / workspace to not &#8220;Build automatically&#8221;</li>
<li>use import existing project to import ioio_lib into workspace</li>
<li>use android tools &gt; fix project properties (not sure what it does)</li>
<li>set project build target to Android 3.0</li>
<li>disable &#8220;Enable project specific settings&#8221; (if set under properties java compiler)</li>
<li>mkdir a directory &#8220;ioio/software/IOIOLib/res&#8221;</li>
<li>project / clean</li>
<li>build.</li>
<li>import ioiomanager project</li>
<li>android tools &gt; fixproject properties</li>
<li>change android build target to android 3.0</li>
</ul>
<p><strong>HelloIOIO</strong></p>
<ul>
<li>import existing project ioio/software/applications/helloIOIO (leaving the lib and ioiomanager projects where they are in the IDE.</li>
<li>select project properties and set the build target to android 3.0</li>
<li>select project clean</li>
<li>build project</li>
<li>Run As 1 Android Application (with phone connected to development host) to load APK</li>
</ul>
<p><strong>Building the FW:</strong></p>
<ul>
<li>use Open Project to open the IOIO/firmware/bootloader and IOIO/firmware/app_layer_v1 projects</li>
<li>for the boot loader I needed to use the SPRK0016 target</li>
<ul>
<li>if you are going to use the IOIOmanager built above instead of the one from the app-store, then you will want to disable the security check in the bootloader FW. (using the -DBYPASS_SECURITY compiler option.)</li>
</ul>
<li>for the AppLayerV1 I needed the IOIO0003 target</li>
<li>both build.</li>
</ul>
<p><strong>building *.ioioapp files and using the IOIO Manager:</strong></p>
<ul>
<li>todo</li>
</ul>
<p><strong>Loading the FW with pickit3 through MPLabX</strong></p>
<ul>
<li>locate the *.hex files:  find ioio/firmware -name *.hex</li>
<li>concatenate them</li>
<ul>
<li>
<pre> for b in `find ioio/firmware -name *.hex`;do cat $b &gt;&gt;flash.hex; done</pre>
</li>
</ul>
<li>edit flash.hex and clean out extra &#8220;:00000001FF&#8221; from middle of the file.</li>
<li>create a new project in mplabx category &#8220;Microchip Embedded&#8221; and project &#8220;Prebuilt (Hex,Loadable Image) project navigate to flash.hex and select ok, select the device (from me its pic24fj256da206)</li>
<li>finally select &#8220;make and program device to flash the IOIO</li>
</ul>
<p>At this point you should be able to run the test apk on your Android phone and turn on the yellow LED.</p>
<p>There are a couple of painfully boring screen casts with audio that is way too quite walking through setting up a VBox guest with 11.04 and the above tools.</p>
<p><a href="https://docs.google.com/leaf?id=0B5z-WVyQyeN4MzgxZDFlYzQtMmYwYi00NzE3LWJlMTEtNTU3OWRmZTI2ZDYy&amp;hl=en_US">ioio-setup-1</a></p>
<p><a href="https://docs.google.com/leaf?id=0B5z-WVyQyeN4OTQxNTlmNDktNDNlYy00YTcyLWE2MDUtMmZlZmU1MzVkY2M3&amp;hl=en_US">ioio-setup-2 </a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://thegnar.org/sync/?feed=rss2&#038;p=141</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

