Re: Which Java JRE?

2009-12-05 Thread Rafael Campos
Hello,

On Wed, Dec 2, 2009 at 1:12 PM, Arigead captain.dea...@gmail.com wrote:
 Bernd Prunster wrote:
 Martin Jansa wrote:
 On Thu, Nov 26, 2009 at 03:06:35PM +, Arigead wrote:

 Hello all,
     I'm working on a project and I think it'd be cool as to show off the
 project's work on a phone. The OpenMoko phone ;-)

 Unfortunately the project is implemented in Java, which I'm no fan of on
 anything but a web server or browser but that's a discussion for another
 day.

 I tried our system, which is running in an OSGi Container, on Jamvm on
 the OpenMoko. It works but it sucks up 95% of the CPU when it's idle.
 Not Good! I tried the same on my eeePC and with Sun's JRE our system
 uses 1% of CPU whilst JamVM on the eeePC uses 40%. Obviously JamVM does
 not suit our system.

 No idea if it would be better, but have you tried cacao? Its in shr-feeds 
 now again.

 This is really weird!
 I wrtoe one more or less serious app in java for the freerunner and a
 couple of test apps and jamvm had avery fast startup, but was not as
 compatible as cacao, but easier to use and did not require that much
 ressources.
 which distro are you using? which feed are you using to install jamvm
 (dunno if still true but there used to be a difference depending on
 where you installed it from).


 Sorry I've been a bit busy on stuff and only now catching up here on the
 list.

 I'm using the latest classpath 0.98 and Jamvm 1.5.3  I can't remember
 the specifics at the moment but there was some feature of Java 6 that
 our system's code was using which required JamVM 1.5.3 which in turn
 required Classpath 0.98. I just used a OE recipe for those and build
 them for the OpenMoko.

 I tried the Cacao JRE on my eeePC and it soaked up resources as well so
 I never even bothered to build it for the phone. Obviously something in
 our Java System, mabe knophlerfish is not streamlined in these JRE's.
 There is a Huge difference in running our system in a SUN JRE (1% CPU
 According top) and other Jre's

 I'm working now on the eeePC to see can I reduce this 40% on Jamvm. When
 I get time actually I'm now trying to connect to an AdHoc wifi network
 form the FreeRunner.

 Thanks for the clarification on the ARM front. I don't think Sun have a
 JRE for an ARM 4, no surprise really ;-) Things would be too easy.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

I think that OpenJDK has some JRE machines running on ARM. It's no
receipe in OE yet, but i tested a GUI in a OE machine and worked fine.
I didn't test the load of the CPU, but i could tell that some JREs are
working.

I hope to post some of this in OE repos, and get a OpenJava JRE machine :)


-- 
___
Rafael Campos
o0 Methril 0o
http://openblog.methril.net/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[shr-latest] question on upgrades

2009-12-05 Thread Davide Scaini
Hi guys, great work on latest shr!
It works like a charm for me (btw i still don't use fr as a phone),
there are few glitches but this is not what this post is about.

Do you recommend to updateupgrade or this is going to brake the distro?
d

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Launcher Release svn r89

2009-12-05 Thread c_c

Hi,
  Here's the latest release of launcher to work on shr-u. Enjoy!

http://n2.nabble.com/file/n4118565/shr-launcher_local-r0.4_armv4t.ipk
shr-launcher_local-r0.4_armv4t.ipk 

  Here's the modified bitbake file.

http://n2.nabble.com/file/n4118565/shr-launcher_local.bb
shr-launcher_local.bb 

-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-svn-r89-tp4118565p4118565.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Newbie - Installing SHR on FreeRunner

2009-12-05 Thread Jörg König
Hi folks!

  To make it short. Let me know if this is the wrong lists to post
following question. Perhaps you can point me to the right list?

  I just recently bought a used FreeRunner. And now I want to play
around, especially I would like to try out different distributions. When
I got it, it had hackable:1 on it. Now I'm trying to install SHR on it.
I found a description for the installation process here: 
http://wiki.openmoko.org/wiki/SHR_User_Manual
It seems I didn't get it right. I downloaded the uSD card image. I was
able to write is on the uSD card and I also could boot the first time.
After a reboot, it stucks, saying: 
Unknown boot option `g-ether.host_addr=00:1F:11:01:0B:A3`: ignoring

  I *think* I was supposed to unpack the kernel and the modules too.
Perhaps I also had to use `dfu-util` to write a new bootloader. However,
what I'm trying to say is that the documentation is not that clear to me
in that point. Since I want to use a uSD card, I concluded that I had to
download uImage-xx, `full-om-gta02.tar.gz` and finally the modules. 

  The big question mark I have is when to apply the modules? Shouldn't I
unpack them on the uSD card too? The documentation is mentioning to
unpack them on the FreeRunner. Isn't it then too late?

  For me it would be a good help to have a step by step tutorial with as
few ifs as possible. Can somebody give me a hint to such a tutorial?

  Don't get me wrong, I'm happy for any documentation! I know how it
feels to work on assumptions how things work. 


I'm grateful for any hint! Looking forward to continue tweaking my
little device.  :-)


Joerg
  


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Newbie - Installing SHR on FreeRunner

2009-12-05 Thread Kosa
Jörg König escribió:
 Hi folks!
 
   To make it short. Let me know if this is the wrong lists to post
 following question. Perhaps you can point me to the right list?

It's not the wrong list, but shr has it's own user[1] an devel[2]
list, so it might be a good place to ask if you cant's find all the help
here.

   I just recently bought a used FreeRunner. And now I want to play
 around, especially I would like to try out different distributions. When
 I got it, it had hackable:1 on it. Now I'm trying to install SHR on it.
 I found a description for the installation process here: 
 http://wiki.openmoko.org/wiki/SHR_User_Manual
 It seems I didn't get it right. I downloaded the uSD card image. I was
 able to write is on the uSD card and I also could boot the first time.
 After a reboot, it stucks, saying: 
 Unknown boot option `g-ether.host_addr=00:1F:11:01:0B:A3`: ignoring

what image are you using? I'm not an expert on shr but shr-testing[3] is
working fine for me so far (they just release it a couple of days ago,
and shr-unstable[4] from november 30th it fine as well. Just be careful
about using the right modules for the kernel.

   I *think* I was supposed to unpack the kernel and the modules too.
 Perhaps I also had to use `dfu-util` to write a new bootloader. However,
 what I'm trying to say is that the documentation is not that clear to me
 in that point. Since I want to use a uSD card, I concluded that I had to
 download uImage-xx, `full-om-gta02.tar.gz` and finally the modules. 

As you know you have to options: flash the kernel an image into the
internal flash of the neo, and the other one is use an micro sd card. I
myself prefer to do all the testing into the sd card an just flash a
light and not pimped distro into the phone. The only reason is that
untarng into the sd card is faster than flashing.

If you flash you use dfu-utils, and flash the kernel an the image, start
the neo, then log in via ssh, copy the modules an untar them into the /

If you use the sd card you create (at least) two partitions and put the
kernel (uImage.bin) in the first and the uncompresed image and modules
into the other one.

It normal if it takes longer to boot the first time, but it should take
1 2 minutes to boot the next time.

 
   The big question mark I have is when to apply the modules? Shouldn't I
 unpack them on the uSD card too? The documentation is mentioning to
 unpack them on the FreeRunner. Isn't it then too late?

Noup, not too late. Modules are an optional thing to do. It should
boot without them most of the times.

   For me it would be a good help to have a step by step tutorial with as
 few ifs as possible. Can somebody give me a hint to such a tutorial?

The link you mentioned above and this[5] are supoosed to do that. Sorry
it didn't. I might take a look at that, but my english is no that good
and It could get a lot worse :p

   Don't get me wrong, I'm happy for any documentation! I know how it
 feels to work on assumptions how things work. 
 
 
 I'm grateful for any hint! Looking forward to continue tweaking my
 little device.  :-)

Good look! And please be patient, it's not going to be nice an soft, but
you can have a lot of fun, and you have a great thing in your hands :)


 Joerg

KOsa

- Un mundo mejor es posible -

[1] http://lists.shr-project.org/mailman/listinfo/shr-user
[2] http://lists.shr-project.org/mailman/listinfo/shr-devel
[3] http://build.shr-project.org/shr-testing/images/om-gta02/
[4] http://shr.bearstech.com/shr-unstable/images/om-gta02/
[5] http://wiki.openmoko.org/wiki/Booting_from_SD#Prepare_the_SD_card

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community