summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-01-12 16:08:56 +0000
committerLeah Rowe <leah@libreboot.org>2024-01-12 16:08:56 +0000
commit09bed9a4c3257dbf9b4d59975db0071472ed67eb (patch)
tree06db73e898c8d8d45706d094150b547a026e4237 /script
parent401c0882aaec059eab62b5ce467d3efbc1472d1f (diff)
REMOVE MAINBOARD: lenovo x201
with neutered ME, fan control fails. while there are ways to mitigate it, many users will not, and will likely see their system overheat, which is very dangerous. this bug (failed fan control on neutered ME) only affects arrandale machines such as lenovo x201. the newer machines are not affected by this. other arrandale machines will probably not be added to libreboot because of this, or they will be subject to further testing. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/update/release4
-rwxr-xr-xscript/vendor/download24
2 files changed, 7 insertions, 21 deletions
diff --git a/script/update/release b/script/update/release
index 7e0492f4..fa557477 100755
--- a/script/update/release
+++ b/script/update/release
@@ -85,10 +85,6 @@ fetch_trees()
mkrom_images()
{
- x_ mkdir -p "vendorfiles/x201/"
- dd if=/dev/zero of="vendorfiles/x201/me.bin" \
- bs=68k count=1 || err "mkvdir: can't make fake x201 me.bin"
-
./build roms all || err "${_xm}: roms-all"
./build serprog rp2040 || err "${_xm}: rp2040"
./build serprog stm32 || err "${_xm}: stm32"
diff --git a/script/vendor/download b/script/vendor/download
index 592c14bc..42cb16ab 100755
--- a/script/vendor/download
+++ b/script/vendor/download
@@ -21,8 +21,7 @@ uefiextract="${PWD}/src/uefitool/uefiextract"
eval "$(setvars "" _b _dl EC_url EC_url_bkup EC_hash DL_hash DL_url DL_url_bkup \
E6400_VGA_DL_hash E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset \
E6400_VGA_romname SCH5545EC_DL_url SCH5545EC_DL_url_bkup SCH5545EC_DL_hash \
- is_rom tree mecleaner kbc1126_ec_dump MRC_refcode_cbtree cbfstoolref \
- MRC_refcode_gbe)"
+ tree mecleaner kbc1126_ec_dump MRC_refcode_cbtree cbfstoolref MRC_refcode_gbe)"
main()
{
@@ -115,16 +114,12 @@ fetch()
[ "${5#/}" = "$5" ] || err "fetch: absolute path not allowed: '$5'"
_dest="${5##*../}"
_dl="${vendir}/cache/${dlsum}"
- eval "$(setvars "n" dl_fail is_rom)"
+ dl_fail="n"
x_ mkdir -p "${_dl%/*}"
- if [ "${dl}" = "rom" ] || [ "${dl_bkup}" = "rom" ]; then
- is_rom="y"
- else
- dl_fail="y"
- vendor_checksum "${dlsum}" "${_dl}" || dl_fail="n"
- fi
+ dl_fail="y"
+ vendor_checksum "${dlsum}" "${_dl}" || dl_fail="n"
for url in "${dl}" "${dl_bkup}"; do
[ "${dl_fail}" = "n" ] && break
[ -z "${url}" ] && continue
@@ -159,14 +154,9 @@ mkdirs()
fi
mkdir -p "${1%/*}" || err "mkdirs: !mkdir -p ${1%/*}"
remkdir "${appdir}"
- if [ "${is_rom}" = "y" ]; then
- cp "${_dl}" "${appdir}" || \
- err "mkdirs copyrom ${_dl}: can't copy to appdir"
- else
- extract_archive "${_dl}" "${appdir}" || \
- [ "${2}" = "extract_e6400vga" ] || \
- err "mkdirs ${1} ${2}: !extract"
- fi
+ extract_archive "${_dl}" "${appdir}" || \
+ [ "${2}" = "extract_e6400vga" ] || \
+ err "mkdirs ${1} ${2}: !extract"
}
extract_intel_me()