Re: [maemo-developers] Maemo 2.0 C binaries do not run on N770

2006-09-11 Thread Andrey Khurri




Winston Wu wrote:

  
  
  
  Hi,
  I'm new to the
wholeMaemo/Scratchbox/N770 thing. 
  
  I have set up the Maemo 2.0
following this tutorial: http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html.
  
  
  My goal is to write a bluetooth
application in Cinside Maemo/Scratchbox and send the binaries over to
the N770. So I followed exactly what's on the tutorial. 
  
  After the installation, I wrote a
little helloworld.c with a printf statement. The binary runs in the
emulation fine. But when I scp and run the binary in my N770, it
doesn't. This is the error it generated.
  -sh: ./hello: not found
  
  So I checked the binary version by:
  #file hello
  and this is the output.
  hello: ELF 32-bit LSB executable,
ARM, version 1 (SYSV), for GNU/Linux 2.4.17, dynamically linked (uses
shared libs), not stripped
  
  I also have a standard ARM tool
chain outside of the scratchbox. I compiled the same helloworld using
that tool chain and ran the binary on the N770. The binary ran. So
I'm convinced my N770 is working. When I do this:
  #file hello2
  hello2: ELF 32-bit LSB executable,
ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses
shared libs), not stripped
  
  I am suspecting that my N770 may be
running the old 2005 OS and the Maemo is based on the new 2006 OS. 
  
  

Hi, you can easily check the version of OS you're running on your
tablet. Using menu go to the 'Control panel', then choose 'Device'
section and inside the new opened window change to the tab 'About
product'. Here you are!
For instance, on my tablet I have there:

Nokia 770 Internet Tablet
Internet Tablet OS 2006 edition (that is the final OS 2006 release)
Version: 1.2006.26-8
WLAN MAC address ...
Bluetooth address ...

So if you still have OS 2005 then binaries compiled with maemo 2.0
would definitely not work on the tablet.

Cheers,
Andrey



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Problems installing Sardine SDK

2006-09-11 Thread Kimmo Hämäläinen
On Sun, 2006-09-10 at 10:03, ext Kalle Vahlman wrote:
 2006/9/9, Adi Roiban [EMAIL PROTECTED]:
  - Marius Vollmer [EMAIL PROTECTED] wrote:
   True, I can reproduce this here.  You can try to start the control
   panel from the shell like so:
  
   $ /usr/bin/controlpanel
  
   This will hang indefinitely.
  
   I don't know why yet.  Please stay tuned... (but it can be a week or
   so.)
  OK. I will wait.
  I just wanted to know that i am not the only one with these problems.
 
 While waiting, you might try to delete the file called 1.0 with the
 contents of EOF in /tmp/osso-appl-states/controlpanel/
 
 That did the trick for me in a similar situation. And no, I don't have
 a clue what is going on there :)

It was a Libosso bug. Fixed in the latest version:
https://stage.maemo.org/svn/maemo/projects/haf/tags/libosso/1.17-1/

BR, Kimmo

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo 2.0 C binaries do not run on N770

2006-09-11 Thread Panagiotis Issaris
Hi,

On zo, 2006-09-10 at 16:03 -0700, Winston Wu wrote:
 [...]
 After the installation, I wrote a little helloworld.c with a printf
 statement.  The binary runs in the emulation fine.  But when I scp and
 run the binary in my N770, it doesn't.  This is the error it
 generated. 
 -sh: ./hello: not found
[...]
 Did anyone have the same problem?
  
 Thanks a million for your help!
Are you running it from the memory card? Trying copying it to /home/user
and see if it works.

With friendly regadrs,
Takis


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Package architecture armel vs gnueabi-linux-arm

2006-09-11 Thread Niels Breet
After doing some upgrades to Sardine, dpkg fails on a lot of packages
because of:
package architecture (armel) does not match system (gnueabi-linux-arm)

Does this mean that you have introduced a new architecture and as a result of
that all current packages are incompatible? (Again)

Is this architecture only used in Sardine or is this going to be the future
'customer' architecture too?

- Niels

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Package architecture armel vs gnueabi-linux-arm

2006-09-11 Thread Marius Vollmer
ext Niels Breet [EMAIL PROTECTED] writes:

 After doing some upgrades to Sardine, dpkg fails on a lot of packages
 because of:
 package architecture (armel) does not match system (gnueabi-linux-arm)

 Does this mean that you have introduced a new architecture and as a result of
 that all current packages are incompatible? (Again)

Nonono, sorry.  Dpkg in Sardine was somehow miscompiled for Sardine,
but I haven't had time to fix it.  Will do it immediately...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] ALSA

2006-09-11 Thread Devesh Kothari
For those waiting for ALSA interface, keep an eye on

https://garage.maemo.org/plugins/scmsvn/viewcvs.php/alsa-plugin/?root=dsp-alsa

If I understood this correct, this provides the ALSA interface through
ALSA-DSP PCM plugin.

Best Regards
Devesh

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Package architecture armel vs gnueabi-linux-arm

2006-09-11 Thread Larry Battraw

 Incidentally, the packages work fine if you install them manually
with dpkg -i --force-architecture pkg_name

Larry

On 9/11/06, Niels Breet [EMAIL PROTECTED] wrote:

After doing some upgrades to Sardine, dpkg fails on a lot of packages
because of:
package architecture (armel) does not match system (gnueabi-linux-arm)

Does this mean that you have introduced a new architecture and as a result of
that all current packages are incompatible? (Again)

Is this architecture only used in Sardine or is this going to be the future
'customer' architecture too?

- Niels

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] eSWT/eRCP for Maemo?

2006-09-11 Thread Philippe Laporte

Hi,
Has anyone made some progress in running the eSWT in Maemo?

The Eclipse newsgroup did not mention any either. Just checking if 
anyone keeping things silent may have something to announce :-)


Thanks a lot,

--
Philippe Laporte


Bernd Lachner wrote:

On the Eclipse eRPC newsgroup is a discussion about future GUI support for 
eSWT/eRCP:


http://www.eclipse.org/newsportal/article.php?id=2284group=eclipse.technology.ercp#2284

Gtk is also in discussion. So I think this is also interesting for Maemo. I 
post the link here, because if someone is interested in eSWT/eRCP on Maemo 
join the Eclipse eRCP newsgroup and maybe help to get eSWT/eRCP to Gtk and 
Maemo.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
 


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] eSWT/eRCP for Maemo?

2006-09-11 Thread Bernd Lachner
Hi,

no the eSWT port for Maemo isn't started. If there is some interest, and if 
there is someone who have time to work on it, please mail to the ercp 
newsgoup which can be found here: http://www.eclipse.org/ercp/

Btw., if someone is interested, first code for a eSWT QT Embedded port (e.g. 
for Zaurus) is now in the ercp cvs. But this port needs a lot of work before 
it is ready.

Regards 

Bernd Lachner

Am Montag, 11. September 2006 15:30 schrieb Philippe Laporte:
 Hi,
  Has anyone made some progress in running the eSWT in Maemo?

 The Eclipse newsgroup did not mention any either. Just checking if
 anyone keeping things silent may have something to announce :-)

 Thanks a lot,
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] gpe-sudoku for IT2006

2006-09-11 Thread Luca De Cicco
Hi there to the list(s)... 
I released the new version of gpe-sudoku which is now compatible to
IT2006 and implements the following new features:

* Support for Save/Load puzzles
* generating random puzzles using sudoku-sensei

The project is hosted at linuxtogo at the following  URL:

   http://projects.linuxtogo.org/projects/gpe-sudoku/

Sudoku-sensei (http://sudoku-sensei.sf.net) is a (GPL) library written
by Martin Knoblauch Revuelta. 

Save files are simple XML files in the following format:

worksheet name=something_timestamp difficulty=hard
cell value=0 idx=0
guess value=3 /
guess value=4 /
/cell
cell value=2 idx=2
/cell
 ...
/worksheet

If anyone can suggest me some source where you can get puzzles I (or
you) can generate some converters to the XML format described above.

Please send me feedback as long as the software should be very bugged
(all the work of porting and adding the new features has been done
yesterday night from 1:30 am till 5:00 am so i bet it is bugged).

Cheers,
Luca


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo 2.0 C binaries do not run on N770

2006-09-11 Thread Winston Wu




  
  
Thank you, Andrey,for the 
reply.

"Hi, you can easily check the version of OS you're running on your 
tablet. Using menu go to the 'Control panel', then choose 'Device' section and 
inside the new opened window change to the tab 'About product'. Here you 
are!For instance, on my tablet I have there:"Yes, I 
do have 
Internet Tablet 2005 software edition Version: 
3.2005.51-13
"So if you still have OS 2005 then binaries compiled with maemo 2.0 
would definitely not work on the tablet."

I guess there are two choices for me now. I can 
either use the old Maemo (probably 1.1) or upgrade my OS. Can anyone point 
me to a good pointer to upgrade the OS?
Thanks a million for your help!

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo 2.0 C binaries do not run on N770

2006-09-11 Thread Marius Gedminas
On Mon, Sep 11, 2006 at 09:19:43AM -0700, Winston Wu wrote:
 I guess there are two choices for me now.  I can either use the old
 Maemo (probably 1.1) or upgrade my OS.  Can anyone point me to a good
 pointer to upgrade the OS?  Thanks a million for your help!

By all means upgrade.  The instructions are here:
http://europe.nokia.com/A4144790

Marius Gedminas
-- 
Do not meddle in the affairs of sysadmins,
they are quick to anger and have no need for subtlety.


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo 2.0 C binaries do not run on N770

2006-09-11 Thread Antonio Orlando
I guess there are two choices for me now.  I can either use the old  
Maemo (probably 1.1) or upgrade my OS.  Can anyone point me to a good  
pointer to upgrade the OS?


I think you'll opt for upgrading the firmware, so here are two pages  
related to this task:


http://maemo.org/downloads/releases.html#maemo20
http://www.europe.nokia.com/A4144790

--
Antonio
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: Repositories

2006-09-11 Thread Carlos Guerreiro
  Well ... I am one of those users caught a bit by doing an apt-get
  upgrade (more specifically I took the Red Pill and upgraded some
  core packages) and expecting it to do the right thing. I didn't
  get the constant rebooting but I am experiencing random application
  crashes now. 

Yes, that was a screw up. Upgrading to Sardine is not officially
supported, it is experimental at the moment. However, upgrading from the
Maemo 2.0 repository should have resulted in nothing whatsoever
happening, since the Maemo 2.0 repo should have had the very same
versions as in the device. We hope not to repeat the same mistake next
time.

  
  The right thing that I was expecting was:
  - Upgrade core packages with newer more stable more up to date
  packages with possible security fixes and functionality fixes but no
  great leaps in versions

That was never the plan for Maemo 2.0. It was meant to be an immutable
snapshot. One of the reasons was simply that many packages are not
packaged to upgrade correctly and the package database is broken in that
regard too.
This broken Maemo 2.0 impacts Sardine too, since Sardine is using it as
a baseline and requires packages in it (but not in the device).  That's
probably going to change soon, by making the Sardine repository self-
sufficient.

  - any unstable, in-development packages for the next version of the
  OS would be in a separate repository component that would need to be
  specificially enabled

Yup, that's Sardine.

  - once a new stable branch was developed, I could use apt-get
  upgrade to upgrade my 770 to it after changing the repository info
  over 

That's the idea with Sardine, however we are still not there, plus the
project is experimental and limited to a subset of Maemo (Hildon
Application Framework). If everything goes well and Sardine proves
itself a success, it could be enlarged to cover the whole Maemo scope.

  I understand now that the repositories are not arranged that way for
  the 770 ... I just wish they were.

So do why

  I also have to figure out which packages to downgrade in order for
  my 770 to become stable again. Maybe a reflash is the simplest way. 

Yes, a reflash is the way

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] CPU Info

2006-09-11 Thread etienne

When executing: cat /proc/cpuinfo I see the following:
Processor   : ARM926EJ-Sid(wb) rev 3 (v5l)
BogoMIPS: 125.76
Features: swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part: 0x926
CPU revision: 3
Cache type  : write-back
Cache clean : cp15 c7 ops
Cache lockdown  : format C
Cache format: Harvard
I size  : 32768
I assoc : 4
I line length   : 32
I sets  : 256
D size  : 16384
D assoc : 4
D line length   : 32
D sets  : 128

Can anybody explain what the java feature in the Features mean?

Etienne


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] CPU Info

2006-09-11 Thread Olivier ROLAND

[EMAIL PROTECTED] a écrit :

When executing: cat /proc/cpuinfo I see the following:
Processor   : ARM926EJ-Sid(wb) rev 3 (v5l)
BogoMIPS: 125.76
Features: swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part: 0x926
CPU revision: 3
Cache type  : write-back
Cache clean : cp15 c7 ops
Cache lockdown  : format C
Cache format: Harvard
I size  : 32768
I assoc : 4
I line length   : 32
I sets  : 256
D size  : 16384
D assoc : 4
D line length   : 32
D sets  : 128

Can anybody explain what the java feature in the Features mean?

Etienne


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
  

The 770 ARM core directly support Java bytecode execution
(Jazelle technology): http://www.arm.com/products/solutions/Jazelle.html
However as far as I know Linux currently doesn't support (yet) this 
capabilities

Proprietary software is needed to take advantage of Jazelle.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] CPU Info

2006-09-11 Thread Andrew Barr
On Mon, 2006-09-11 at 16:51 -0400, [EMAIL PROTECTED] wrote:
 Can anybody explain what the java feature in the Features mean?

My uneducated guess is that it means Jazelle, which are Java extensions
for ARM. From what I've seen on various mailing lists, the exact details
of Jazelle are a seekrit (ooh!) for which you must sign an NDA with ARM
Ltd. Sadly that precludes most open source uses of it.

Andrew
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] CPU Info

2006-09-11 Thread Siarhei Siamashka
On Monday 11 September 2006 23:51, [EMAIL PROTECTED] wrote:

 When executing: cat /proc/cpuinfo I see the following:
 Processor   : ARM926EJ-Sid(wb) rev 3 (v5l)
 BogoMIPS: 125.76
 Features: swp half thumb fastmult edsp java
 CPU implementer : 0x41
 CPU architecture: 5TEJ
 CPU variant : 0x0
 CPU part: 0x926
 CPU revision: 3
 Cache type  : write-back
 Cache clean : cp15 c7 ops
 Cache lockdown  : format C
 Cache format: Harvard
 I size  : 32768
 I assoc : 4
 I line length   : 32
 I sets  : 256
 D size  : 16384
 D assoc : 4
 D line length   : 32
 D sets  : 128

 Can anybody explain what the java feature in the Features mean?

Probably the explanation is here (on the first page):
http://www.arm.com/pdfs/DVI0035B_926_PO.pdf

There are lots of other interesting docs at http://www.arm.com by the way.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers