Overclock possibilities

Yes, I know that there are MK802’s already fried and the newer MiniX is coming to prevent too much heat, but there are others that run the MiniX out of it’s case or want the maximum possible. Remember: do this at your own risk!

The script.bin file is in one of the fex files, when the IMG firmware file is decrypted.
A tutorial on this later.

According to the Mele forums, the Mele can be overclocked as well:

“Clock speed is controlled by the script.bin file. It is close to the top under the [target] header. The variable to set is boot_clock. The stated speed for my tablet was 1.2GHz , but boot_clock is set at 1008″

Others say that the clock speed is hardcoded in the kernel, and changing evb.bin or script.bin doesn’t change anything. But the reports vary on that.

So if somebody applies a cooler or heatsink onto the MiniX, true 1,2 GHZ is possible.

Overclocking usually varies with higher voltage, but that seems a problem as well, because of the voltage regulator. In the MK802 II this voltage regulator is changed.
The APX209 seems the best, no idea which one is in the MiniX or newer MiniX Plus.

Standard, on the Mele’s it’s 1.4 volt for the 1008 mhz, and should be 1.5 or higher for higher frequencies.

================================================================

Instructions (copied from MK802 tutorial). Make sure you know how you can recompile a kernel!

Step 1:

Edit the following files in linux-allwinner/arch/arm/mach-sun4i/cpu-freq;

cpu-freq.c : {.freq = 1056000000, .volt = 1500} ….> change to {.freq = 1056000000, .volt = 1400}

cpu-freq.h : #define SUN4I_CPUFREQ_MAX (1008000000) ……> change to #define SUN4I_CPUFREQ_MAX (1056000000)

Step 2:

Change the kernel configuration so that the CPUFREQ options are as follows:

#
# CPU Power Management
#

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_FANTASY is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SMARTASS2 is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_FANTASY=m
# CONFIG_CPU_FREQ_GOV_SMARTASS2 is not set
CONFIG_CPU_FREQ_USR_EVNT_NOTIFY=y
# CONFIG_CPU_FREQ_DVFS is not set
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y

Step 3:

Recompile the kernel and install kernel and modules, reboot.

cat /proc/cpuinfo:

# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1049.59
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2

Hardware : sun4i
Revision : 0000
Serial : 0000000000000000

Advertisements

2 thoughts on “Overclock possibilities

  1. Hello, i would like to underclock (yes), but where i found documentation about “volt” parameter.
    I read that cpu frequency have 48MHz step, 1008=21*48. To my work i going to compile custom kernel with 480=10*48. But how i reconfigure cpu-freq.c file? special “volt” paramerter.
    I am working in a 12v battery mk802 system.
    Regards.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s