Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-04-01, 21:45
toninikkanen toninikkanen is offline
 
Join Date: Oct 2009
Posts: 44
Thanks!: 16
Thanked 89 Times in 19 Posts
Default Booting the N900 firmware in QEMU emulation

With the recent releases of Maemo QEMU and the MeeGo N900 QEMU image, I was able to boot the regular N900 software up in QEMU on a Mac: http://bit.ly/aE9X2F

It doesn't boot into the GUI, since there is no SGX emulation. Maybe later...


Last edited by toninikkanen; 2010-04-01 at 22:03. Reason: Added screenshot
Reply With Quote
The Following User Says Thank You to toninikkanen For This Useful Post:
  #2  
Old 2010-09-19, 20:54
XenGi
Guest
 
Posts: n/a
Default Re: Booting the N900 firmware in QEMU emulation

i'm trying the same but with less success. can you post some step by step instructions how you do that? it would be very helpful.
Reply With Quote
  #3  
Old 2010-11-20, 21:45
evilJazz's Avatar
evilJazz evilJazz is offline
 
Join Date: Aug 2009
Location: Germany, Oldenburg
Posts: 83
Thanks!: 61
Thanked 299 Times in 62 Posts
Default Re: Booting the N900 firmware in QEMU emulation

I had the same problem on my Mac with Nokia's Qt SDK 1.0.2 beta. As I was not able to find a proper script in the distribution package, I came up with my own script:

Code:
#!/bin/bash
SDKROOT="/Users/darkstar/Playground/Development/NokiaQtSDK"
MAEMOROOT="$SDKROOT/Maemo/4.6.2"
QEMUROOT="$MAEMOROOT/tools/qemu-system-arm-0.13.50-pr13-darwin"

cd "$QEMUROOT/lib"
"$QEMUROOT/bin/qemu-system-arm" -M n900 \
        -mtdblock "$MAEMOROOT/runtimes/qemu-n900-pr13/RX-51_2009SE_20.2010.36-2.nand" \
        -sd "$MAEMOROOT/runtimes/qemu-n900-pr13/RX-51_2009SE_20.2010.36-2.emmc" \
        -serial stdio -clock unix \
        -redir tcp:6666:10.0.2.15:22 \
        -redir tcp:13219:10.0.2.15:10000
Make sure to change SDKROOT to where you have installed the Nokia Qt SDK to. Finally make the script executable and start it.

In Qt Creator, open Preferences > Projects > Maemo Device Configurations > Add.
Name: Emulator
Device Type: Maemo emulator
everything else keep as is.

Now, click Projects in the sidebar, select the Maemo target and its run settings. Change the Device configuration to the new one we just added, i.e. Emulator.
__________________
Nokia N900 / N950 / N9 : Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu U2010/128GB SSD running Win7/Ubuntu
QuasarMX : Quasar Media Player : Blog : Twitter : Ohloh
Reply With Quote
The Following User Says Thank You to evilJazz For This Useful Post:
  #4  
Old 2010-11-20, 21:50
evilJazz's Avatar
evilJazz evilJazz is offline
 
Join Date: Aug 2009
Location: Germany, Oldenburg
Posts: 83
Thanks!: 61
Thanked 299 Times in 62 Posts
Default Re: Booting the N900 firmware in QEMU emulation

Nevermind my previous post. Turns out it is quite simple actually.

$SDKROOT/Maemo/4.6.2/bin/mad remote -r qemu-n900-pr13 poweron

D'oh!
__________________
Nokia N900 / N950 / N9 : Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu U2010/128GB SSD running Win7/Ubuntu
QuasarMX : Quasar Media Player : Blog : Twitter : Ohloh
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:15.