Sep 092009
 

So I finally sanitized my root fs and managed to get it down to about 200 megs, grab it here.
Todd got the correct keymap working in X, grab it here
Todd built a battlevel ipkg , grab it here (From Todd: “To get the battery meter to work I had to manually create some inodes, with: mknod /dev/i2c-0 c 89 0″)

Untar this to the root of your sd card. Log in as root, lots of .sh launch scripts in the root homedir. Sorry for the size but there are LOTS of packages installed. Like thousands, java, fluxbox, enlightenment, gpe, xorg, kdrive, firefox fceu, scummvm, etc etc. You’ll want to set up a swapfile and copy over your wireless modules as described on the wiki. GTK applications won’t have font’s rendered correctly, so you’ll want to grab sweetlilmre’s xorg packages or the angstrom ones like Todd did to get that going. Same with sound. Hopefully this should keep you busy till we post a fresh image with those already working. Sweetlilmre working on a new fluxbox image with sound etc, so we’re all looking forward to that too.

Share
 Posted by at 2:04 pm

  54 Responses to “Updated* Follow thread for new packages and images!: MyAliosa27′s up to date Z2 root FS, Todd’s battlevel ipkg and keymap working in X”

  1. Hi thanks for all your hard work and I hate to bother you but when I untar this I get a lot of errors that look like this

    “tar: usr/lib/X11/fonts/100dpi/lutRS14.pcf.gz: Cannot open: Not a directory
    tar: usr/lib/X11/fonts/encodings/large/sun.unicode.india-0.enc.gz: Cannot open: Not a directory”

    made sure to be root read through the tar and gzip man pages to make sure I didn’t miss anything redownloaded but still got errors

    -mark

  2. Hi Mark,

    Does the image still work besides the errors? Perhaps it’s a permissions error.. I’ll try re-zipping and comparing files.

  3. Sorry but I cant test the image right now because I only have a 512mb card and it doesnt fit. Tomorrow i`m going to go buy a 1 or 2gb card to test if it works with the errors
    -mark

  4. I got the same errors extracting the image, and the Zipit would not boot with that image on the card. I believe you’re correct with your thought that it’s a permissions issue.

  5. Hey Mark, Karl,

    Sorry about that. I re-tarred it today with –preserve-permissions and structure. Ended up being a bit bigger than the other image so I wonder if anything got truncated? Anyway, I’ve re-uploaded and fixed the link to the new .tgz image, let me know if it works. Good luck!

  6. Hi again this time I’m probably doing something wrong. When I try to copy the files to the sd card everything buy the dev folder copies fine. When I try to copy the dev folder it says error while copying “mtdblock3″ cant copy special file. it does that for a few files in the dev folder.

    -mark

  7. Hi Mark,

    Does it still boot ok? I think the dev folder can repopulate on bootup so you should be good, let me know if not and I’ll try tarring up again :) Perhaps also try copying out the /dev folder from the wireless+x image may work, as I don’t believe i’ve added any new devices….

  8. The new image works fine for me, no errors on extracting (although it extracted to /media/disk on the SD card, easily corrected.) As for the image being larger, there was a copy of a wireless image build in the image, and a few files that were removed for the first image. I haven’t had much time to play with the image so far, but it’s looking good.

  9. Hey Karl,

    Sorry about the /media/disk, I should have zipped from within the directory. Glad it’s working for you… Ya I forgot I keep an extra copy of the wireless+x image on the SD card just in case… hopefully it didn’t slow down your DL too much :)

  10. Ahhh, an addition of 13 mb out of 200 or so isn’t too bad, and that’s a good precaution in case you break something, like that ever happens :) . However I’m encountering some errors with many of the packages installed. For instance, fceustart.sh hangs with an error of “xscale out of bounds” (and locks up at a black screen) and in the case of the mario.sh script, it segfaults and hangs with garbage on the display. I got the errors in both cases by re-running them with output dumped to a text file. Freeciv and some of the others also die silently. Abiword and netsurf do work however (though I don’t have the fonts setup yet.) I tested fceu with a couple different roms, and with swap on and off with no change in results. It may be a problem with the X configs, as scummvm works but when I quit out it appears to get stuck and not drop me back to a shell prompt. I’m poking around trying to get fceu working still, but no success thus far.

  11. Hey Karl,

    Glad that’s going well for ya! I think I started fceu from within fluxbox so perhaps that’s the issue you’re running into? Not sure if I ever got freeciv working :)

  12. I thought I should do an update too so here goes…

    Yeah! i got it to boot up to a screen that says angstrom and login as root.

    what do i do now lol im just happy i got everything to copy and unzip properly

    -mark

  13. played super mario3 for a little bit it seems that you have to keep pressing the direction buttons inorder to move u cant just hold them. got the desktop with the workstations to work open close maximize stuff no problems there. had same errors as karl running some of the other games and stuff abiword was showing just strange symbols might be fonts like karl said other than that things seem to be fine looking forward to more!

    -mark

  14. played super mario3 for a little bit it seems that you have to keep pressing the direction buttons inorder to move u cant just hold them. got the desktop with the workstations to work open close maximize stuff no problems there. had same errors as karl running some of the other games and stuff abiword was showing just strange symbols might be fonts like karl said other than that things seem to be fine looking forward to more!

    -mark

  15. Mark,

    Glad to hear it. Now that you’re logged in as root, you can do anything! I suggest trying out fluxbox (ctrl-t for terminal, ctrl-m to maximize window) and perhaps running scummvm or fceu etc etc :)

  16. If you get rid of the man pages, and .debug/ directories as well as the extra angstrom image, and swap file, you can get it to fit on a 512 mini sd card. I create d a swap partion on the card that is about 55 megs…leaves you with about 4 megs of play space..depending on how big you make your swap

  17. If you get rid of the man pages, and .debug/ directories as well as the extra angstrom image, and swap file, you can get it to fit on a 512 mini sd card. I create d a swap partion on the card that is about 55 megs…leaves you with about 4 megs of play space..depending on how big you make your swap

  18. If you get rid of the man pages, and .debug/ directories as well as the extra angstrom image, and swap file, you can get it to fit on a 512 mini sd card. I create d a swap partion on the card that is about 55 megs…leaves you with about 4 megs of play space..depending on how big you make your swap

  19. Hey Thanks for the heads up Aliosa27, that’s good info!

  20. Yeah last night I tried to post another comment but it got marked as spam so I decided to wait and post later. so yeah I got fluxbox working and was playing a little supermario. It seems though that you have to keep clicking the buttons for him to move you cant just hold down.

    plus like Karl said the fonts are all just squares so i guess that means they aren’t installed.
    well looking forward to more updates.
    -mark

  21. Yeah last night I tried to post another comment but it got marked as spam so I decided to wait and post later. so yeah I got fluxbox working and was playing a little supermario. It seems though that you have to keep clicking the buttons for him to move you cant just hold down.

    plus like Karl said the fonts are all just squares so i guess that means they aren’t installed.
    well looking forward to more updates
    .
    -mark

  22. hi posting on my phone whenever i try to post from my laptop it gets blocked by your spam filter
    anyway yeah i got fluxbox working played some supermario seems like you have to keep pressing the keys to make him move u cant just hold down the buttons
    plus like karl said the fonts are just all squares i guess that means they arent installed
    well looking forward to more updates
    -mark

  23. So far, from my playing around with the image today:
    Fceu works under Fluxbox, just be sure to run marioSetup.sh first to configure the keys. Lack of key repeat makes most side scrollers mostly unplayable (although fceu itself is running well) but RPGs should be fine. Freeciv does seem to work, but you need to run it as a login other than root (” adduser ” then ” su freeciv.sh “) however lack of fonts and it’s apparent expectation for a higher resolution screen meant I didn’t test too thoroughly. I’ll play around with this more if I have time later on today.

  24. After playing with the image for a day or so, I have borrowed Hunter’s keymap and fluxbox start up script, and some other random things(sound,etc) and Have prepared an image that has wireless+X+audio working. Its lacking some apps, pretty much all of them. I had installed mpd,pidgin,the battery app,mousekeys and a few other random ones, mplayer, snes9x to play around and debug with… so its missing fceu and whatnot but you can throw those in. I should have an extended keymap for fluxbox done as well as the dpad working with keymouse soon..

    ipkg is enabled and will pull packages from my repo and angstroms as well

    Have fun…

    to start fluxbox, just type in startx

    Btw The internal speaker is pretty terrible, sounds like its going to blow when any volume is given to it, so I have it set low, Headphone jack works like a champ and is pretty much at full power. The pcm volume is set to about 70-80 because any higher and it distorts the sound pretty bad….. You can use mplayer to test the sound playback..I think i left an mp3 on the image..if you want to retain your settings just run alsactl store and they will be reloaded next boot..

    i also use 2 partitions on the mini sd card, the first is the rootfs and the second is the swap…By default the image will try to mount swap on the second mmc partition…

    This is all based around the 2.6.29-r2 kernel as well…if none of the modules load you may need to dd the kernel in the tarball to mtd1..

    http://aliosa27.net/projects/zipit2/zipit2-audio+x.gz (39 meg download)

  25. Hey Aliosa27,

    Excellent work thanks! I’m sure many of us (myself included) will get a lot of use from your new image :) Let me know if you need me to mirror the download for you. Fantastic progress!

  26. Hello,

    Hunter – Thank you for your detailed information and efforts! Aliosa27 – Thank you for your help as well. I am looking forward to the dpad support.
    Looking forward to giving the images a try when the Z2 arrives next week.

    Keep up the great work!

  27. could Aliosa27 or someone post a new video of the updated software in action?since wifi is enabled,what is the zipit capable of so far?any chance of just a way too have it automatically check your email?a web browser would be great,but not sure if thats possible.thanks

  28. Hey Tod,

    Actually web browsing has been working for something like 2 years now. Check my old posts for some howtos and my image has firefox and a few other browsers installed. I haven’t gotten to aliosa27′s image yet. Hopefully before the weekend ;)

  29. Hello Aliosa27,

    thanks for the image. It booted straight from the untarred zip. Now ipkg works and I don’t get a ‘unable to fork’ error, as I got with the image hunter provided us with. The wlan needs a manual wpa_supplicant before running. I installed python using the ipkg packages. Evrything works fine, even the addidtional libraries such as libpop and crypto. Also openssl is running allowing to connect to SSL-based pop servers. Nice!

    When I start fluxbox and initiate an xterm, I am lacking the ‘alt’ keys such as and the digits. Is there any way to enable those keys?

    I am also curious abot the keymouse option. Does that allow to move the graphical cursor using ‘arrow’ keys? Any comment on how to get that working would be very much appreciated.

  30. So I have keymouse “working” persay, ie can see what keys I press and whatnot on the backend, However not working in x..I have been a bit baffled on just how exactly to get xfbdev working with it….

    any ideas anyone…

  31. Hey Aliosa27,

    In a previous talk with Todd or Peter, I recall that the new .31 kernel is required for the new udev support, which Xfbdev requires for vitual mouse devices. Not sure if this also holds true for xorg, which compiles and runs ok too..

  32. Where can the new .31 kernel be acquired and/or compiled?

  33. I think you can download it straight from the angstrom repo. And I misspoke, it’s u-boot that .31 supports. For keymouse you just need to build the uimput kernel module.

  34. Hey Aliosa27,

    Thanks, that was fast! Modules seem to be loading fine for me :)

  35. How is the audio working for everyone?

  36. Haven’t tried audio in your image yet, but my opinion in general of the z2 audio is Tinny from the speaker, fine from headphones, but I think that’s a hardware limitation. Works great outputting “ping” from shell scripts.

  37. You guys rock!

    Can’t wait to try this out tonight.

    Anyone know how to get keys to repeat in X so that side scrollers(nes roms) are playable?

  38. Haven’t figured that out myself… but perhaps you can use the fceu ‘rapid fire’ feature with the directional buttons?

  39. Sound does not work for me, due to lack of sound device I believe, I haven’t tried to fix it though. Been playing with other things while I’ve been on vacation :) netsurf installs fine through ipkg (though without a mouse you can’t click links) and pidgin installs fine. For AIM/ICQ (and most others) you’ll need to install libpurple-protocol-(protocol name). When I get home I’ll start working on a hardware solution for mouse input. Does anyone know the details of any touchscreen protocols we would be able to use? If I get some protocol details I may be able to bootleg a touchscreen interface through the serial port.

  40. Anyone know of a browser like firefox with vimperator?
    I use it on all my machines, and for a machine without a mouse at all it would be perfect.

  41. I should have keymouse working with Xfbdev in a day or so, I have had to debug some uinput stuff but i will have an update package and a new image that will have it working..

    you should try plugging in some headphones and using mplayer to play that sample mp3 on the file system. if its not working you may not be running the right kernel.

  42. I’m running the 2.6.29 r1 kernel, the one that’s still in the openzipit sourceforge page, no difference with headphones. The errors it gives with both mplayer and aplay says it cannot find an output device, and I haven’t changed any of the driver stuff since starting to use the image. Anyone else with similar results?

  43. dd the kernel that is in boot to your device…
    the kernel is 2.6.29-r2

  44. Ahh, yeah that did it. Forgot that I was going to flash the r2 kernel after I got home (since I don’t travel with the tools to wire a serial mod on the road, my other half would kill me if I did XD ) Sound works fine with the r2 image, as expected.

  45. Good news everyone, I scrapped keymouse because it just would not work…Read up on uInput and put together a userland program to map the D-pad keys to mouse movements, consider it beta. It does not work with xfbdev, no idea why(yet), so you will need to use Xorg…sad day…

    I will put it up a bit later as well as an image that has working sound/x/mouse/wireless…

    Tootles…

  46. Nice Work! Great news! Xorg doesn’t actually require that much more overhead :)

  47. Hi All,

    Excellent progress and work since the early days of sweetlittlemre and gpsfan in kernel land!

    I was curious if anyone has tried VNC on Z2? VNC runs a bit pokey on some older 200MHz Windows CE HPC devices I have, but runs pretty well on my smartphone at 528MHz.

    Thank you all for your efforts and time to share it!

  48. Hey Jason,

    Have not compiled it myself, do you mean server or client? Server keeps 2 copies of a display buffered so 240×320 x 2 you’re not looking at a lot of memory usage. VNC viewer though, will be dependent on screen size of client and implementation of display client occulling. Good Luck!

  49. Here you go All..

    For the ones that want a mouse with there existing images, note that you need
    the uinput module and the evdev module .

    If your running 2.6.29-r2 then here are the links

    http://oracle.aliosa27.net/zipit2/ipk/zipit2/kernel-module-uinput_2.6.29-r2.3_zipit2.ipk

    http://oracle.aliosa27.net/zipit2/ipk/zipit2/kernel-module-evdev_2.6.29-r2.3_zipit2.ipk

    you will want them to load on boot..

    Xorg will need the evdev driver. if your running any of the images I have posed then you allready have this.

    Here is the link to a new image with audio,X,sound, and mouse supported.
    http://aliosa27.net/projects/zipit2/zipit2-audio+x+mouse.gz

    and here is a link to the userspace mouse driver.

    http://aliosa27.net/projects/zipit2/z2mouseemu

    does not fork so you will want to add it to your x startup script with an &

    There is no config options at this point , there will at some point…
    It is pretty basic, works for my needs…

    dpad is mapped to mouse events
    the center button,and the stop button are the 2 mouse buttons.

    you can drag and whatnot as well….

    One issue/2 issues to note are, keymapping is way of for number keys/etc// working on that today..and you only have basic up down left right controls on the mouse…..

    Enjoy(more to come)

  50. Nice! I’m going to move this to it’s own posting fantastic news

  51. hi, im trying to use your image hunter, but when i type startx it says that mcookie is missing, i used the startfluxb.sh but i get no mouse, can anyone tell my how can i fix those problems? :D thanks

  52. Hi drksoft,

    For the startfluxbsh, open it in an editor and add the path to the mouse emulator, followed by &. For mcookie you can either bitbake it or install it with apt-get if you’re using the debian image. You can also type it in as a script directly, as it’s quite short. Good Luck!

  53. [...] an Android Library Project Including an Android Library Project in Your Android Project (Yo Dawg) Planning (Knowing Exactly What You Want To Accomplish) Iterating (One Feature At A Time) Low Bar: [...]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>