dev/mouse: use 32 bit integer for storing pressure.
dev/mouse: calculate pressure in one go.
*: refactoring: enum style
uxn for the nokia n900.
make
this requires mtools and a specific version of qemu.
dd if=/dev/zero of=etc/sd.img bs=1M count=1
mformat -i etc/sd.img ::
mcopy -i etc/sd.img uxn900.uimage ::uImage
mcopy -i etc/sd.img <any uxn rom> ::
qemu-system-arm \
-machine n900 \
-cpu cortex-a8 \
-serial stdio \
-mtdblock etc/mtd.img \
-sd etc/sd.img \
-sd etc/sd.img
copy your chosen rom and the uxnemu.uimage to the first partition of an sd card (fat formatted). you must rename uxnemu.uimage to uImage. boot the device and run the following u-boot commands:
fatload mmc 0 0x801f0000 <your rom>
run trymmcboot
patches to: my public inbox