<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://crancho.com/w/index.php?action=history&amp;feed=atom&amp;title=Gumstix</id>
	<title>Gumstix - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://crancho.com/w/index.php?action=history&amp;feed=atom&amp;title=Gumstix"/>
	<link rel="alternate" type="text/html" href="https://crancho.com/w/index.php?title=Gumstix&amp;action=history"/>
	<updated>2026-09-16T16:53:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://crancho.com/w/index.php?title=Gumstix&amp;diff=1037&amp;oldid=prev</id>
		<title>Ohayden: /* Updating Gumstix via Kermit */</title>
		<link rel="alternate" type="text/html" href="https://crancho.com/w/index.php?title=Gumstix&amp;diff=1037&amp;oldid=prev"/>
		<updated>2010-03-13T22:53:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Updating Gumstix via Kermit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Fixing Gumstix from U-Boot ==&lt;br /&gt;
If you mess up the init scripts, you can recover from u-boot (using serial port) with the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
setenv bootargs $bootargs init=/bin/sh&lt;br /&gt;
boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connecting with Minicom ==&lt;br /&gt;
Make sure you set hardware control off and use &amp;quot;minicom -o&amp;quot; to load.&lt;br /&gt;
&lt;br /&gt;
== Connecting with Kermit ==&lt;br /&gt;
kermit -l /dev/ttyUSB0&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set flow-control none&lt;br /&gt;
set carrier-watch off&lt;br /&gt;
set speed 115200&lt;br /&gt;
connect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GPIO / 60 pin Hirose Connector ==&lt;br /&gt;
* Set pin 48 (GPIO 47) to GPIO mode&lt;br /&gt;
  echo &amp;quot;GPIO out&amp;quot; &amp;gt; /proc/gpio/GPIO47&lt;br /&gt;
* Clear voltage on pin 48&lt;br /&gt;
  echo &amp;quot;GPIO out clear&amp;quot; &amp;gt; /proc/gpio/GPIO47&lt;br /&gt;
* Set voltage on pin 48&lt;br /&gt;
  echo &amp;quot;GPIO out set&amp;quot; &amp;gt; /proc/gpio/GPIO47&lt;br /&gt;
* Pins / GPIO references: http://docwiki.gumstix.org/index.php/New_60pin_connector_chart  and  http://docwiki.gumstix.org/index.php/Image:Tweener-pcb.jpg&lt;br /&gt;
&lt;br /&gt;
* For in, I was working with /proc/gpio/GPIO44 as GPIO47 wouldn&amp;#039;t go low&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Gumstix&amp;#039;s Build Root Info=&lt;br /&gt;
*Revision 1443 is the last one that&amp;#039;s less than 4MB (my original Gumstix, a basix 200-bt, only has 4MB of nand)&lt;br /&gt;
&lt;br /&gt;
==Check Logs==&lt;br /&gt;
  svn log -r1400:1450 http://svn.gumstix.com/gumstix-buildroot/trunk/&lt;br /&gt;
&lt;br /&gt;
==Initial Checkout==&lt;br /&gt;
svn co -r1443 http://svn.gumstix.com/gumstix-buildroot/trunk gumstix-buildroot&lt;br /&gt;
&lt;br /&gt;
==Building Buildroot==&lt;br /&gt;
*In the revision fold (1443), do the following:&lt;br /&gt;
  cd gumstix-buildroot&lt;br /&gt;
  make defconfig&lt;br /&gt;
  make menuconfig&lt;br /&gt;
*Choose &amp;quot;Package Selection for the target&amp;quot;&lt;br /&gt;
**Page down until you find &amp;quot;wifistix&amp;quot; and unselect it (we don&amp;#039;t have wifi on the original gumstix, we do on the new one being used by HoBo though)&lt;br /&gt;
**Select Exit, Exit, and Yes to save&lt;br /&gt;
  make&lt;br /&gt;
&lt;br /&gt;
==Add i2c Support==&lt;br /&gt;
*In the buildroot environment:&lt;br /&gt;
  cd gumstix-buildroot/build_arm_nofpu/linux-*&lt;br /&gt;
  make ARCH=arm menuconfig&lt;br /&gt;
*Select &amp;quot;Device Drivers&amp;quot;&lt;br /&gt;
*Select &amp;quot;I2C support&amp;quot;&lt;br /&gt;
**Set &amp;quot;I2C support&amp;quot; to &amp;quot;M&amp;quot; for module&lt;br /&gt;
**Set &amp;quot;I2C device interface&amp;quot; to &amp;quot;M&amp;quot;&lt;br /&gt;
**Select &amp;quot;I2C Hardware Bus support&amp;quot;&lt;br /&gt;
***Set &amp;quot;Intel PXA2XX I2C adapter&amp;quot; to &amp;quot;M&amp;quot;&lt;br /&gt;
*Select Exit (4 times)&lt;br /&gt;
*Select &amp;quot;Yes&amp;quot; to save the new config&lt;br /&gt;
*Copy the .config over to the right location:&lt;br /&gt;
  cp .config ../../target/device/Gumstix/basix-connex/linux.config&lt;br /&gt;
*Remove the old kernel to trigger a new build&lt;br /&gt;
  rm arch/arm/boot/compressed/vmlinux&lt;br /&gt;
*Run make to build again&lt;br /&gt;
  cd ../../&lt;br /&gt;
  make&lt;br /&gt;
*Replace the filesystem&lt;br /&gt;
*You&amp;#039;ll want to also load the new drivers by adding the following /etc/modules:&lt;br /&gt;
  # I2C&lt;br /&gt;
  i2c-dev&lt;br /&gt;
  i2c-pxa&lt;br /&gt;
==Updating Gumstix via Kermit==&lt;br /&gt;
*See the &amp;quot;Connecting with Kermit&amp;quot; above on how to start Kermit&lt;br /&gt;
*We&amp;#039;re using the serial port on the tweaner and a serial to usb adapter on the laptop (eee).&lt;br /&gt;
*Power on the Gumstix and when it says &amp;quot;Hit any key to stop autoboot:&amp;quot; press any key&lt;br /&gt;
*Now you&amp;#039;re at uboot and ready to update the flash &lt;br /&gt;
*Set the Gumstix to receive the new file at the right address:&lt;br /&gt;
  loadb a2000000&lt;br /&gt;
*Get back to the Kermit prompt by pressing CTRL+\ and then c&lt;br /&gt;
*Send the file by typing:&lt;br /&gt;
  send rootfs.arm_nofpu.jffs2&lt;br /&gt;
*You&amp;#039;ll see a transfer screen pop up and once it&amp;#039;s done, type the following to get back to the Gumstix/uboot&lt;br /&gt;
  connect&lt;br /&gt;
*We need to protect uboot from getting erased and then erase the rest with the following commands:&lt;br /&gt;
  protect on 1:0-1&lt;br /&gt;
  erase all&lt;br /&gt;
*Now we&amp;#039;ll copy the file we transferred to the flash (the &amp;quot;${filesize}&amp;quot; is a macro that tells it to use the last transferred file size)&lt;br /&gt;
  cp.b a2000000 40000 ${filesize}&lt;br /&gt;
*Once it&amp;#039;s done copying, then type the following to boot up&lt;br /&gt;
  boot&lt;br /&gt;
&lt;br /&gt;
=MMC Support=&lt;br /&gt;
*On the gumstix, open /etc/modules and uncomment:&lt;br /&gt;
  mmc_block&lt;br /&gt;
  pxamci&lt;br /&gt;
*Also comment out the following as such:&lt;br /&gt;
  #smc91x&lt;br /&gt;
  #pcmcia&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Older Gumstix&amp;#039;s 60 Pin Hirose Connector=&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
!|Signal &lt;br /&gt;
!|GPIO &lt;br /&gt;
!|Pin &lt;br /&gt;
!|Signal &lt;br /&gt;
!|GPIO &lt;br /&gt;
!|Pin&lt;br /&gt;
|-&lt;br /&gt;
|GND || &amp;amp;nbsp; || 1 || GND || &amp;amp;nbsp; || 60&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(9) || GPIO(67) || 2 || USB_N || &amp;amp;nbsp; || 59&lt;br /&gt;
|-&lt;br /&gt;
|L_BIAS || GPIO(77) || 3 || BITCLK || GPIO(28) || 58&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(3) || GPIO(61) || 4 || L_PCLK || GPIO(76) || 57&lt;br /&gt;
|-&lt;br /&gt;
|SDATA_OUT || GPIO(30) || 5 || L_DD(15) || GPIO(73) || 56&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(8) || GPIO(66) || 6 || L_DD(14) || GPIO(72) || 55&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|GND || &amp;amp;nbsp; || 7 || FFRXD || GPIO(34) || 54&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(13) || GPIO(71) || 8 || L_DD(7) || GPIO(65) || 53&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(12) || GPIO(70) || 9 || L_DD(5) || GPIO(63) || 52&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(11) || GPIO(69) || 10 || L_DD(10) || GPIO(68) || 51&lt;br /&gt;
|-&lt;br /&gt;
|USB_P || &amp;amp;nbsp; || 11 || L_DD(1) || GPIO(59) || 50&lt;br /&gt;
|-&lt;br /&gt;
|IRRXD || GPIO(46) || 12 || NACRESET || &amp;amp;nbsp; || 49&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(2) || GPIO(60) || 13 || IRTXD || GPIO(47) || 48&lt;br /&gt;
|-&lt;br /&gt;
|FFCTS || GPIO(35) || 14 || L_DD(4) || GPIO(62) || 47&lt;br /&gt;
|-&lt;br /&gt;
|SDATA_IN1 || GPIO(32) || 15 || SYNC || GPIO(31) || 46&lt;br /&gt;
|-&lt;br /&gt;
|L_LCLK || GPIO(75) || 16 || NSSP_TXD_RXD || GPIO(84) || 45&lt;br /&gt;
|-&lt;br /&gt;
|PWM(1) || GPIO(17) || 17 || NSSP_FRAME || GPIO(82) || 44&lt;br /&gt;
|-&lt;br /&gt;
|L_DD(0) || GPIO(58) || 18 || SDATA_IN0 || GPIO(29) || 43&lt;br /&gt;
|-&lt;br /&gt;
|I2C_SDA || &amp;amp;nbsp; || 19 || GND || &amp;amp;nbsp; || 42&lt;br /&gt;
|-&lt;br /&gt;
|I2C_SCL || &amp;amp;nbsp; || 20 || L_FCLK || GPIO(74) || 41&lt;br /&gt;
|-&lt;br /&gt;
|NSSP_CLK || GPIO(81) || 21 || L_DD(6) || GPIO(64) || 40&lt;br /&gt;
|-&lt;br /&gt;
|TDO || &amp;amp;nbsp; || 22 || FFRTS || GPIO(41) || 39&lt;br /&gt;
|-&lt;br /&gt;
|NSSP_TXD_RXD || GPIO(83) || 23 || NTRST || &amp;amp;nbsp; || 38&lt;br /&gt;
|-&lt;br /&gt;
|TDI || &amp;amp;nbsp; || 24 || NRESET || &amp;amp;nbsp; || 37&lt;br /&gt;
|-&lt;br /&gt;
|TMS || &amp;amp;nbsp; || 25 || PWM(0) || GPIO(16) || 36&lt;br /&gt;
|-&lt;br /&gt;
|FFTXD || GPIO(39) || 26 || HWTXD || GPIO(48) || 35&lt;br /&gt;
|-&lt;br /&gt;
|TCK || &amp;amp;nbsp; || 27 || HWRTS || GPIO(51) || 34&lt;br /&gt;
|-&lt;br /&gt;
|V_BATT || &amp;amp;nbsp; || 28 || HWRXD || GPIO(49) || 33&lt;br /&gt;
|-&lt;br /&gt;
|V_BATT || &amp;amp;nbsp; || 29 || HWCTS || GPIO(50) || 32&lt;br /&gt;
|-&lt;br /&gt;
|V_BATT || &amp;amp;nbsp; || 30 || GND || &amp;amp;nbsp; || 31 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:Gumstix_60pin_hirose.png|755x539]]&lt;br /&gt;
&lt;br /&gt;
=Notes=&lt;br /&gt;
*I added a bakup copy of revision 1443&amp;#039;s dl folder at dl.cache in the root of gumstix_connex&lt;/div&gt;</summary>
		<author><name>Ohayden</name></author>
	</entry>
</feed>