This page last changed on Apr 18, 2013 by nodecentral.

Hi

I have two NAS devices in the house, a ReadyNAS Duo (Sparc CPU) and an eTRAYZ (OXE810DSE CPU).

Sadly the Sparc CPU does not look to be supported however there looks to be some scope with my eTRAYZ as it looks like it has an ARM processor of some description (http://www.xtreamer.net/etrayz/specs.aspx)

The technical documents about the OXE810DSE suggess it's a "Highly integrated storage SoC specifically designed for consumer market with ARM9 Processor running at 370MHz" a bit more digging suggests its an ARM926EJ-S"

Looking up the processor it took me here - http://en.wikipedia.org/wiki/Jazelle ?

Please can someone help me focus in on the arm linux version (v5, v6, v7) of Java i need ? I understand I need that first.

http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html

If I can get it to work, it could be another one for your How To wiki

I'm a newbie to this so any assistance would be appreciated

Many thanks.

Ok, I think I'm on to something.

http://www.arm.com/products/processors/classic/arm9/arm926.php

Suggests its features "Standard ARM architecture v5 MMU mapping sizes, domains, and access protection scheme"

But what I'm really curious about is this "Jazelle Java acceleration" which claims "The ARM926EJ-S processor includes features for efficient execution of byte codes, providing Java performance similar to JIT, but without the associated code overhead."

http://java.epicentertech.com/Archive_Embedded/ARM_Jazelle/ARM926EJ-S.pdf

Does my eTRAYZ have something already built in that would help OpenRemote, or do I need to download and install the ARMv5 Linux - Headless EABI, SoftFP ABI, Little Endian2 (32 MB) ejre-7u21-fcs-b11-linux-arm-sflt-headless-04_apr_2013.tar.gz

cat /proc/cpuinfo
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 183.09
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5
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 : 32768
D assoc : 4
D line length : 32
D sets : 256

Hardware : Oxsemi NAS
Revision : 0000

Posted by nodecentral at Apr 18, 2013 08:42

ARM9 at 370Mhz seems fairly low on the CPU side, so I'm not expecting it to start up very quickly but do report back if you get this working. The low end so far has been ARM11 on raspberry which seems to be on usable side as long as there's enough memory allocated to the Java VM.

Jazelle – I've yet to hear about any successful deployments on this, I'm not sure if anyone's using it. It (was?) an attractive idea (Java native bytecodes on a chip) from a decade ago but not sure if it ever went anywhere. So the Oracle Embedded JRE is the way to go here. I'm a bit doubtful if the CPU can pull it off (how much RAM do you have available?) but would be curious to know how your experiment goes.

Posted by juha at Apr 19, 2013 07:40

Hi Juha

Thanks so much for responding.

I'm quite new to Linux, but the eTRAYz has served me will so if i can extend the life of it with OpenRemote then great.

Regarding memory, here you go.
Does that tell you anything ? (Should I give up?)

cat /proc/meminfo
MemTotal: 125960 kB
MemFree: 19648 kB
Buffers: 652 kB
Cached: 55080 kB
SwapCached: 1140 kB
Active: 51032 kB
Inactive: 18628 kB
SwapTotal: 500664 kB
SwapFree: 474392 kB
Dirty: 36 kB
Writeback: 0 kB
AnonPages: 13168 kB
Mapped: 9260 kB
Slab: 31780 kB
SReclaimable: 27292 kB
SUnreclaim: 4488 kB
PageTables: 1220 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 563644 kB
Committed_AS: 218432 kB
VmallocTotal: 253952 kB
VmallocUsed: 4352 kB
VmallocChunk: 249600 kB

Posted by nodecentral at Apr 19, 2013 15:41

If I read that correctly, you got only 19MB of free memory left. This is definitely not enough. Even at the full 128MB it would be a tight fit, and since the unit is running other tasks/services is probably not feasible to reduce the memory usage to free up that much.

Posted by juha at Apr 20, 2013 18:06
Document generated by Confluence on Jun 05, 2016 09:41