<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;feed=atom&amp;action=history</id>
		<title>ZipIt Adam HOWTO - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;action=history"/>
		<updated>2013-05-23T04:48:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;diff=21147&amp;oldid=prev</id>
		<title>Peter Huewe: busybox official spelling</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;diff=21147&amp;oldid=prev"/>
				<updated>2010-05-17T21:38:32Z</updated>
		
		<summary type="html">&lt;p&gt;busybox official spelling&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:38, 17 May 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This package provides an alternative to the [[OpenZipIt]] firmware for the [[ZipIt]] Wireless Messenger. Like [[OpenZipIt]] this firmware includes the [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Busy Box&lt;/del&gt;]] utilities as well as the Dropbear ssh client and server. Unlike [[OpenZipIt]] this firmware includes a web browser ([[ELinks]]), however, the [[OpenZipIt]] audio applications have been removed to conserve space. Some battery monitoring tools and various other useful utilities are also included. An additional feature of this firmware is that it is modular allowing modifications without the danger of a full re-flash.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This package provides an alternative to the [[OpenZipIt]] firmware for the [[ZipIt]] Wireless Messenger. Like [[OpenZipIt]] this firmware includes the [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BusyBox&lt;/ins&gt;]] utilities as well as the Dropbear ssh client and server. Unlike [[OpenZipIt]] this firmware includes a web browser ([[ELinks]]), however, the [[OpenZipIt]] audio applications have been removed to conserve space. Some battery monitoring tools and various other useful utilities are also included. An additional feature of this firmware is that it is modular allowing modifications without the danger of a full re-flash.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Requirements ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Peter Huewe</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;diff=3850&amp;oldid=prev</id>
		<title>Chris at 10:28, 14 July 2007</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;diff=3850&amp;oldid=prev"/>
				<updated>2007-07-14T10:28:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:28, 14 July 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 157:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 157:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;If the [[ZipIt]] fails to boot hold down the lid closed button during boot. This will prevent &amp;lt;code&amp;gt;opt.cramfs&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;userprefs.cramfs&amp;lt;/code&amp;gt; from being mounted and will drop you into a shell where you can repair things. The file &amp;lt;code&amp;gt;rootfs.gz&amp;lt;/code&amp;gt; contains the minimal rescue filesystem that makes this possible even if you screw up the filesystems on the other partitions so you probably don't want to mess with it unless you know what you are doing.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;If the [[ZipIt]] fails to boot hold down the lid closed button during boot. This will prevent &amp;lt;code&amp;gt;opt.cramfs&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;userprefs.cramfs&amp;lt;/code&amp;gt; from being mounted and will drop you into a shell where you can repair things. The file &amp;lt;code&amp;gt;rootfs.gz&amp;lt;/code&amp;gt; contains the minimal rescue filesystem that makes this possible even if you screw up the filesystems on the other partitions so you probably don't want to mess with it unless you know what you are doing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Zipit]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:2278:newid:3850 --&gt;
&lt;/table&gt;</summary>
		<author><name>Chris</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;diff=2278&amp;oldid=prev</id>
		<title>RBot: Bot (Edward's framework)</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=ZipIt_Adam_HOWTO&amp;diff=2278&amp;oldid=prev"/>
				<updated>2007-03-07T03:34:42Z</updated>
		
		<summary type="html">&lt;p&gt;Bot (Edward&amp;#039;s framework)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This package provides an alternative to the [[OpenZipIt]] firmware for the [[ZipIt]] Wireless Messenger. Like [[OpenZipIt]] this firmware includes the [[Busy Box]] utilities as well as the Dropbear ssh client and server. Unlike [[OpenZipIt]] this firmware includes a web browser ([[ELinks]]), however, the [[OpenZipIt]] audio applications have been removed to conserve space. Some battery monitoring tools and various other useful utilities are also included. An additional feature of this firmware is that it is modular allowing modifications without the danger of a full re-flash.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
Installation of this firmware requires a [[ZipIt]] that has been re-flashed with the [[BURN3]] firmware and a NFS server accessible over a wireless network. Re-flashing with the [[BURN3]] firmware makes it possible to boot the [[ZipIt]] to a command line, mount a NFS volume, copy files to the [[ZipIt]], and re-flash the [[ZipIt]]. It is beyond the scope of this document to describe setting up an NFS server. If you are a Linux user consult the [http://www.tldp.org/HOWTO/NFS-HOWTO/index.html Linux NFS-HOWTO] or the documentation provided by your distribution.&lt;br /&gt;
&lt;br /&gt;
== Server setup ==&lt;br /&gt;
&lt;br /&gt;
Once your NFS server is functioning properly download Adam's Alternate ROM Load from http://www.mib.org/zip/TEST-ROOT/. Extract the files from the archive and copy them to a directory on the NFS server that will be accessible to the [[ZipIt]]. Depending on your network configuration you may need to change how the NFS volume is being shared. On Linux this is achieved by editing the &amp;lt;code&amp;gt;/etc/exports&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
== Firmware installation ==&lt;br /&gt;
&lt;br /&gt;
All of the commands in this section are executed on the [[ZipIt]]. Although it is certainly possible to type them using the [[ZipIt]]'s keyboard it may be preferable to connect to the [[ZipIt]] from a machine with a full-size keyboard, after network connectivity has been established. BURN3 includes a telnet server so executing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
telnet zipit_ip_address&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;code&amp;gt;zipit_ip_address&amp;lt;/code&amp;gt; is the [[ZipIt]]'s IP address from a terminal will allow you to login to the [[ZipIt]] and execute commands as if you were typing them on its keyboard.&lt;br /&gt;
&lt;br /&gt;
=== Establish network connectivity ===&lt;br /&gt;
&lt;br /&gt;
The first step in the installation process is to connect the [[ZipIt]] to the network. If your access point does not use encryption, broadcasts its SSID, and uses DHCP connecting is as simple as issuing the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
udhcpc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more complicated configurations involving an access point that uses WEP or does not broadcast its SSID it will be necessary to configure the [[ZipIt]]'s wireless interface using &amp;lt;code&amp;gt;iwconfig&amp;lt;/code&amp;gt; before running &amp;lt;code&amp;gt;udhcpc&amp;lt;/code&amp;gt;. If your router does not use DHCP use &amp;lt;code&amp;gt;ifconfig&amp;lt;/code&amp;gt; to specify the [[ZipIt]]'s IP address manually.&lt;br /&gt;
&lt;br /&gt;
=== Mount NFS volume ===&lt;br /&gt;
&lt;br /&gt;
After successfully connecting the [[ZipIt]] to the network mount the NFS volume to a directory on the [[ZipIt]]. First create a mount point&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /mnt/net1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then mount the NFS volume&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount -t nfs -o nolock,tcp,intr server_ip_address:/server_folder /mnt/net1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
replacing &amp;lt;code&amp;gt;server_ip_address&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;server_folder&amp;lt;/code&amp;gt; with appropriate values for your configuration. Next copy all of the files included with Adam's Alternate ROM Load from the NFS volume to the [[ZipIt]]'s &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; directory&lt;br /&gt;
&lt;br /&gt;
=== Create block devices ===&lt;br /&gt;
&lt;br /&gt;
After copying files from the NFS volume create the two additional block devices that are utilized by Adam's Alternate ROM Load.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mknod /dev/mtdblock4 b 31 4&lt;br /&gt;
mknod /dev/mtdblock5 b 31 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If all went well&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls -l /dev/mtdblock*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
should produce something like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
brw-r----- 1 root root 31, 0 May 19 16:11 /dev/mtdblock0&lt;br /&gt;
brw-r----- 1 root root 31, 1 May 19 16:11 /dev/mtdblock1&lt;br /&gt;
brw-r----- 1 root root 31, 2 May 19 16:11 /dev/mtdblock2&lt;br /&gt;
brw-r----- 1 root root 31, 3 May 19 16:11 /dev/mtdblock3&lt;br /&gt;
brw-r----- 1 root root 31, 4 May 19 16:11 /dev/mtdblock4&lt;br /&gt;
brw-r----- 1 root root 31, 5 May 19 16:11 /dev/mtdblock5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Load modules ===&lt;br /&gt;
&lt;br /&gt;
Before re-flashing it is necessary to load several modules that are used by the firmware. These modules are loaded with the commands:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
cp -R /mnt/net1/* /tmp&lt;br /&gt;
&lt;br /&gt;
insmod /tmp/modules/mtdcore.o&lt;br /&gt;
insmod /tmp/modules/mtdblock.o&lt;br /&gt;
insmod /tmp/modules/mtdpart.o&lt;br /&gt;
insmod /tmp/modules/chips/chipreg.o&lt;br /&gt;
insmod /tmp/modules/chips/gen_probe.o&lt;br /&gt;
insmod /tmp/modules/chips/cfi_probe.o&lt;br /&gt;
insmod /tmp/modules/chips/cfi_cmdset_0002.o&lt;br /&gt;
insmod /tmp/modules/maps/readwrite_rescue/danger_physmap.o&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You are supposed to have the modules folder in the /tmp directory. &lt;br /&gt;
&lt;br /&gt;
=== Re-flash ===&lt;br /&gt;
&lt;br /&gt;
Finally it is time to copy the new filesystems to the block devices and re-flash. First copy the new filesystems to the appropriate block devices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dd if=/tmp/rootfs.gz of=/dev/mtdblock3&lt;br /&gt;
dd if=/tmp/opt.cramfs of=/dev/mtdblock4&lt;br /&gt;
dd if=/tmp/userprefs.cramfs of=/dev/mtdblock5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then execute&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to write all of the buffered filesystems to disk. Reboot the [[ZipIt]] and if everything went well you should be able to connect to the network using the steps described in the section &amp;quot;Establish network connectivity&amp;quot;. In order to automatically connect to a network on boot refer to the section below on customization.&lt;br /&gt;
&lt;br /&gt;
== Customization ==&lt;br /&gt;
&lt;br /&gt;
The multiple partitions used by this firmware make it relatively simple to make your own modifications. At a minimum you will probably want to modify the init scripts in &amp;lt;code&amp;gt;userprefs.cramfs&amp;lt;/code&amp;gt; to automatically establish [[WiFi]] connectivity at boot. In order to make changes mount &amp;lt;code&amp;gt;userprefs.cramfs&amp;lt;/code&amp;gt; to a temporary directory on your development machine. For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/userprefs&lt;br /&gt;
mount -t cramfs -o loop userprefs.cramfs /tmp/userprefs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then copy the contents of the filesystem to a writable location.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/userprefs_modified&lt;br /&gt;
cp -a /tmp/userprefs/* /tmp/userprefs_modified/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After making changes to the files in &amp;lt;code&amp;gt;/tmp/userprefs_modified/&amp;lt;/code&amp;gt; make a new filesystem by executing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkcramfs /tmp/userprefs_modified /tmp/userprefs_modified.cramfs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next make the new filesystem available on the NFS volume. Finally download the modified filesystem to the [[ZipIt]], use dd to copy it to the appropriate block device, and sync as describe above. If you wish you can mount the block device that was modified to a temporary directory before syncing and rebooting in order to verify that everything is as it should be.&lt;br /&gt;
&lt;br /&gt;
If the [[ZipIt]] fails to boot hold down the lid closed button during boot. This will prevent &amp;lt;code&amp;gt;opt.cramfs&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;userprefs.cramfs&amp;lt;/code&amp;gt; from being mounted and will drop you into a shell where you can repair things. The file &amp;lt;code&amp;gt;rootfs.gz&amp;lt;/code&amp;gt; contains the minimal rescue filesystem that makes this possible even if you screw up the filesystems on the other partitions so you probably don't want to mess with it unless you know what you are doing.&lt;/div&gt;</summary>
		<author><name>RBot</name></author>	</entry>

	</feed>