Commit 579101e7 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Update L13v2/L15v3 to 4.7-Purism-3

This fixes the overheating shutdowns issue we had by setting the TCC
activation to 95C.
parent e7fe3d87
Librem 15 v3 :
==================================================
4.7-Purism-3
===
- Enable SpeedStep
- Fix CPU overheating issue
4.7-Purism-2
===
- Nothing (Bump version number to match librem 13 v1 release)
......@@ -38,6 +43,11 @@ Librem 15 v3 :
Librem 13 v2 :
==================================================
4.7-Purism-3
===
- Enable SpeedStep
- Fix CPU overheating issue
4.7-Purism-2
===
- Nothing (Bump version number to match librem 13 v1 release)
......
......@@ -39,16 +39,13 @@ SKL_ME_RAR_SHA="7ce1a75be975cd86c860dde2f114d0a8f7c35802e8bc6623d9ab1dbe285e8954
RAR_NONFREE_SOURCE_URL="https://www.rarlab.com/rar/unrarsrc-5.5.8.tar.gz"
RAR_NONFREE_SOURCE_SHA="9b66e4353a9944bc140eb2a919ff99482dd548f858f5e296d809e8f7cdb2fcf4"
BDL_COREBOOT_BRANCH="librem_4.7"
SKL_COREBOOT_BRANCH="librem_4.7"
# Final flashregion_1_bios sha256 hashes
L13V1_COREBOOT_BIOS_SHA="304d1b66a66a6aa7baed90987e52653f5d50ab82c4ee1d974b4a0c4236532e77"
L13V1_COREBOOT_VERSION="4.7-Purism-2"
L13V2_COREBOOT_BIOS_SHA="c916c08859d1d68e0ef99d4eb99a5cbcffb8ac9541797e4918eb737b12fcb396"
L13V2_COREBOOT_VERSION="4.7-Purism-2"
L15V3_COREBOOT_BIOS_SHA="f123795cbeb0e0e04089dbf4e9b92bbf705dc6ad10cd0585036d3c44c83c8c09"
L15V3_COREBOOT_VERSION="4.7-Purism-2"
L13V2_COREBOOT_BIOS_SHA="1588d6a6c830ade7a69b0ca1d8cdb6cf979f32ccbf036d9bea90c16a4aecde5c"
L13V2_COREBOOT_VERSION="4.7-Purism-3"
L15V3_COREBOOT_BIOS_SHA="88a99df53213aa7dbdbc7b82d56b3086a680361a46fd6c8c92398f07b5e0236b"
L15V3_COREBOOT_VERSION="4.7-Purism-3"
die () {
......@@ -368,6 +365,7 @@ if [ "$machine" = "1" ]; then
BLOB_DIR="3rdparty/blobs/mainboard/purism/librem13v1"
COREBOOT_FILENAME="coreboot-l13v1.rom"
COREBOOT_BIOS_SHA="$L13V1_COREBOOT_BIOS_SHA"
COREBOOT_TAG="$L13V1_COREBOOT_VERSION"
SKL=0
elif [ "$machine" = "2" ]; then
BLOB_DIR="3rdparty/blobs/mainboard/purism/librem15v2"
......@@ -380,11 +378,13 @@ elif [ "$machine" = "3" ]; then
BLOB_DIR="3rdparty/blobs/mainboard/purism/librem_skl"
COREBOOT_FILENAME="coreboot-l13v2.rom"
COREBOOT_BIOS_SHA="$L13V2_COREBOOT_BIOS_SHA"
COREBOOT_TAG="$L13V2_COREBOOT_VERSION"
SKL=1
else
BLOB_DIR="3rdparty/blobs/mainboard/purism/librem_skl"
COREBOOT_FILENAME="coreboot-l15v3.rom"
COREBOOT_BIOS_SHA="$L15V3_COREBOOT_BIOS_SHA"
COREBOOT_TAG="$L15V3_COREBOOT_VERSION"
SKL=1
fi
mkdir -p $BLOB_DIR
......@@ -577,26 +577,18 @@ else
rm -f serial_number.txt
fi
if [ $SKL -eq 1 ]; then
# Need to fetch origin in order to get all upstream tags
# which are used when doing 'git describe' (it affects final hash)
git fetch origin
git fetch purism
# checkout master so we can delete the librem branch
git checkout master
# delete it, in case it's our first run, do || true
git branch -D librem || true
git checkout -b librem purism/$SKL_COREBOOT_BRANCH
# need to update submodules after the checkout
git sup
else
git fetch origin
git fetch purism
git checkout master
git branch -D librem || true
git checkout -b librem purism/$BDL_COREBOOT_BRANCH
git sup
fi
# Need to fetch origin in order to get all upstream tags
# which are used when doing 'git describe' (it affects final hash)
git fetch origin
git fetch purism
git fetch purism --tags
# checkout master so we can delete the librem branch
git checkout master
# delete it, in case it's our first run, do || true
git branch -D librem || true
git checkout -b librem "$COREBOOT_TAG"
# need to update submodules after the checkout
git sup
update_crossgcc_toolchain
......
......@@ -7,7 +7,7 @@
# General setup
#
CONFIG_COREBOOT_BUILD=y
CONFIG_LOCALVERSION="4.7-Purism-2"
CONFIG_LOCALVERSION="4.7-Purism-3"
CONFIG_CBFS_PREFIX="fallback"
CONFIG_COMPILER_GCC=y
# CONFIG_COMPILER_LLVM_CLANG is not set
......
......@@ -7,7 +7,7 @@
# General setup
#
CONFIG_COREBOOT_BUILD=y
CONFIG_LOCALVERSION="4.7-Purism-2"
CONFIG_LOCALVERSION="4.7-Purism-3"
CONFIG_CBFS_PREFIX="fallback"
CONFIG_COMPILER_GCC=y
# CONFIG_COMPILER_LLVM_CLANG is not set
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment