Posts

New item to my collection

Today I owned iPAQ rx3715. Joystick does not work well, battery does not work at all, but it's s3c2440 based, and I'm going to push upstream everything for it :)

May report

This month I did not do much hacking, as I was pretty busy with repairing in my house. But here's list what I did: Tried to run opie on Zipit Z2. It's pretty stable (but damn slow, maybe due to rotation?), opie understands kernel keymap, just don't use sticky modifiers, it does not understand them. Battery support is not working yet in opie. Made my own mouse emulator , it's simple and configurable. Going to use it with my distro for Zipit Z2 Hacking on something jlime-like (Xfbdev + matchbox-desktop + echinus + dzen2), and not oe- but buildroot-based. It's not ready yet. Added proper rotation support to qemu, now it's easier to test different Zipit stuff (especially, Xfbdev rotation) Also I'm going to buy iPAQ rx3715 to hack Linux kernel for it.

NetSurf on Zipit Z2

Image
Yesterday I prepared netsurf recipes for buildroot, you can get them here . You'll also need fonts and config, you can get them here . Recipes include some patches for netsurf, basically, zipit-specific (add zipit kbd layout, etc), but there's a bug fix aswell :) Also you'll need some mouse emulator, I'm using z2mouse   mouse-emul . To clear inputbox (i.e. for address) you can use ESC key. Here're some screenshots: I'm pretty happy with netsurf, it's a very nice browser, and it works smoothly even on complex pages :) Update: no more extra fonts necessary, netsurf uses liberation fonts from buildroot. I updated recipes and netsurf-stuff archive.

USB on Zipit Z2

Image
Today I finished my z2-usb-switch driver, so now it's possible to switch between device and host modes in software. By default, device mode is activated. To change mode invoke: echo device >/sys/devices/platform/z2-usb-switch/usb_mode or echo host >/sys/devices/platform/z2-usb-switch/usb_mode All changes are in my tree , branch pxa27x-devel. You can get precompiled binaries here .
Image
Finaly got new LCD for my h1940! Now I have two h1940, one lacks battery, but I plan to order one from ebay :)

More work on Zipit Z2

Month past since I last time posted to my blog, and many things happened, many stuff I was hacking on :) So... CPUFreq is working! I got cpufreq working on Zipit Z2. For some reason it's unstable when fastbus bit of CCLKCFG is set, so solution is to keep fastbus disabled. Here's patch . Now it works pretty well with ondemand and conservative governors (I'm using later). But I suggest to keep regulator support disabled - for some reason it adds some instability (even without cpufreq). linux-anarsoul-2.6 tree was set up :) I published my linux-2.6 git repo at github, for now it contains only zipit-related patches (in branch pxa27x-dev), but I plan to make a branch with h1940 and rx1950 patches (however, pretty all h1940/rx1950 patches are merged into mainline kernel) Patches... I submitted pack of patches for Zipit Z2, so they'll appear in 2.6.39 :) Also looks like Ben Dooks sent pull request for next-samsung tree, so rx1950 and h1940 patches should get into Linu...

qemu with Z2 support

I spent some days getting qemu to emulate some Z2 hardware, and got some results :) Almost all hw is emulated, it lacks only voltage regulator and WiFi, but it's not easy to implement Marvell's WiFi chip, because there's no datasheet, and anyway it makes no sense. Also screen rotation is not supported (yet). Stock bootloader - blob - (with slight modification) and stock kernel works. Blob puts Z2 into deepsleep on reset, so I hacked it not to do this. How to compile qemu: git clone git://github.com/anarsoul/qemu-z2.git cd qemu-z2 ./configure --audio-drv-list=alsa --target-list=arm-softmmu make -j4 arm-softmmu/qemu-system-arm binary is what you need. So, how to hack blob: put your blob image (first 64kb of NOR) somewhere convert it to hex representation with xxd: xxd mtdblock1.bin >mtdblock1.hex apply patch onto mtdblock1.hex convert hex back to bin: mv mtdblock1.bin mtdblock1.bin.bak; xxd -r mtdblock1.hex >mtdblock1.bin I don't pu...