Difference between revisions of "HMX"

From LinuxMIPS
Jump to: navigation, search
Line 2: Line 2:
  
 
Network Computing Device's HMX model X-terminals use a R3000 processor.  Linux has not been
 
Network Computing Device's HMX model X-terminals use a R3000 processor.  Linux has not been
ported.  However there is a [http://sourceforge.net/projects/explora-linux/ Linux on Explora] project.  The Explora model X-terms use a PowerPC
+
ported.  However there is a [http://sourceforge.net/projects/explora-linux/ Linux on Explora] project.  The Explora model X-terms use a PowerPC processors.  However the systems are very similar.
processors.  However the systems are very similar.
+
  
 
If you want to port Linux to the HMX, the following information will be useful :
 
If you want to port Linux to the HMX, the following information will be useful :
Line 10: Line 9:
 
0x20 at offset 0x1000f in Xncdhmx.  For more details, see the PPC boot code in the
 
0x20 at offset 0x1000f in Xncdhmx.  For more details, see the PPC boot code in the
 
Explora project.
 
Explora project.
 +
 +
The terminal will gently run any ELF executable, provided it's physical
 +
load address is 0, virtual load address is 0x40020000, and it has a header
 +
like this :
 +
 +
<pre>
 +
start:          b      .continue
 +
               
 +
                nop
 +
                nop
 +
                dc.w    $20            ; this value is important !
 +
                dc.b    "XncdHMX", 0
 +
                dc.w    0
 +
                dc.w    0
 +
                dc.w    .return, 0
 +
 +
.return:        jr      r31
 +
 +
.continue:      nop
 +
</pre>
  
 
The video RAM is roughly at 0xa0003000 (8 bpp, black is 0xff, white is 0x00).
 
The video RAM is roughly at 0xa0003000 (8 bpp, black is 0xff, white is 0x00).
 
The ROM is at 0xfc000000.
 
The ROM is at 0xfc000000.

Revision as of 00:48, 17 January 2005

Linux on NCD/HMX

Network Computing Device's HMX model X-terminals use a R3000 processor. Linux has not been ported. However there is a Linux on Explora project. The Explora model X-terms use a PowerPC processors. However the systems are very similar.

If you want to port Linux to the HMX, the following information will be useful :

The boot image is checksummed. To get past the CRC check, you must poke 0x20 at offset 0x1000f in Xncdhmx. For more details, see the PPC boot code in the Explora project.

The terminal will gently run any ELF executable, provided it's physical load address is 0, virtual load address is 0x40020000, and it has a header like this :

start:          b       .continue
                
                nop
                nop
                dc.w    $20             ; this value is important !
                dc.b    "XncdHMX", 0
                dc.w    0
                dc.w    0
                dc.w    .return, 0

.return:        jr      r31

.continue:      nop

The video RAM is roughly at 0xa0003000 (8 bpp, black is 0xff, white is 0x00). The ROM is at 0xfc000000.