1 Reply Latest reply: Nov 13, 2009 3:22 AM by 843851 RSS

    Problem trying to run java embedded in Xscale -PXA270

    843851
      Hi all,

      I have a Arcom Zeus (Xscale -PXA270, ARMv5, 5TE), and I'm trying to install java embedded for armv5 (headless). My system is debian/linux, gcc (), kernel 2.6.16-28 (cannot upgrade) and glibc (). My /proc/cpuinfo is:

      Processor : XScale-PXA270 rev 7 (v5l)
      BogoMIPS : 517.73
      Features : swp half thumb fastmult edsp
      CPU implementer : 0x69
      CPU architecture: 5TE
      CPU variant : 0x0
      CPU part : 0x411
      CPU revision : 7
      Cache type : undefined 5
      Cache clean : undefined 5
      Cache lockdown : undefined 5
      Cache format : Harvard
      I size : 32768
      I assoc : 32
      I line length : 32
      I sets : 32
      D size : 32768
      D assoc : 32
      D line length : 32
      D sets : 32

      Hardware : Arcom ZEUS
      Revision : 0000
      Serial : 0000000000000000


      My /proc/meminfo is:


      MemTotal: 127684 kB
      MemFree: 13532 kB
      Buffers: 4688 kB
      Cached: 70400 kB
      SwapCached: 0 kB
      Active: 71760 kB
      Inactive: 32680 kB
      HighTotal: 0 kB
      HighFree: 0 kB
      LowTotal: 127684 kB
      LowFree: 13532 kB
      SwapTotal: 0 kB
      SwapFree: 0 kB
      Dirty: 0 kB
      Writeback: 0 kB
      Mapped: 39200 kB
      Slab: 7036 kB
      CommitLimit: 63840 kB
      Committed_AS: 161180 kB
      PageTables: 848 kB
      VmallocTotal: 319488 kB
      VmallocUsed: 66072 kB
      VmallocChunk: 253116 kB


      I think all system requirements are respected!

      I have installed the package but when I try to execute "java", using "./java", it state that the file is not found, which typically means (when the file exists :D), that it is not compiled for the system in question. So, I have compiled a simple helloworld in C and compile it, to compare the output of the file command, between my program and the "java" executable:

      * a.out: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.6.12, dynamically linked (uses shared libs), for GNU/Linux 2.6.12, not stripped
           * java: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped

      The only two differences are "version 1 (ARM)" or "version 1 (SYSV) - can it be the EABI? - and Kernel version 2.6.12 to 2.6.14.

      Can someone help me understand what is the problem and if it can be solved by modifying my system (but not the kernel version)?.



      Thanks in advance!