<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Linux toolchain in an Ubuntu 12.04 32-bit Virtual Machine</title>
		<link>http://forums.leaflabs.com/topic.php?id=74147</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:55 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=74147" rel="self" type="application/rss+xml" />

		<item>
			<title>tormod on "Linux toolchain in an Ubuntu 12.04 32-bit Virtual Machine"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74147#post-104934</link>
			<pubDate>Sat, 16 Nov 2013 07:34:53 +0000</pubDate>
			<dc:creator>tormod</dc:creator>
			<guid isPermaLink="false">104934@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The Maple bootloader firmware has a bug (although now fixed in the code repository), and dfu-util 0.6 and newer includes a workaround for this bug. This because many people will have difficulties upgrading their Maple firmware.&#60;/p&#62;
&#60;p&#62;I think you did not add the PPA correctly. You must specify &#34;lucid&#34; even if you use something newer. What does &#60;code&#62;apt-cache policy dfu-util&#60;/code&#62; say? Note also that the PPA has 0.7, which is the latest release.&#60;/p&#62;
&#60;p&#62;If you build it yourself, please also try the latest code from the git repository. Replace the above download and tar command with &#60;code&#62;git clone git://gitorious.org/dfu-util/dfu-util.git&#60;/code&#62;. I hope to release 0.8 soon and testing is always welcome.&#60;/p&#62;
&#60;p&#62;Your instructions above are nice, but do you need &#34;sudo&#34; on the libmaple install?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ftb44 on "Linux toolchain in an Ubuntu 12.04 32-bit Virtual Machine"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74147#post-104921</link>
			<pubDate>Thu, 14 Nov 2013 14:24:16 +0000</pubDate>
			<dc:creator>ftb44</dc:creator>
			<guid isPermaLink="false">104921@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;UPDATE!  Fixed it!  Download the latest release tarball from here: &#60;a href=&#34;http://dfu-util.gnumonks.org/&#34; rel=&#34;nofollow&#34;&#62;http://dfu-util.gnumonks.org/&#60;/a&#62; then:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;tar xvzf dfu-util-0.7.tar.gz 		# Extract
cd dfu-util-0.7/			# Enter Directory
head -100 README 			# Read README
sudo apt-get build-dep dfu-util		# Get build dependencies
sudo apt-get install libusb-1.0-0-dev   # More build dependencies
./autogen.sh 				# From here: &#60;a href=&#34;http://dfu-util.gnumonks.org/build.html&#34; rel=&#34;nofollow&#34;&#62;http://dfu-util.gnumonks.org/build.html&#60;/a&#62;
./configure 				# Also from ^
make					# Compile
sudo make install			# Install
dfu-util --version			# Check the version, should be &#38;gt; 0.5.0
cd ~/libmaple/				# Go back to the maple dir
sudo make install			# Try install again, should succeed!&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>ftb44 on "Linux toolchain in an Ubuntu 12.04 32-bit Virtual Machine"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74147#post-104920</link>
			<pubDate>Thu, 14 Nov 2013 13:22:30 +0000</pubDate>
			<dc:creator>ftb44</dc:creator>
			<guid isPermaLink="false">104920@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This post seems to indicate it might be dfu-util: &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1369#post-8304&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1369#post-8304&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But I added torm's PPA and tried to update it to no avail.  Apt-get says dfu-util is already the latest version even though &#60;code&#62;dfu-util --version&#60;/code&#62; returns 0.5.0 and the one on torm's PPA is 0.8.0!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ftb44 on "Linux toolchain in an Ubuntu 12.04 32-bit Virtual Machine"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74147#post-104919</link>
			<pubDate>Thu, 14 Nov 2013 13:19:04 +0000</pubDate>
			<dc:creator>ftb44</dc:creator>
			<guid isPermaLink="false">104919@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You may remember from my last post that I can't compile Maple on my laptop because of strange conflicts with other things on my system.  I thought it might be nice to set up a virtual machine to circumvent these problems (and I also feel much more productive in Linux than I do in Windows 7 so there are other benefits as well!).  Here's what I've done so far:&#60;/p&#62;
&#60;p&#62;1. Made a 64-bit Ubuntu VM with VMware and an ubuntu 12.04 ISO&#60;br /&#62;
2. Ran into weird errors relating to some things being 32-bit and others being 64-bit&#60;br /&#62;
3. Made a 32-bit VM&#60;br /&#62;
4. Followed the instructions here: &#60;a href=&#34;http://leaflabs.com/docs/unix-toolchain.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/unix-toolchain.html&#60;/a&#62;&#60;br /&#62;
5. Successfully compiled main.cpp.example&#60;br /&#62;
6. Successfully compiled examples/test-session.cpp main.cpp&#60;br /&#62;
7. But it won't upload with &#60;code&#62;make install&#60;/code&#62; even when the Maple is in continuous bootloader mode.&#60;/p&#62;
&#60;p&#62;Here's the output:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;@ubuntu:~/libmaple$ make installInstall target: flash
./support/scripts/reset.py &#38;amp;&#38;amp; sleep 1                  &#38;amp;&#38;amp; dfu-util -a1 -d 1EAF:0003 -D build/maple.bin -R
Could not find Maple serial port; defaulting to /dev/maple.
Using /dev/maple as Maple serial port
Failed to open serial port /dev/maple for reset
dfu-util 0.5

(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Filter on vendor = 0x1eaf product = 0x0003
Opening DFU USB device... ID 1eaf:0003
Run-time device DFU version 011a
Found DFU: [1eaf:0003] devnum=0, cfg=1, intf=0, alt=1, name=&#38;quot;DFU Program FLASH 0x08005000&#38;quot;
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
No valid DFU suffix signature
Warning: File has no DFU suffix
Error: Could not read name, sscanf returned0
Error: Failed to parse memory layout
make: *** [install] Error 1&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;How can I fix this?  I think the VM is blameless because the Maple is definitely getting all the way to ubuntu; if I unplug it I get a different error (Device not found).
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
