NEOS 18 (#21407)
parent
0415d5ace7
commit
dd0c6fca5d
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"ota_url": "https://commadist.azureedge.net/neosupdate/ota-signed-c4f56c62c5603c86e2ae9d83008a8d42a91319979661d0c42fb97b85d9112266.zip",
|
"ota_url": "https://commadist.azureedge.net/neosupdate/ota-signed-5dc2575d713977666a8e14ae1b43a04d7f63123934c80fa10751d949a107653e.zip",
|
||||||
"ota_hash": "c4f56c62c5603c86e2ae9d83008a8d42a91319979661d0c42fb97b85d9112266",
|
"ota_hash": "5dc2575d713977666a8e14ae1b43a04d7f63123934c80fa10751d949a107653e",
|
||||||
"recovery_url": "https://commadist.azureedge.net/neosupdate/recovery-c5db3790c3b09756e8e896187ddb3f1258315eb0a86030468baa187b84a3bbf5.img",
|
"recovery_url": "https://commadist.azureedge.net/neosupdate/recovery-f01a55c9ba52ca57668d1684c6bf4118efd31916b04f8c1fcd8495013d3677eb.img",
|
||||||
"recovery_len": 15209772,
|
"recovery_len": 15222060,
|
||||||
"recovery_hash": "c5db3790c3b09756e8e896187ddb3f1258315eb0a86030468baa187b84a3bbf5"
|
"recovery_hash": "f01a55c9ba52ca57668d1684c6bf4118efd31916b04f8c1fcd8495013d3677eb"
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,21 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||||
|
|
||||||
function two_init {
|
function two_init {
|
||||||
|
|
||||||
# Wifi scan
|
# set IO scheduler
|
||||||
wpa_cli IFNAME=wlan0 SCAN
|
setprop sys.io.scheduler noop
|
||||||
|
for f in /sys/block/*/queue/scheduler; do
|
||||||
|
echo noop > $f
|
||||||
|
done
|
||||||
|
|
||||||
# *** shield cores 2-3 ***
|
# *** shield cores 2-3 ***
|
||||||
|
|
||||||
|
# TODO: should we enable this?
|
||||||
|
# offline cores 2-3 to force recurring timers onto the other cores
|
||||||
|
#echo 0 > /sys/devices/system/cpu/cpu2/online
|
||||||
|
#echo 0 > /sys/devices/system/cpu/cpu3/online
|
||||||
|
#echo 1 > /sys/devices/system/cpu/cpu2/online
|
||||||
|
#echo 1 > /sys/devices/system/cpu/cpu3/online
|
||||||
|
|
||||||
# android gets two cores
|
# android gets two cores
|
||||||
echo 0-1 > /dev/cpuset/background/cpus
|
echo 0-1 > /dev/cpuset/background/cpus
|
||||||
echo 0-1 > /dev/cpuset/system-background/cpus
|
echo 0-1 > /dev/cpuset/system-background/cpus
|
||||||
|
@ -75,6 +85,9 @@ function two_init {
|
||||||
# disable bluetooth
|
# disable bluetooth
|
||||||
service call bluetooth_manager 8
|
service call bluetooth_manager 8
|
||||||
|
|
||||||
|
# wifi scan
|
||||||
|
wpa_cli IFNAME=wlan0 SCAN
|
||||||
|
|
||||||
# Check for NEOS update
|
# Check for NEOS update
|
||||||
if [ $(< /VERSION) != "$REQUIRED_NEOS_VERSION" ]; then
|
if [ $(< /VERSION) != "$REQUIRED_NEOS_VERSION" ]; then
|
||||||
if [ -f "$DIR/scripts/continue.sh" ]; then
|
if [ -f "$DIR/scripts/continue.sh" ]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ export OPENBLAS_NUM_THREADS=1
|
||||||
export VECLIB_MAXIMUM_THREADS=1
|
export VECLIB_MAXIMUM_THREADS=1
|
||||||
|
|
||||||
if [ -z "$REQUIRED_NEOS_VERSION" ]; then
|
if [ -z "$REQUIRED_NEOS_VERSION" ]; then
|
||||||
export REQUIRED_NEOS_VERSION="17"
|
export REQUIRED_NEOS_VERSION="18"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$AGNOS_VERSION" ]; then
|
if [ -z "$AGNOS_VERSION" ]; then
|
||||||
|
|
Loading…
Reference in New Issue