Java (openjdk7) Porting for ARM arria V (armv7) development kit

Manjunatha Srinivasan kemaangu at gmail.com
Fri Nov 21 13:36:09 UTC 2014


Hi
I am new to Java and I need to port java (openjdk7) for my ARM board altera
arria V (armv7) development kit. Here are steps i followed:
 1. Checked out poky repo into dylan branch from git (I need to port on
poky dylan only)
 2. Checked out meta-java repo into master branch from github and add as
layer at bblyaer.conf.
 3. Then, did MACHINE changes for alter and added below one at local.conf:

PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
PREFERRED_VERSION_icedtea7-native = "2.1.3"

#Sometimes the following is needed:
PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"


 4.  Generated the root filesystem image and booted it.
>From target, executed  "java" fails by throwing error as "Illegal
instruction" (SIGILL)
My linux kernel (3.10) is disabled for floating point neon. If this is
enabled java error thrown as "Segmentation fault"(SIGSEGV).

Here is  sample log:

root at 10:~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 1836.64
Features        : swp half thumb fastmult edsp thumbee tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

processor       : 1
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 1843.20
Features        : swp half thumb fastmult edsp thumbee tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : Altera SOCFPGA
Revision        : 0000
Serial          : 0000000000000000
root at 10:~# java
Illegal instruction

Please help me out for porting procedure for java on ARM altera. TIA.

Regards
Manjunatha Srinivasan N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20141121/f9ee95a6/attachment.html>


More information about the porters-dev mailing list