mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-05 05:41:43 +00:00
Identical THS settings on all H3 boards, remove installation of sun8i-corekeeper.sh
This commit is contained in:
parent
2c5e07f9a4
commit
2011201ac6
10 changed files with 16 additions and 28 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
@ -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
|
||||
|
|
|
@ -23,4 +23,7 @@ case $RELEASE in
|
|||
trusty)
|
||||
# your code here
|
||||
;;
|
||||
xenial)
|
||||
# your code here
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue