maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Palm WebOS on N900 (https://talk.maemo.org/showthread.php?t=44150)

gregoranderson 2012-01-20 16:38

Re: Palm WebOS on N900
 
Quote:

Originally Posted by vakkov (Post 1152516)
i copied x11fbd to /home and chmod 755 it. But when I try to execute it it gives syntax error at line 1 - "(" unexpected. The same executable runs fine in ubuntu.

EDIT: Maybe it's not compiled for Arm but for x86 ...

Looks like it.

Code:

gregor@gregor:~/Downloads/preenv-libx11fb$ file x11fbd
x11fbd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
gregor@gregor:~/Downloads/preenv-libx11fb$


vakkov 2012-01-20 18:24

Re: Palm WebOS on N900
 
mine is the same and runs ok on ubuntu but does not on n900

marmistrz 2012-01-20 19:15

Re: Palm WebOS on N900
 
Suggestion: would it be possible to port App Catalog to preenv?

speculatrix 2012-01-20 23:14

Re: Palm WebOS on N900
 
it could be that /bin/sh is dash or ash and not true sh?

marmistrz 2012-02-01 15:30

Re: Palm WebOS on N900
 
Does anybody know a way to run hybrid apps (type = "web", the ones with index.html) via preenv?
If we managed to run hybrid apps, we'd be able to port app catalog and then lots of apps

cddiede 2012-02-01 15:39

Re: Palm WebOS on N900
 
Quote:

Originally Posted by marmistrz (Post 1158988)
Does anybody know a way to run hybrid apps (type = "web", the ones with index.html) via preenv?
If we managed to run hybrid apps, we'd be able to port app catalog and then lots of apps

You can't. preenv just adds libraries and environment variables so the N900 can run binaries written for WebOS under their Native Development Kit (NDK).

This only works because the WebOS devices and the N900 share almost identical hardware and both use a POSIX compliant file system for binary execution.

In short: dumb luck.

What you call "Hybrid apps", are actually WebOS Mojo apps written under the WebOS Software Development Kit (SDK). Apps written under this are heavily dependant on WebOS only libraries and operating system structure that can not be replicated from within Maemo5.

So far, it seems that the newer Enyo built WebOS apps, seen on the HP Touchpad and Pre3, are built fundamentally similar to the older Mojo apps and are therefore also impracticable for running under Maemo5.

marmistrz 2012-02-01 15:47

Re: Palm WebOS on N900
 
Hmmmm... There are images of webos. I could try copying, symlinking etc.

But I don't know what will be needed.
I tried all the stuff in /usr/palm (/usr/palm -> /home/user/palm/usr/palm)
and /usr/lib/luna (/usr/lib/luna -> /home/user/palm/usr/lib/luna)

But microb still doesn't manage to run this.
What more should I copy?

don_falcone 2012-02-01 15:49

Re: Palm WebOS on N900
 
WebOS devices = all those Palm Pre's. Not the TouchPad.

marmistrz 2012-02-01 16:00

Re: Palm WebOS on N900
 
Yeaaah... There are so-called webos doctor images:
http://www.webos-internals.org/wiki/...octor_Versions
http://palm.cdnetworks.net/rom/veer/...p160unaatt.jar

I tried to copy the files from Pre Sprint version 1.4.5

cddiede 2012-02-01 16:03

Re: Palm WebOS on N900
 
Quote:

Originally Posted by marmistrz (Post 1158996)
Hmmmm... There are images of webos. I could try copying, symlinking etc.

But I don't know what will be needed.
I tried all the stuff in /usr/palm (/usr/palm -> /home/user/palm/usr/palm)
and /usr/lib/luna (/usr/lib/luna -> /home/user/palm/usr/lib/luna)

But microb still doesn't manage to run this.
What more should I copy?

If I may use a vernacular, I believe you to be urinating uphill using this approach.

Seriously, you'd have to copy 90% of the operating system libraries and binaries as well as manually re-created the WebOS user execution environment and daemons before you could start to run Mojo web apps like this.

Before you start thinking that this is acceptable, remember that you would be overwriting most of your Maemo 5 installation and killing most of your Maemo daemons in the process.


All times are GMT. The time now is 04:06.

vBulletin® Version 3.8.8