Identical THS settings on all H3 boards, remove installation of sun8i-corekeeper.sh

This commit is contained in:
ThomasKaiser 2016-06-04 18:49:55 +02:00
parent 2c5e07f9a4
commit 2011201ac6
10 changed files with 16 additions and 28 deletions

View file

@ -352,11 +352,9 @@ if [[ -n $MISC5_DIR && $BRANCH != next && $LINUXSOURCEDIR == *sun8i* ]]; then
install -m 755 a10disp "$CACHEDIR/sdcard/usr/local/bin"
fi
# h3disp/sun8i-corekeeper.sh for sun8i/3.4.x
# h3disp for sun8i/3.4.x
if [[ $LINUXFAMILY == sun8i && $BRANCH == default ]]; then
install -m 755 "$SRC/lib/scripts/h3disp" "$CACHEDIR/sdcard/usr/local/bin"
install -m 755 "$SRC/lib/scripts/sun8i-corekeeper.sh" "$CACHEDIR/sdcard/usr/local/bin"
sed -i 's|^exit\ 0$|/usr/local/bin/sun8i-corekeeper.sh \&\n\n&|' "$CACHEDIR/sdcard/etc/rc.local"
fi
}

View file

@ -180,7 +180,7 @@ pll_de = 864
; dram_tpr7[9:0] to set ddr3 or ddr3l clk.
;*****************************************************************************
[dram_para]
dram_clk = 672
dram_clk = 624
dram_type = 3
dram_zq = 0x3b3bfb
dram_odt_en = 0x1

View file

@ -371,12 +371,12 @@ red_led_active_low = 0
[ths_para]
ths_used = 1
ths_trip1_count = 6
ths_trip1_0 = 70
ths_trip1_0 = 75
ths_trip1_1 = 80
ths_trip1_2 = 85
ths_trip1_3 = 90
ths_trip1_4 = 95
ths_trip1_5 = 100
ths_trip1_5 = 105
ths_trip1_6 = 0
ths_trip1_7 = 0
ths_trip1_0_min = 0

View file

@ -255,12 +255,12 @@ red_led_active_low = 0
[ths_para]
ths_used = 1
ths_trip1_count = 6
ths_trip1_0 = 70
ths_trip1_0 = 75
ths_trip1_1 = 80
ths_trip1_2 = 85
ths_trip1_3 = 90
ths_trip1_4 = 95
ths_trip1_5 = 100
ths_trip1_5 = 105
ths_trip1_6 = 0
ths_trip1_7 = 0
ths_trip1_0_min = 0

View file

@ -271,12 +271,12 @@ red_led_active_low = 0
[ths_para]
ths_used = 1
ths_trip1_count = 6
ths_trip1_0 = 70
ths_trip1_0 = 75
ths_trip1_1 = 80
ths_trip1_2 = 85
ths_trip1_3 = 90
ths_trip1_4 = 95
ths_trip1_5 = 100
ths_trip1_5 = 105
ths_trip1_6 = 0
ths_trip1_7 = 0
ths_trip1_0_min = 0

View file

@ -374,12 +374,12 @@ red_led_active_low = 0
[ths_para]
ths_used = 1
ths_trip1_count = 6
ths_trip1_0 = 70
ths_trip1_0 = 75
ths_trip1_1 = 80
ths_trip1_2 = 85
ths_trip1_3 = 90
ths_trip1_4 = 95
ths_trip1_5 = 100
ths_trip1_5 = 105
ths_trip1_6 = 0
ths_trip1_7 = 0
ths_trip1_0_min = 0

View file

@ -257,12 +257,12 @@ red_led_active_low = 0
[ths_para]
ths_used = 1
ths_trip1_count = 6
ths_trip1_0 = 70
ths_trip1_0 = 75
ths_trip1_1 = 80
ths_trip1_2 = 85
ths_trip1_3 = 90
ths_trip1_4 = 95
ths_trip1_5 = 100
ths_trip1_5 = 105
ths_trip1_6 = 0
ths_trip1_7 = 0
ths_trip1_0_min = 0

View file

@ -1,13 +0,0 @@
diff --git a/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c b/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c
index 54e50d5..1dc4f79 100644
--- a/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c
+++ b/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c
@@ -37,7 +37,7 @@ static struct clk *gpu_pll = NULL;
_mali_osk_errcode_t mali_platform_init(void)
{
- int freq = 252; /* 252 MHz */
+ int freq = 600; /* 600 MHz */
gpu_pll = clk_get(NULL, PLL_GPU_CLK);

View file

@ -40,7 +40,7 @@ index 0000000..43562a2
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=672
+CONFIG_DRAM_CLK=624
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+# CONFIG_VIDEO is not set

View file

@ -23,4 +23,7 @@ case $RELEASE in
trusty)
# your code here
;;
xenial)
# your code here
;;
esac