1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

chore(legacy): bundle bootloader 1.12.0 into firmware

This commit is contained in:
tychovrahe 2022-12-20 10:20:20 +01:00 committed by matejcik
parent 6d2b73ea86
commit 13fd5d792d
5 changed files with 10 additions and 3 deletions

View File

@ -92,8 +92,8 @@ static int known_bootloader(int r, const uint8_t *hash) {
// BEGIN AUTO-GENERATED QA BOOTLOADER ENTRIES (bl_check_qa.txt) // BEGIN AUTO-GENERATED QA BOOTLOADER ENTRIES (bl_check_qa.txt)
if (0 == if (0 ==
memcmp(hash, memcmp(hash,
"\x29\x34\xf3\xd3\xaa\x59\x2b\x34\x49\x6a\x23\xb8\x14\x74\xe2\xc2" "\x21\xb9\x49\xf4\xf5\xfd\x9f\x3a\x7d\x63\x43\xd1\x07\x6f\x96\x0f"
"\xf3\xee\x1e\x36\x66\x0b\xf0\x1e\x19\x8a\x65\x15\xc2\x32\xc1\x85", "\xb4\x54\x18\x19\x65\x31\xb9\xf2\x97\x4a\x68\xed\xe8\xdb\x2e\xa1",
32)) 32))
return 1; // 1.12.0 shipped with fw 1.12.0 return 1; // 1.12.0 shipped with fw 1.12.0
// END AUTO-GENERATED QA BOOTLOADER ENTRIES (bl_check_qa.txt) // END AUTO-GENERATED QA BOOTLOADER ENTRIES (bl_check_qa.txt)
@ -214,6 +214,12 @@ static int known_bootloader(int r, const uint8_t *hash) {
32)) 32))
return 1; // 1.11.0 shipped with fw 1.11.1 return 1; // 1.11.0 shipped with fw 1.11.1
// BEGIN AUTO-GENERATED BOOTLOADER ENTRIES (bl_check.txt) // BEGIN AUTO-GENERATED BOOTLOADER ENTRIES (bl_check.txt)
if (0 ==
memcmp(hash,
"\xe9\xec\x8f\xa2\xfe\xfa\xd2\xb3\xb6\xb7\xc4\xab\x76\x69\x1a\x33"
"\x61\xb3\xee\xfb\x8a\x0d\xda\xa3\x4d\x7e\x45\xb6\x3b\x3d\x56\x64",
32))
return 1; // 1.12.0 shipped with fw 1.12.0
// END AUTO-GENERATED BOOTLOADER ENTRIES (bl_check.txt) // END AUTO-GENERATED BOOTLOADER ENTRIES (bl_check.txt)
return 0; return 0;
} }

View File

@ -0,0 +1 @@
e9ec8fa2fefad2b3b6b7c4ab76691a3361b3eefb8a0ddaa34d7e45b63b3d5664 1.12.0 shipped with fw 1.12.0

View File

@ -1 +1 @@
2934f3d3aa592b34496a23b81474e2c2f3ee1e36660bf01e198a6515c232c185 1.12.0 shipped with fw 1.12.0 21b949f4f5fd9f3a7d6343d1076f960fb45418196531b9f2974a68ede8db2ea1 1.12.0 shipped with fw 1.12.0

Binary file not shown.

Binary file not shown.