Difference between revisions of "ZipIt Serial Flash"

From eLinux.org
Jump to: navigation, search
m (Added category)
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
== How to flash new firmware on your zipit via serial port connection ==
+
'''If someone would like to add instructions for flashing the Zipit in Linux, it would be greatly appreciated.'''
''This page needs to be written.''
+
  
 
You can upload new firmware via a serial port connection to the Zipit's flash memory from a Windows PC or Linux box. First you have to modify your Zipit to add a serial port. See [[Zipit Serial Mod]]
 
You can upload new firmware via a serial port connection to the Zipit's flash memory from a Windows PC or Linux box. First you have to modify your Zipit to add a serial port. See [[Zipit Serial Mod]]
  
You can get some info on this process (and download the necessary software) by reading [[BURN3]] and [[ZipIt WiFi Flash]], but those pages contain directions oriented towards flashing new firmware via [[WiFi]], which does not work if your Zipit has ver 2.01 or later firmware already on it.
+
To begin, perform the following instructions.
  
  
I found that the BURN3.bin file is encrypted to work for the [[WiFi]] hack, which will not work with the serial hack.  Needed to use Zipit_parts_burn3.zip, which has loader, ramdisk and zimage files that must be uploaded separately. You can get the burn3 parts here http://www.aibohack.com/zipit/zipit_parts_burn3.zip
+
What you need:
 +
* Windows PC
 +
* DB-9 Serial port or equivalent (such as a USB to Serial adapter)
 +
* Zipit with serial mod performed (preferably 5-wire mod); [[Zipit Serial Mod]]
 +
* Zipit Software Tools; http://www.aibohack.com/zipit/zipit_tool_extras.zip
  
 +
1.) Extract the Zipit software tools to a convenient location.
  
3. where are the full sources for zflash?
+
2.) Connect your modded Zipit to your computer through the serial port.  Make sure that the debug pin (DBG) is grounded.
The full source code is in the official release.
+
 
http://www.aibohack.com/zipit/zipit_tool_extras.zip
+
3.) In your extracted folder, open the folder named SERIAL_5.
 +
 
 +
4.) Run the file named up.bat.  You should see the following below:
 +
 
 +
Transferring bootstrap program
 +
Transfer complete
 +
Switch to 57.6kbps
 +
Echo + upload commands
 +
        Decide what to upload
 +
        'A' - allrom.bin upload (2MB)
 +
        'a' - loader.bin upload (8K max)
 +
        'k' - zimage.dat upload (581K max)
 +
        'u' - ramdisk.gz upload (1.5MB max)
 +
        Follow changes with 'WYes' to write
 +
        Other commands
 +
        'R' - grab ROM
 +
 +
ZP< .02 - 57.6Kbps new cmds
 +
  Loader addresses: 00002000 00090000
 +
 +
OK >
 +
 
 +
5.) Now you need to type a lowercase "a".  You should see the text below.
 +
 
 +
OK > a
 +
//Uploading 8032 bytes from loader.bin
 +
// done upload
 +
OK >
 +
 
 +
6.) Type in a lowercase "k".  This step may take a few minutes.
 +
 
 +
OK > k
 +
//Uploading 573300 bytes from zimage.dat
 +
// done upload
 +
OK >
 +
 
 +
7.) Type in a lowercase "u".  This step may take quite a while, SO LET IT WORK!  In my own personal experiences, it has taken 7 to 12 minutes.
 +
 
 +
OK > u
 +
//Uploading 1372343 bytes from ramdisk.gz
 +
// done upload
 +
OK >
 +
 
 +
8.) Then, you need to type a capital "W".  Wait a few moments until 'PWD' shows up, then type 'Yes', with the capital Y.
 +
 
 +
OK > [type W, wait for PWD, then type Yes]
 +
E+W PWD?ERASING,ERASED,WRITTEN!
 +
OK >
 +
 
 +
9.) Finally, type a question mark if you would like to see information about your Zipit.
 +
 
 +
OK > ?
 +
GPIO: 80 FF 28 02
 +
UNIQID: 902FDA7F
 +
RANDID: 007C1C60D37FEA1F59606150902FDA7F
 +
FLASHROM: 1EFDE9D2
 +
BURN_SRC: 1EFDE9D2
 +
OK >''
 +
 
 +
Congratulations, your Zipit now runs Linux!  Exit out of the command prompt, turn off your Zipit, and unplug your Zipit.  When you turn your Zipit back on, you should see the "Hacked by ZipItPet" logo.
  
 
[[Category:Zipit]]
 
[[Category:Zipit]]

Latest revision as of 01:29, 28 October 2011

If someone would like to add instructions for flashing the Zipit in Linux, it would be greatly appreciated.

You can upload new firmware via a serial port connection to the Zipit's flash memory from a Windows PC or Linux box. First you have to modify your Zipit to add a serial port. See Zipit Serial Mod

To begin, perform the following instructions.


What you need:

1.) Extract the Zipit software tools to a convenient location.

2.) Connect your modded Zipit to your computer through the serial port. Make sure that the debug pin (DBG) is grounded.

3.) In your extracted folder, open the folder named SERIAL_5.

4.) Run the file named up.bat. You should see the following below:

Transferring bootstrap program
Transfer complete
Switch to 57.6kbps
Echo + upload commands
       Decide what to upload
       'A' - allrom.bin upload (2MB)
       'a' - loader.bin upload (8K max)
       'k' - zimage.dat upload (581K max)
       'u' - ramdisk.gz upload (1.5MB max)
       Follow changes with 'WYes' to write
       Other commands
       'R' - grab ROM

ZP< .02 - 57.6Kbps new cmds
 Loader addresses: 00002000 00090000

OK >

5.) Now you need to type a lowercase "a". You should see the text below.

OK > a
//Uploading 8032 bytes from loader.bin
// done upload
OK >

6.) Type in a lowercase "k". This step may take a few minutes.

OK > k
//Uploading 573300 bytes from zimage.dat
// done upload
OK >

7.) Type in a lowercase "u". This step may take quite a while, SO LET IT WORK! In my own personal experiences, it has taken 7 to 12 minutes.

OK > u
//Uploading 1372343 bytes from ramdisk.gz
// done upload
OK >

8.) Then, you need to type a capital "W". Wait a few moments until 'PWD' shows up, then type 'Yes', with the capital Y.

OK > [type W, wait for PWD, then type Yes]
E+W PWD?ERASING,ERASED,WRITTEN!
OK >

9.) Finally, type a question mark if you would like to see information about your Zipit.

OK > ?
GPIO: 80 FF 28 02
UNIQID: 902FDA7F
RANDID: 007C1C60D37FEA1F59606150902FDA7F
FLASHROM: 1EFDE9D2
BURN_SRC: 1EFDE9D2
OK >

Congratulations, your Zipit now runs Linux! Exit out of the command prompt, turn off your Zipit, and unplug your Zipit. When you turn your Zipit back on, you should see the "Hacked by ZipItPet" logo.