forked from batocera-linux/batocera.linux
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changed H700 "overclock" to default to 1.5GHz * Changed S12popualateShare to default to KNULLI version * Added initial RK3128 support (Powkiddy A12/A13, PS5000, PS7000)
- Loading branch information
Showing
9 changed files
with
132 additions
and
9 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
board/batocera/allwinner/h700/rg28xx/fsoverlay/etc/init.d/S02overclock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
do_overclock() { | ||
echo "$1" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | ||
echo "$1" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq | ||
echo "$1" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq | ||
echo "$1" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq | ||
} | ||
|
||
|
||
if test "${1}" = "start" | ||
then | ||
OVALUE=$(grep -E '^[ ]*overclocking[ ]*=[ ]*.*[ ]*$' /boot/batocera-boot.conf | sed -e s+"^[ ]*overclocking[ ]*=[ ]*\(.*\)[ ]*$"+"\1"+) | ||
|
||
# ULTRALOW LOW MEDIUM HIGH TURBO EXTREME | ||
# 480000 720000 1032000 1104000 1200000 1296000 1416000 1512000 | ||
|
||
case "${OVALUE}" in | ||
"none") | ||
do_overclock 1512000 | ||
;; | ||
"turbo") | ||
do_overclock 1416000 | ||
;; | ||
"high") | ||
do_overclock 1296000 | ||
;; | ||
"medium") | ||
do_overclock 1200000 | ||
;; | ||
"low") | ||
do_overclock 720000 | ||
;; | ||
"powersave") | ||
do_overclock 480000 | ||
;; | ||
*) | ||
# default | ||
do_overclock 1512000 | ||
;; | ||
esac | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
# Stop all init scripts in /etc/init.d | ||
# executing them in reversed numerical order. | ||
# | ||
for i in $(ls -r /etc/init.d/S??*) ;do | ||
|
||
# Ignore dangling symlinks (if any). | ||
[ ! -f "$i" ] && continue | ||
|
||
case "$i" in | ||
*.sh) | ||
# Source shell script for speed. | ||
( | ||
trap - INT QUIT TSTP | ||
set stop | ||
. $i | ||
) | ||
;; | ||
*) | ||
$i stop | ||
;; | ||
esac | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/sh | ||
|
||
# We need the graphics module in order to use SDL since we are | ||
# using the sdl-compat/SDL2 for rendering | ||
insmod /lib/modules/mali_kbase.ko | ||
|
||
# Call the charger process | ||
/usr/bin/charger | ||
|
||
# Start the progress bar | ||
/usr/bin/progressbar & | ||
|
||
# Start all init scripts in /etc/init.d | ||
# executing them in numerical order. | ||
# | ||
for i in /etc/init.d/S??* ;do | ||
|
||
# Ignore dangling symlinks (if any). | ||
[ ! -f "$i" ] && continue | ||
|
||
case "$i" in | ||
*.sh) | ||
# Source shell script for speed. | ||
( | ||
trap - INT QUIT TSTP | ||
set start | ||
. $i | ||
) | ||
;; | ||
*) | ||
echo "$i" > /tmp/status.txt | ||
# No sh extension, so fork subprocess. | ||
$i start | ||
;; | ||
esac | ||
|
||
echo $(date +"%F %T,%3N")": ${i} - started" >> /var/run/boot.log | ||
done |
Binary file added
BIN
+110 KB
...atocera/rockchip/rk3128/fsoverlay/usr/share/emulationstation/resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
package/batocera/core/batocera-configgen/0001-RA-menu-inputs-match-ES-Mikhailzrick.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters