06/30/2009, 03:55 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 17
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
Hi,
Let me open this thread dedicated to GNU/Linux users : To start, if it helps here is a short tutorial : http://www.newlc.com/en/palm-webos-sdk-delayed BTW, any of you can hack qemu ? regards
__________________
-- Palm SDK on GNU/Linux possible : http://www.newlc.com/en/palm-webos-sdk-delayed http://forums.precentral.net/web-os-...blems-etc.html http://www.newlc.com/en/+-Palm-OS-+.html Last edited by rzr; 06/30/2009 at 04:45 AM. |
06/30/2009, 04:16 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 44
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Trying to run the Pre VM in qemu on openbsd/amd64 doesn't work -- qemu segfaults. qemu also complains about the video mode not being half VGA, but that can't be helped -- might be why qemu crashes.
Better luck may be had on VirtualBox under Linux, but it might be fun to try getting qemu to work in a different environment. |
06/30/2009, 04:54 AM
|
#3 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
|
It nearly works with qemu. qemu -cdrom grub.iso nova-cust-image-sdk47.vmdk -boot d -vga std
With "vga std" you can manually choose the 640x480x32 mode and the Pre GUI will start.
__________________
Ludo www.palmopensource.com - The PalmOS/WebOS open source portal Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android? |
06/30/2009, 07:27 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 44
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Also of note: the Mac SDK version seems to have a Java version of the emulator(!)
I can't run it, though, I get a java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM exception. Maybe someone on a 32 bit machine could try verifying too. |
07/01/2009, 03:50 AM
|
#6 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 17
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
No the emulator is the same image :
/usr/local/opt/PalmSDK-Mac-0.3.4-8/applications/Palm Emulator.app/Contents/Resources/Images/sdk47/nova-cust-image-sdk47.vmdk Note: I packaged unpkg for debian to extract the stuff, ask me if needed Do you have mouse working on qemu ? ps: I updated the tutorial
__________________
-- Palm SDK on GNU/Linux possible : http://www.newlc.com/en/palm-webos-sdk-delayed http://forums.precentral.net/web-os-...blems-etc.html http://www.newlc.com/en/+-Palm-OS-+.html |
07/01/2009, 05:13 AM
|
#7 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
|
The mouse works but the Pre does not like the 640x480 resolution. If you randomly move the mouse and click you'll see some things happening. The -show-cursor option might help.
The same thing happens with virtual box if you choose a 640x480 mode instead of 320x480.
__________________
Ludo www.palmopensource.com - The PalmOS/WebOS open source portal Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android? |
07/01/2009, 05:22 AM
|
#8 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
|
And to have ssh access:
qemu -cdrom grub.iso nova-cust-image-sdk47.vmdk -boot d -show-cursor -net nic -net user -redir tcp:2222::22 (in fact, -vga std is not needed, just choose the 640x480x16 videomode)
__________________
Ludo www.palmopensource.com - The PalmOS/WebOS open source portal Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android? |
07/01/2009, 07:14 AM
|
#9 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
|
In fact the pseudo touch panel is managed by hidd, and there is a plugin specific to virtualbox (see /etc/hidd/HidPluginsVbox.xml), that's why it does not work with qemu...
__________________
Ludo www.palmopensource.com - The PalmOS/WebOS open source portal Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android? |
07/01/2009, 08:07 AM
|
#10 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
|
Another try with qemu:
1- qemu -cdrom grub.iso nova-cust-image-sdk47.vmdk -boot d -show-cursor -net nic -net user -redir tcp:2222::22 -usb -usbdevice wacom-tablet 2- ssh -p 2222 root@localhost 3- vi /etc/event.d/hidd , and replace PLUGINS=/etc/hidd/HidPluginsVbox.xml with PLUGINS=/etc/hidd/HidPluginsQemu.xml 4- shutdown -r now Now Luna segfaults each time I click !!! :-( Code:
2009-07-01T13:03:13.686331Z [165] qemux86 kern.info kernel: LunaSysMgr[1264]: segfault at 1c ip 08053322 sp bfb49870 error 4 in LunaSysMgr[8048000+e4000]
__________________
Ludo www.palmopensource.com - The PalmOS/WebOS open source portal Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android? |
07/01/2009, 06:14 PM
|
#11 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 44
Likes Received: 0
Thanks: 0
Thanked 4 Times in 3 Posts
|
Quote:
|
|
![]() |
|
| Tags |
| debian, gnu, linux, unix |
| Thread Tools | |
| Display Modes | |
|
|



