Difference between revisions of "Leapster Explorer: Common Commands"

From eLinux.org
Jump to: navigation, search
Line 62: Line 62:
  
 
mtd2 is where the kernel is stored
 
mtd2 is where the kernel is stored
 
== Over Clocking ==
 
 
It is very simple to overclock (or underclock) your explorer.
 
 
==== Preliminary Overclock ====
 
 
Lets say you want to boost the speed up to 532.5mhz?
 
 
echo 532500000 > /usr/speed
 
 
to speed up your system it is as easy as typing the following
 
 
cat /usr/speed > /sys/devices/platform/lf1000-gpio/cpu_freq_in_hz
 
 
enjoy
 
 
==== Living Dangerously ====
 
 
Once you have tested your overclock, and are sure that it is stable, and you haven't made any typos...
 
You can actually get the startup script to automagically set the cpu freq for you!
 
 
There is a line in /etc/init.d/rcS that checks for /flags/cpu_freq_in_hz, and automatically copies the contents to /sys/devices/platform/lf1000-gpio/cpu_freq_in_hz!
 
 
It is important that you test your chosen cpu frequency first using the procedure in section 1, or you might be left with an unbootable device.
 
 
echo 532500000 > /flags/cpu_freq_in_hz
 
 
Now just reboot, and your Leapster Explorer will automatically boot at the faster speed.  Again, '''this is dangerous''', so test it first with the above method. I cannot stress this enough.
 
 
==== Test Results ====
 
 
GrizzlyAdams was able to get his to run at any arbitrary speed between 180MHz and 580Mhz.
 
At 164MHz the display went blank, and serial port stopped responding.
 
At 600MHz a kernel panic occurred.
 

Revision as of 02:12, 18 July 2011

Here are some changes to the LX's default setup that will make your life more easy.


AppManager

Disable

This will prevent the auto shutoff from kicking in, but you also loose a lot of normal LeapFrog specific functionality.

Temporarily

On Device

killall AppManager app CartManager

Permanently

touch /flags/main_app


Start Different Application

This will allow you to start a different application other than the default LeapFrog application:

echo /path/to/your/app > /flags/main_app

Caution /LF/Bulk isn't guaranteed to be mounted when the start up script is run. If your app isn't found, rcS will remove /flags/main_app to restore the default on the next boot.

Developer Mode

This turns on telnet and ftp by default, and switches to a static IP address.

touch /flags/developer

If you still want to have the automatic private ip:

touch /flags/avahi

And if you want a speedy boot (this eliminates a 6 second wait timer):

touch /flags/no8sec

Removing USB-boot-mode auto-shutdown

When USB booting, the script /usr/bin/recovery runs. On line 8 of that script is an instruction to do a forced shutdown after 600 seconds.

To remove that annoyance, simply comment-out that line:

#( sleep 600; poweroff -f ) &

Debranding

To remove the 2nd boot logo, comment out line 76 of /etc/init.d/rcS:

#imager /dev/layer0 /var/screens/LEGAL.png

To remove the startup sound, comment out line 91 of /etc/init.d/rcS:

#oss -w /var/sounds/startup.wav & # & tim end "sounds/startup.wav" &

New Kernel Copy

This may brick your Explorer and make it require a usb boot so only do this if your brave.

nandscrub -e /dev/mtd2
nandscrub /dev/mtd2
nandwrite /dev/mtd2 /usr/kernel.cbf

mtd2 is where the kernel is stored