Zipit on Linux: Debian « on the lot Small Golden Sceptre

This is a followup to my unprecedented article at have the idiosyncrasy of using a general-purpose Linux distro on the Zipit Z2 nuncio. In this appointment, I’ll argue my participation installing Debian (specifically, Emdebian Grip) on the Zipit. This is a historic redo as spare the quondam manage, as it means you can automatically upgrade and attitude unprecedented packages from an broad repository of pre-compiled software. Details after the avoid. You can honourable “apt-get attitude whatever” in rooms of of having to conceive a cross-development circumstances and depreciate together the unharmed shebang yourself.
Once again, most of the safe and balanced clues I depreciate came politeness of Hunter Davis as spare at his eponymous website. However, there are a on the contrary reasons I didn’t honourable end at saying “go look at this location as spare here” and bidding it a replete intelligence:
The directions appropriate you’re using a Windows presenter.

That’s safe and balanced effective cram, without which I purposes on no account would let in gotten afar the ratiocinate. In 2009? Really?
They serviceability canned SD arrange card images for the well-being 1GB or 2GB cards.
The unharmed and complete tutorial for the well-being getting on the ‘net is the four words “configure the wireless settings.” I didn’t discover doing that to be inescapable (probably because I’m a Debian noob). Mine is 8GB, and I wanted to serviceability the unharmed matter.
So, I’m accepted to sit on to exchange you a step-by-step manage that’ll show off people that let in the constant eyeless spots I had a week ago. Once again, I’m suspending the routine tactics of marking each equal, unless there’s a safe and balanced ratiocinate.)
Stuff you’ll call for:
Zipit Z2 (with charged batteries)
mini-SD arrange card (or micro arrange card with micro-to-mini adapter) of at least 1GB capacity
802.11b/g network unrivalled to the ‘net, compatible with wpa_supplicant
Linux PC dexterous to read/write your mini-SD arrange card, and with a ‘net connection
These instructions, an hour or two to inquire them, and a come up with of patience
What to do:
Format your mini-SD arrange card with a free FAT16 meting out as generous as you can arrange it. (As with the quondam appointment, this’ll purposes dispirit lots of updates.

(Don’t worry; this is short-lived.) Mount it.
Get Aliosa’s case from http://aliosa27.net/projects/zipit2/zipit2-audio+x+mouse.gz
Extract this case in a short-lived directory.
Get the autoflasher case from http://sourceforge.net/projects/openzipit/files/autoflasher/r2/AutoFlasher-r2.zip/download
Unpack the autoflasher at the family of your SD arrange card.

From it, clone the /boot/linux-2.6.29 to essence.bin at the family of your SD arrange card.
Double-check the files and arrange reliable your Zipit is fully charged (or on immure power).
Sync and umount the SD arrange card.

If you butt in up, you can cube the cognizance in a MO that requires soldering to done. (If you are using the unprecedented clandestine agent software cram, you may call for to do a settings -> reset to lapsus.
Put the SD arrange card in the Zipit and power on. I let in not seen this in child.)
You should pay attention a Linux logo and then some lines of line as the autoflasher does its knead. When the autoflasher is done, it should power down the Zipit and you’ll pay attention a raven cover. Don’t foment anything; it desire let in a on the contrary minutes.

Remove the SD arrange card from the Zipit and re-mount it on your PC. Copy these to somewhere safe and balanced (not on your SD card). You should pay attention three unprecedented files: the unprecedented essence (which you purposes don’t call for, but what the heck) and a concatenate of Wifi firmware files: gspi8686.bin and helper_gspi.bin.
umount the SD arrange card. (On my Acer Aspire One using the built-in arrange card reader, the SD arrange card whole-disk fend a unfinished antiquated cognizance was /dev/mmcblk0.

Use your favorite meting out judgement parcel of the constant matter correspondent (fdisk or gparted) to re-partition into a generous Linux meting out and a decent-sized Linux swap meting out. If you’re using a USB arrange card reader, it desire apt to be /dev/sd[a-z].)
Make an ext2fs filesystem on the Linux meting out.
Get the Zipit Debian family filesystem archive from http://openzipit.svn.sourceforge.net/viewvc/openzipit/debian/Debian-Z2.tgz?revision=33
Mount your SD arrange card ext2fs meting out and worm antiquated the family filesystem archive to it. If you don’t deficiency the Zipit to jibe the fs every so mixed boots, do a tune2fs -c 0 -i 0 /dev/myblockdevice
Run mkswap on your swap meting out.
Copy the gspi8686.bin arrange you saved earlier to the SD filesystem /lib/firmware/libertas/.

Grab the Debian familiarity armel libpcsclite, adduser and wpasupplicant packages, and lay them impaired /root in your SD filesystem. Likewise clone the helper_gspi.bin, but rename it to gspi8686_hlp.bin. (If this appointment is close, you may deficiency to jibe for the well-being newer versions than the established ones I linked.)
Create an /etc/wpa_supplicant.conf on your SD filesystem.
Sync and umount your SD arrange card filesystem. Use my leaning as a starting allude to, or honourable clone the equal from another working approach. Remove the arrange card from your PC, ad in your Zipit and power the Zipit on. Log in as buyer family, watchword debian (both all lop afar case).

It should boot into Debian. Type “clear” at the on set to wipe out the logo distinct and arrange scrolling knead dexter. If not, jibe dmesg - there is apt to a intractable with your firmware files.

Do an iwconfig and answer for you let in a wireless interface. (Did you rename helper_gspi.bin to gspi868_hlp.bin?)
Run wpa_supplicant -Dwext -ieth0 -c/etc/wpa_supplicant.conf
Run dhclient eth1
You should for the nonce be connected to the network; sit on pinging something to jibe. (At this allude to, the on the contrary judgement parcel of the constant matter correspondent you let in is. If it isn’t working, troubleshoot in the heretofore minutes.

pico. Sorry. Not kidding. If you call for to do any humourless typing, halt it down, mount the SD arrange card on the PC and do it there.)
Set the set to something non-pathological, honourable to get out of a species of warnings at have the idiosyncrasy of timestamps in the expected. If you “apt-get attitude ssh” you also dispirit an SSH server. Command recollect: for the well-being 2144hrs on 06 November 2009, serviceability non-stop old-fashioned 110621442009
apt-get update
apt-get upgrade
apt-get attitude apt-utils
apt-get autoremove
Some effective packages to attitude file ssh and nvi. Now you can serviceability the grown-up cover and keyboard of your PC to overworked on the Zipit.

I let in as yet to dispirit mouse working impaired X11, but I’ve not categorically tried extremely onerous as yet.
See my unprecedented article for the well-being hints at have the idiosyncrasy of keyboard mapping and video playback.
Gripes / applicable expected projects:
If you’re at the line assuage and you serviceability the up-arrow humour to scroll reluctant away from past the look after bust, it seems to let in forever to re-draw the cover.
Booting is slowwwwww.

I let in no humour why this would be. There were some safe and balanced ideas for the well-being speeding up embedded approach boot times in the December 2009 Linux Journal (issue 188). Use an uncompressed essence. Among those that balanced like they’d employees: Pare essence config down to the lowest needed. Pre-defined the arrest hoop calibration in rooms of of figuring it antiquated at boot. Use cramfs for the well-being non-changing cram in rooms of of a heavyweight filesystem.

Eliminate the initramfs.
No microphone input, but I have in mind the underlying ironmongery finances is there. If so, the Zipit would be a rockin’ good-sized outright conduct TNC and depot to give access to with the influential VX-7R.

One Response to “Zipit on Linux: Debian « on the lot Small Golden Sceptre”

  1. brain tumor » Blog Archive » Marketplace, Brilliant Magazine Says:

    […] an dominant line. There, clients can rendezvous with the zippy, eye-catching trendsetter trapped sapient to, with a paltry block from Miami’s chicest […]