Go Back   PreCentral Forums > webOS Software and Chat > web OS Development

View Poll Results: Do you use Linux for Palm Pre ?
Yes ,and It works flawlessly 2 40.00%
Yes, but I need help to fix gliches 2 40.00%
No, I prefer other plateforms 1 20.00%
No answser 0 0%
Multiple Choice Poll. Voters: 5. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
Old 06/30/2009, 05:55 AM   #1 (permalink)
rzr
Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Arrow GNU/Linux users : specific thread for howto, problems etc ...

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 :

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by rzr; 06/30/2009 at 06:45 AM.
rzr is offline   Reply With Quote
Old 06/30/2009, 06:16 AM   #2 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 0
Thanked 4 Times in 3 Posts
Default

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.
ydaraishy is offline   Reply With Quote
Old 06/30/2009, 06:54 AM   #3 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Thanks: 8
Thanked 3 Times in 3 Posts
Default

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


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- The PalmOS/WebOS open source portal
Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
ldrolez is offline   Reply With Quote
Thanked By:
Old 06/30/2009, 08:16 PM   #4 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 0
Thanked 4 Times in 3 Posts
Default

It still crashes for me -- maybe it's my qemu version. Which are you running?
ydaraishy is offline   Reply With Quote
Old 06/30/2009, 09:27 PM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 0
Thanked 4 Times in 3 Posts
Default

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.
ydaraishy is offline   Reply With Quote
Old 07/01/2009, 05:50 AM   #6 (permalink)
rzr
Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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 :

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
rzr is offline   Reply With Quote
Old 07/01/2009, 07:13 AM   #7 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Thanks: 8
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by rzr View Post
Do you have mouse working on qemu ?
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


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- The PalmOS/WebOS open source portal
Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
ldrolez is offline   Reply With Quote
Old 07/01/2009, 07:22 AM   #8 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Thanks: 8
Thanked 3 Times in 3 Posts
Default

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


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- The PalmOS/WebOS open source portal
Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
ldrolez is offline   Reply With Quote
Old 07/01/2009, 09:14 AM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Thanks: 8
Thanked 3 Times in 3 Posts
Default

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


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- The PalmOS/WebOS open source portal
Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
ldrolez is offline   Reply With Quote
Old 07/01/2009, 10:07 AM   #10 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Thanks: 8
Thanked 3 Times in 3 Posts
Default

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


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- The PalmOS/WebOS open source portal
Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
ldrolez is offline   Reply With Quote
Old 07/01/2009, 08:14 PM   #11 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by rzr View Post
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
The *emulator* appears to be in Java, not the actual software image. Look at Palm Emulator.app/Contents/Resources/Jars.
ydaraishy is offline   Reply With Quote
Reply

Tags
debian, gnu, linux, unix

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:20 PM.

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0