java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (7 - 19 May 2007 - Main.jonek)
Line: 1 to 1
 
META TOPICPARENT name="PhoneMEAdvanced"

Nokia 770/ARM

Line: 14 to 14
  and run
Changed:
<
<
apt-get upate
>
>
apt-get update
  as root.

 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (6 - 10 May 2007 - Main.coughlin)
Line: 1 to 1
 
META TOPICPARENT name="PhoneMEAdvanced"

Nokia 770/ARM

Line: 78 to 78
 
  • investigate what has to be done to get GUI support with GTK+/hildon (PBP and PP) (a first discussion can be found in the forum)
  • JSR 82 (support for bluetooth) - the Nokia 770 supports bluetooth through Bluez
Added:
>
>

Update

 -- Main.jonek - 13 Feb 2007

 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (5 - 05 May 2007 - Main.coughlin)
Line: 1 to 1
 
META TOPICPARENT name="PhoneMEAdvanced"

Nokia 770/ARM

Changed:
<
<
MR1 and MR2 can be build with Foundation Profile for the 770 and 800.
>
>
MR1 and MR2 can be build with Foundation Profile for the 770.
 

building


 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (4 - 05 May 2007 - Main.coughlin)
Line: 1 to 1
 
META TOPICPARENT name="PhoneMEAdvanced"

Nokia 770/ARM

Changed:
<
<
MR1 and MR2 can be build with Foundation Profile for the 770.
>
>
MR1 and MR2 can be build with Foundation Profile for the 770 and 800.
 

building


 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (3 - 13 Feb 2007 - Main.jonek)
Line: 1 to 1
 
META TOPICPARENT name="PhoneMEAdvanced"

Nokia 770/ARM

Changed:
<
<
MR1 and MR2 can be build for the 770. MR2 still has problems when started on the 770.
>
>
MR1 and MR2 can be build with Foundation Profile for the 770.
 

building

Line: 38 to 38
 
CVM_TARGET_TOOLS_PREFIX = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-
Changed:
<
<
to tell the build process where your scratchbox toolchain for ARM is located. Comment the line
>
>
to tell the build process where your scratchbox toolchain for ARM is located. Comment out the line
 
CC_ARCH_FLAGS           = -mcpu=strongarm110
The toolchain in scratchbox seems to be usable without that flag for the 770.
Changed:
<
<
8. Now you build the CDC with
>
>
8. If using MR1 source, apply this patch, or you will see a hang or crash.

9. Now you build the CDC with

 
make >& build.log
Line: 53 to 55
 J2ME_CLASSLIB=foundation make >& build-FP.log

Changed:
<
<
9. Now you can build an installable tarball with
>
>
10. Now you can build an installable tarball with
 
make bin >& build-bin.log
Line: 67 to 69
 

install

  1. Copy the tarball onto your 770.
Changed:
<
<
  1. Open the xterm.
  2. Extract the tarball into a new directory on the 770. (Don't use the memory card for that - binaries there can't be executed!)
>
>
  1. Open the xterm for the following steps.
  2. Extract the tarball into a new directory on the 770. (Don't use the memory card for that - binaries there can't be executed there!)
 
  1. Change into the new dir and run "> bin/cvm -cp testcalsses.zip Test" to test the build as described in section 4.11 of the cdc_build_system.pdf.

TODO

Changed:
<
<
  • fix MR2 build for the 770
  • investigate what has to be done to get GUI support with GTK+/hildon (PBP and PP)
>
>
  • investigate what has to be done to get GUI support with GTK+/hildon (PBP and PP) (a first discussion can be found in the forum)
 
  • JSR 82 (support for bluetooth) - the Nokia 770 supports bluetooth through Bluez
Changed:
<
<
-- Main.jonek - 11 Jan 2007
>
>
-- Main.jonek - 13 Feb 2007
 

 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (2 - 11 Jan 2007 - Main.jonek)
Line: 1 to 1
 
META TOPICPARENT name="PhoneMEAdvanced"
Changed:
<
<
A port of phoneME Advanced MR1 to the Nokia 770 has been done. Instructions should be available soon.
>
>

Nokia 770/ARM

 
Changed:
<
<
-- Main.cjplummer - 10 Jan 2007
>
>
MR1 and MR2 can be build for the 770. MR2 still has problems when started on the 770.

building

The following steps provide an easy way for maemo developers to build phoneME for the Nokia 770. It is assumed you follow the referenced documentation closely.

1. Add the following line to your /etc/apt/sources.list on your Debian (stable) or Ubuntu box.

deb http://scratchbox.org/download/files/sbox-releases/0.9.8/deb/ ./
and run
apt-get upate
as root.

2. Install the packages corresponding to the instructions for setting up the maemo development environment found in the Maemo 2.1. tutorial.

3. Don't enter the scratchbox environment (exit if you did) for the following steps. They all have to be performed outside of scratchbox! Maybe this can be changed if anybody finds out how to use the J2SDK1?.4.2 inside of scratchbox. (This should be possible with more recent versions of scratchbox which are announced to be available by end of January.)

4. Install J2SDK1?.4.2.

5. Download the phoneME Advanced MR1 source bundle and extract it.

6. Change into the build dir of the extracted source bundle, create a new build dir for the 770 and copy a makefile as template into it

cd phoneme-advanced-mr1/build
mkdir linux-arm-maemo
cp linux-arm-familiar/GNUmakefile linux-arm-maemo
cd linux-arm-maemo

7. Change the makefile with an editor. Add the line

CVM_TARGET_TOOLS_PREFIX = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-
to tell the build process where your scratchbox toolchain for ARM is located. Comment the line
CC_ARCH_FLAGS           = -mcpu=strongarm110
The toolchain in scratchbox seems to be usable without that flag for the 770.

8. Now you build the CDC with

make >& build.log
add support for the Foundation Profile by
J2ME_CLASSLIB=foundation make >& build-FP.log

9. Now you can build an installable tarball with

make bin >& build-bin.log

Most of this steps are described in the cdc_build_system.pdf!

download

Usable builds of MR1 for the Nokia 770 can be found here. Currently they don't provide any GUI capabilities. These builds are the result of the previously described step 9. of the build instructions.

install

  1. Copy the tarball onto your 770.
  2. Open the xterm.
  3. Extract the tarball into a new directory on the 770. (Don't use the memory card for that - binaries there can't be executed!)
  4. Change into the new dir and run "> bin/cvm -cp testcalsses.zip Test" to test the build as described in section 4.11 of the cdc_build_system.pdf.

TODO

  • fix MR2 build for the 770
  • investigate what has to be done to get GUI support with GTK+/hildon (PBP and PP)
  • JSR 82 (support for bluetooth) - the Nokia 770 supports bluetooth through Bluez

-- Main.jonek - 11 Jan 2007

 

 <<O>>  Difference Topic PhoneMEAdvancedPlatformsNokia770 (1 - 10 Jan 2007 - Main.cjplummer)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="PhoneMEAdvanced"
A port of phoneME Advanced MR1 to the Nokia 770 has been done. Instructions should be available soon.

-- Main.cjplummer - 10 Jan 2007


Topic PhoneMEAdvancedPlatformsNokia770 . { View | Diffs r7 < r6 < r5 < r4 | More }
 XML java.net RSS