Posts

Showing posts with the label qemu

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.

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...