Installing the U-Boot Version of z2sid to a Stock ZipIt.

/* (C) 2011 nulluser This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Contact: nulluser@gmail.com Version 0.5 */ Warning: This may break your computer or ZipIt. Use at your own risk. Tested on a debian host system with SanDisk 2GB SD Cards. Required files z2sid-rootfs-r4.tar.bz2 AutoFlasher-r2.zip z2sid_2.6.36-rc2+_01142011.tar.bz2 z2sid_u-boot_v5_rc1.tar.bz2 z2uflasher_09022010.tar.bz2

Autoflashing to z2sidr4

Prepare a FAT16 partition on the SD card Insert the SD card. Assuming the card registers as /dev/sda fdisk /dev/sda Delete whatever is there, and add a type 6 (FAT16) partition of the full size. Write and quit Create the FAT16 filesystem mkfs.msdos /dev/sda1 Make a working directory on your machine mkdir /sd Mount the SD card mount /dev/sda1 /sd Extract the autoflasher to the SD card unzip AutoFlasher-r2.zip -d /sd We are going to extract the z2sidr4 kernel tar -x boot/zImage-2.6.29 -f z2sid-rootfs-r4.tar.bz2 Copy the kernel to the SD card cp boot/zImage-2.6.29 /sd/kernel.bin Unmount the SD card umount /sd We should now have an SD card that will be able to flash the stock ZipIt. Boot the ZipIt. Flashing should occur automatically.

Creating the z2sidr4 userland for the U-Boot flash

Prepare an ext2 partition on the SD card Insert the SD card. Assuming the card registers as /dev/sda: fdisk /dev/sda Delete whatever is there, and add a type 83 (Linux) partition of the full size. Set the bootable flag. Write and quit Create the ext2 filesystem mkfs.ext2 /dev/sda1 Mount the SD card mount /dev/sda1 /sd Extract the z2sidr4 userland to the SD card tar -xvjpf z2sid-rootfs-r4.tar.bz2 -C /sd Extract the U-Boot flasher to the SD card tar -xvjpf z2uflasher_09022010.tar.bz2 -C /sd/root Unmount the SD card umount /sd

Perform the U-Boot flash

Boot the ZipIt with this SD card Get out of the menu system Crtl+C (Perhaps a few times) Switch user to root su root Password root Switch to the uflasher directory cd /root/uflasher Run the flash script ./flash.sh Follow the instructions The Zipit is now U-Booted

Creating the z2sidr5 U-Boot userland

We must now prepare the actual z2sid userland that will be used. Wipe out the ext2 filesystem mkfs.ext2 /dev/sda1 Mount the SD card mount /dev/sda1 /sd Extract the r5 userland tar -xvjpf z2sid_u-boot_v5_rc1.tar.bz2 -C /sd/ Extract the updated kernel tar -xvjpf z2sid_2.6.36-rc2+_01142011.tar.bz2 -C /sd/ Unmount the SD card umount /sd Boot the ZipIt. The ZipIt is now running U-Boot and the U-Boot version of z2sid. Notes: Edit rc.local - Change eth0 to wlan0