Zipit Z2

From NURDspace
Zipit Wireless Messenger Z2
Zipit-vanity2.jpg
Participants Anus, User:buzz
Skills We'll see
Status Planning
Niche
Purpose
Tool No
Location
Cost
Tool category

Zipit Wireless Messenger Z2

zipit-vanity2.jpg {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}


Specs

  • PXA270 @ ~100-450Mhz
  • 32MB RAM, 8MB Flash, MiniSD slot
  • 2.8" 320x240 screen
  • 802.11bg wifi, Audio (also input), USB host&otg (on weird connector)
  • Backlit keyboard <3

Mods

Battery

It turns out that a Nokia BP-4L LiPo battery fits perfectly. without any modifications to the case. Uncertain if thermistor matches specs, but it does seem to charge. As an added advantage, this battery is 1500mAh instead of stock 1250mAh.

Update to battery mod;

Mozzwald made this script ; http://mozzwald.com/zipit/openwrt/chrgstat which showed that the battery wasn't charging at all.

Measuring the thermistor leads from the Nokia battery showed me it had a 119k resistance at roomtemperature, way too high for the charge circuit. I now put just a 9.1K resistor between the thermistor lead and GND, and, its charging \o/

openwrt build

Just to mess around, i went to build openwrt.

Removed all feeds, set these ones;

Needed to do some mods to m4 and bison; (can only do this after failing first)

build_dir/host/bison-2.4.3/lib/stdio.h
build_dir/host/m4-1.4.16/lib/stdio.h
/*_GL_WARN_ON_USE (gets, “gets is a security hole – use fgets instead”);*/ 
#define gets(a) fgets( a, sizeof(*(a)), stdin)

Also disabled the makeinfo in gcc

MAKEINFO=missing

On alsa-lib i needed to edit package/feeds/zipit/alsa-lib/Makefile to get;

DEPENDS:=@AUDIO_SUPPORT +librt +libpthread

For ncmpc i need to add some depends aswell;

+glib2 +libncursesw

In openwrt's config this needs to be enabled to pull in real iconv;

CONFIG_BUILD_NLS

Some hints from mozzwald;

23:28:12 < mozzwald> here's the script I use when doing a full build
23:28:14 < mozzwald> http://pastebin.com/NSz40thL
00:38:57 < mozzwald> deeice: make IGNORE_ERRORS=1
00:39:15 < mozzwald> should skip over anything that won't build

Links

Pics