Maemo In Qemu

2,665 views
2,586 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,665
On SlideShare
0
From Embeds
0
Number of Embeds
30
Actions
Shares
0
Downloads
39
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Maemo In Qemu

  1. 1. Maemo in QEMU Marcin Juszkiewicz maemo@haerwu.biz http://blog.haerwu.biz/
  2. 2. How it looks
  3. 3. What is emulated ● OMAP2 CPU ● N800 tablet keypad ● N810 tablet keyboard ● touchscreen ● flash chip ● SD card slot ● USB network adapter (QEMU add-on) ● USB keyboard (QEMU add-on)
  4. 4. What is missing ● OMAP2 DSP part ● Integrated camera ● WiFi ● FM tuner ● Sound ● Bluetooth (work in progress) ● Second SD slot (can be added) ● GPS (can be added from Openmoko Neo)
  5. 5. What is needed ● QEMU from SVN repository (tested with r5224) ● Poky from SVN repository (tested with r5197) ● Maemo image (Chinook or Diablo) ● Nokia flasher (or 0xffff) ● Fast computer (64bit Linux preferred) ● mtd1 dump from tablet with LifeGuard disabled ● TUN/TAP support in kernel (for networking)
  6. 6. Preparing image ● Fetch Diablo image ● Unpack it using Nokia Flasher ● Create image with those commands: – poky-nokia800-flashutil initfs.jffs2 maemo- image.qemuflash initfs – poky-nokia800-flashutil config.mtd maemo- image.qemuflash config – poky-nokia800-flashutil rootfs.jffs2 maemo- image.qemuflash rootfs
  7. 7. Booting sudo qemu-system-arm -kernel zImage -net nic,model=usb,vlan=0 -net tap,vlan=0,ifname=tap0, script=poky-qemu-ifup, downscript=poky-qemu-ifdown -mtdblock diablo.qemuflash -m 128 -M n810 -show-cursor -usb -usbdevice net:0 -usbdevice keyboard
  8. 8. Potential problems ● Network is via 'eth0' but since libconic only deals with WiFi and Bluetooth, a quot;Dummy networkquot; is required. ● N810 keymap is hard to use on PC keyboard – emulated USB keyboard works fine
  9. 9. Emulation authors ● Fabrice Bellard (QEMU author) ● Paul Brook (ARM emulation) ● Andrew Zaborowski (N8x0 emulation)
  10. 10. Questions?
  11. 11. Contact Marcin Juszkiewicz maemo@haerwu.biz http://blog.haerwu.biz/

×