Updated version of my small Linux system for the Zipit Z2

2010-12-02 16:04
Here is an updated version of my small Zipit Z2 Linux System.

The Z2 with weechat and bitlbee

The most important changes since the last version are:

  • Updated kernel with deep sleep support
  • Inclusion of bitlbee (for instant messaging through Jabber (XMPP), ICQ, etc.
  • Support of the front LEDs of the Z2 (low battery indicator and wireless traffic indicator)
  • Small Gmu music player update
I have also changed the default user name from "default" to "user". The password for both "user" and "root" is "password". You should change that.

To put the Z2 into deep sleep mode just execute "deepsleep" at the console. To wake the Z2 up again, you can press any button. It will be ready in a few seconds. After waking up, it might take another few seconds until the wireless network becomes ready again, but it should come up eventually.

For configuration hints (wireless setup, display/keyboard brightness etc.) and information about included programs please have a look at my anouncement of the first version of this rootfs.

The left LED is now being used to warn about a low battery voltage. This feature is still experimental. When the battery is almost empty the LED starts flashing for three minutes, then the Z2 is put automatically into deep sleep mode. If you want to disable this behavior you can make the file /etc/init.d/S74batteryd non-executable:

# chmod -x /etc/init.d/S74batteryd

When you disable this feature, the left LED will be used as a SD card access indicator instead.

As the tarball was the much more popular format, this time I'll release the rootfs as a tarball only.

z2-system-wejp-20101202.tar.bz2
22 MB, md5sum: 3e831107c1cf027278bc76a469eeafff


To use my rootfs you need to have U-Boot installed on your Z2. With U-Boot installed, all you need to do is format an SD card with an ext2 filesystem and then extract the contents of the archive onto it. Then you will be able to boot the system. The SD card can have any size. Even 64 MB would be enough.
 
rkdavis (web) says:
2010-12-02 19:12:49
if you set the direction of gpio 83 from in to out then you can use the middle led (the amber one) for your battery status stuff (i use it as the charging indicator in iz2se/ez2s)
rkdavis (web) says:
2010-12-21 16:03:56
wejp: finally got around to messing around with your rootfs. really impressed but it is missing a few things i like to have. any chance you can add a few things like mc, lua (and python and ruby if possible) + standard modules, kbd (i miss some of the things in there like setfont, i know loadfont works but i like setfont)

rkdavis
rkdavis (web) says:
2010-12-21 16:26:21
i'm not getting any sound from gmu. is there any trick to it? alsamixer looks fine and volume is 15/15 but nada soundwise
wejp (web) says:
2010-12-21 21:06:06
rkdavis: I consider adding those things in the next version.
As for your sound issue, I think we've figured that out on IRC in the meantime. ;)
rkdavis (web) says:
2010-12-21 22:53:02
yes it looks like it is a "bad" sd card. it works in blob but looks like it is marginal with uboot.
deeice (web) says:
2011-01-26 17:03:17
You should add /usr/libexec/sftp-server to the next release. Makes it much easier to xfer music files onto the zipit. I took your buildroot config file, checked off openssh, rebuilt, made a libexec dir on the SD card, and put the sftp-server exe there. Seems to work with no new libs or conf files.

By the way deepsleep works great, but poweroff leaves the filesystem hosed on the next boot. Do I need to sync first or something like that?
wejp (web) says:
2011-01-26 23:37:07
deeice: Good idea with sftp-server. As for poweroff, I would suggest not using it. Unfortunately, there is no real "power off" on the Z2 anyway.
wejp (web) says:
2011-02-03 18:54:28
deeice: As it turns out, scp i working just fine with the current configuration, so there is no need for an additional sftp-server.
Bernd (web) says:
2011-04-09 16:46:17
i get a "Kernel Panic: No init found. Try passing init= option to kernel" error on start, what do?
wej (web) says:
2011-04-09 23:13:24
Bernd: It looks like your SD card has not been formatted/partitioned properly or the archive has not been extracted correctly. Are you sure your SD card has a single partition on it with an ext2 file system? Some SD cards do not have partitions at all by default and all SD cards are fat formatted by default, so it is very important to partition and format the card accordingly.
Gary (web) says:
2011-09-28 04:03:42
mutt isn't compiled with smtp or imap support? I get imap_user: unknown variable and smtp_url: unknown variable when I try to run mutt with my config that works everywhere else.
wej (web) says:
2011-09-28 08:35:30
Gary: I must admit, I haven't used mutt much myself, so I don't really know if I forgot to enable smtp or imap, but is it even possible to compile mutt without smtp support?
Gary (web) says:
2011-09-28 11:13:44
wejp: Yeah, it looks like it is. What switches did you compile it with? Did you include --enable-pop --enable-imap --enable-hcache --enable-smtp --with-sasl=/sw --with-ssl ?

Leave a comment

Name
E-Mail
Website
Homepage
Comment