[Peeweelinux] SBC mediaGX

Charles Billette [email protected]
16 Feb 2003 20:18:07 -0500


--=-08ckKNI7rbtpHJIv4L4n
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Take for the script!

I try it but I still have a problem. When I resume the board it not seem
to run full speed.




On Fri, 2003-02-14 at 05:25, Sventje Lill (RR) wrote:

> On 12 Feb 2003 12:41:50 -0500, Charles Billette <[email protected]> 
> wrote:
> 
> Maybe this will help ;-)
> 
> #!/bin/sh
> #
> # This script, when installed in your /etc/rc.d directory,
> # and when called from e.g. rc.local or rc.M will enable
> # various performance and power-saving features on your
> # Cyrix CPU.
> #
> # set6x86 version 1.2 or newer required
> 
> 
> BINPATH=/usr/sbin
> 
> echo -n "Cyrix 6x86: Suspend-on-Halt, "
> $BINPATH/set6x86 -p 0xC2 -s 0x08
> 
> echo -n "Fast ADS, "
> $BINPATH/set6x86 -p 0xC2 -c 0x02
> 
> # MAPEN (access to CCR4/5 enabled -- needed for settings below)
> $BINPATH/set6x86 -p 0xC3 -s 0x10
> 
> echo -n "Fast IORT, "
> $BINPATH/set6x86 -p 0xE8 -s 0x07
> 
> echo -n "Enable DTE, "
> $BINPATH/set6x86 -p 0xE8 -s 0x10
> 
> echo -n "Fast LOOP, "
> $BINPATH/set6x86 -p 0xE9 -c 0x02
> 
> # This enables some performance features for the linear memory mapped
> # VGA memory buffer, assuming it's on address 0xE0000000.
> #
> # On my system, memory bandwidth goes from 44 MB/sec to 78 MB/sec.
> #
> # It is disabled here, because this is very system-dependent.
> #
> #echo -n "Fast Lin. VidMem."
> #$BINPATH/set6x86 -p 0xD6 0xE0
> #$BINPATH/set6x86 -p 0xD7 0x00
> #$BINPATH/set6x86 -p 0xD8 0x0A
> #$BINPATH/set6x86 -p 0xE2 0x09
> 
> 
> # MAPEN (disable access to CCR4/5)
> $BINPATH/set6x86 -p 0xC3 -c 0x10
> 
> echo
> 
> 
> 
> > Hi
> >
> > Is there SBC mediaGX user on this news group?
> >
> > ________________________________________________________________________
> > Charles Billette
> > - 514.909.2452
> > - [email protected]
> > ________________________________________________________________________
> >
> 
> 
> 3 additional files attached
> -6x86reg shows the registers used by the CPU
> 
> 
> and for more hints:
> http://wwwd.national.com/national/developer.nsf/df772260f0f9b90c872569590075bc32/
> 
> have fun
> 
> Ralf Riedel


________________________________________________________________________
Charles Billette
- 514.909.2452
- [email protected]
                                                                        
________________________________________________________________________

--=-08ckKNI7rbtpHJIv4L4n
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.7">
</HEAD>
<BODY>
Take for the script!<BR>
<BR>
I try it but I still have a problem. When I resume the board it not seem to run full speed.<BR>
<BR>
<BR>
<BR>
<BR>
On Fri, 2003-02-14 at 05:25, Sventje Lill (RR) wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>On 12 Feb 2003 12:41:50 -0500, Charles Billette &lt;[email protected]&gt; 
wrote:

Maybe this will help ;-)

#!/bin/sh
#
# This script, when installed in your /etc/rc.d directory,
# and when called from e.g. rc.local or rc.M will enable
# various performance and power-saving features on your
# Cyrix CPU.
#
# set6x86 version 1.2 or newer required


BINPATH=/usr/sbin

echo -n &quot;Cyrix 6x86: Suspend-on-Halt, &quot;
$BINPATH/set6x86 -p 0xC2 -s 0x08

echo -n &quot;Fast ADS, &quot;
$BINPATH/set6x86 -p 0xC2 -c 0x02

# MAPEN (access to CCR4/5 enabled -- needed for settings below)
$BINPATH/set6x86 -p 0xC3 -s 0x10

echo -n &quot;Fast IORT, &quot;
$BINPATH/set6x86 -p 0xE8 -s 0x07

echo -n &quot;Enable DTE, &quot;
$BINPATH/set6x86 -p 0xE8 -s 0x10

echo -n &quot;Fast LOOP, &quot;
$BINPATH/set6x86 -p 0xE9 -c 0x02

# This enables some performance features for the linear memory mapped
# VGA memory buffer, assuming it's on address 0xE0000000.
#
# On my system, memory bandwidth goes from 44 MB/sec to 78 MB/sec.
#
# It is disabled here, because this is very system-dependent.
#
#echo -n &quot;Fast Lin. VidMem.&quot;
#$BINPATH/set6x86 -p 0xD6 0xE0
#$BINPATH/set6x86 -p 0xD7 0x00
#$BINPATH/set6x86 -p 0xD8 0x0A
#$BINPATH/set6x86 -p 0xE2 0x09


# MAPEN (disable access to CCR4/5)
$BINPATH/set6x86 -p 0xC3 -c 0x10

echo



&gt; Hi
&gt;
&gt; Is there SBC mediaGX user on this news group?
&gt;
&gt; ________________________________________________________________________
&gt; Charles Billette
&gt; - 514.909.2452
&gt; - [email protected]
&gt; ________________________________________________________________________
&gt;


3 additional files attached
-6x86reg shows the registers used by the CPU


and for more hints:</FONT>
<A HREF="http://wwwd.national.com/national/developer.nsf/df772260f0f9b90c872569590075bc32/"><FONT SIZE="3">http://wwwd.national.com/national/developer.nsf/df772260f0f9b90c872569590075bc32/</FONT></A>
<FONT COLOR="#737373" SIZE="3">
have fun

Ralf Riedel</I></FONT></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>

<HR>
<BR>
<A HREF="mailto:[email protected]"><FONT SIZE="5"><B>Charles Billette</B></FONT></A><BR>
- 514.909.2452<BR>
- <A HREF="mailto:[email protected]">[email protected]</A><BR>
<DIV ALIGN=right>
<HR>
</DIV>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-08ckKNI7rbtpHJIv4L4n--