mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-13 15:56:37 +00:00
changes the tb.bin Thunderbolt blob script to create the same blob as libreboot
the blob created from the script prior to this change is not confirmed working this blob is now confirmed working if following the instructions from libreboot https://libreboot.org/docs/install/t480.html#update-lenovo-firmware-first Signed-off-by: gaspar-ilom <gasparilom@riseup.net>
This commit is contained in:
parent
81151d94f6
commit
438a061c99
@ -17,7 +17,7 @@ DEGUARDED_ME_BIN_HASH="1990b42df67ba70292f4f6e2660efb909917452dcb9bd4b65ea2f8640
|
||||
# Integrity checks for the vendor provided Thunderbolt blob...
|
||||
TB_DOWNLOAD_HASH="a500a93fe6a3728aa6676c70f98cf46785ef15da7c5b1ccd7d3a478d190a28a8"
|
||||
# ...and the padded and flashable version from that blob.
|
||||
TB_BIN_HASH="3903a93df700dee46ca2ccbb9e70e09f25f372fcfc1d5df7338640748117b964"
|
||||
TB_BIN_HASH="fc9c47ff4b16f036a7f49900f9da1983a5db44ca46156238b7b42e636d317388"
|
||||
|
||||
function usage() {
|
||||
echo -n \
|
||||
@ -123,8 +123,8 @@ function download_and_pad_tb() {
|
||||
chk_sha256sum "$TB_DOWNLOAD_HASH" "$tb_installer_filename"
|
||||
|
||||
# https://www.reddit.com/r/thinkpad/comments/9rnimi/ladies_and_gentlemen_i_present_to_you_the/
|
||||
7z e n24th13w.exe \[0\]
|
||||
mv \[0\] tb.bin
|
||||
innoextract n24th13w.exe -d .
|
||||
mv ./code\$GetExtractPath\$/TBT.bin tb.bin
|
||||
# pad with zeros
|
||||
dd if=/dev/zero of=tb.bin bs=1 seek="$TBFW_SIZE" count=1
|
||||
mv "tb.bin" "$tb_output"
|
||||
|
@ -1,4 +1,4 @@
|
||||
d3af2dfbf128bcddfc8c5810a11478697312e5701668f719f80f3f6322db5642 gbe.bin
|
||||
f2f6d5fb0a5e02964b494862032fd93f1f88e2febd9904b936083600645c7fdf ifd.bin
|
||||
1990b42df67ba70292f4f6e2660efb909917452dcb9bd4b65ea2f86402cfa16b me.bin
|
||||
3903a93df700dee46ca2ccbb9e70e09f25f372fcfc1d5df7338640748117b964 tb.bin
|
||||
fc9c47ff4b16f036a7f49900f9da1983a5db44ca46156238b7b42e636d317388 tb.bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user