Skip to content

Commit

Permalink
update hash value of boardloader && bump firmware version to 4.10.0 (#…
Browse files Browse the repository at this point in the history
…198)

* Update the hash value of board version 1.6.4.

* bump firmware version to 4.10.1
  • Loading branch information
lihuanhuan authored Oct 9, 2024
1 parent 180f19a commit 1db5517
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/embed/firmware/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#define ONEKEY_VERSION_MAJOR 4
#define ONEKEY_VERSION_MINOR 10
#define ONEKEY_VERSION_PATCH 0
#define ONEKEY_VERSION_PATCH 1
#define ONEKEY_VERSION_BUILD 0

#define _STR(X) #X
Expand Down
8 changes: 4 additions & 4 deletions core/embed/trezorhal/br_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ static int onekey_known_boardloader(const uint8_t *hash) {
}
if (0 ==
memcmp(hash,
"\x7a\xe7\x2a\x3e\x1f\xa6\x89\x4c\x8e\x42\x4f\xc7\x4c\x33\x72\xd0"
"\x84\x6d\x5f\x71\x00\x53\xcf\x84\x3b\x18\xcc\x55\xb2\x50\x76\x4b",
"\x45\xbb\xd7\x63\x07\x16\xbc\x10\x2f\xb3\xba\xe3\x22\xfc\x35\x7a"
"\x93\x89\xf1\xbd\x31\xf9\xfc\x64\xd1\x28\x9e\x91\x19\xf5\xbc\xed",
32)) {
memcpy(boardloader_version, "1.6.4", strlen("1.6.4"));
return 1;
Expand Down Expand Up @@ -102,8 +102,8 @@ static int onekey_known_boardloader(const uint8_t *hash) {
}
if (0 ==
memcmp(hash,
"\x40\x04\xf2\x2f\xc3\x5c\x5f\x95\xdd\xfa\xd2\xe8\xc1\xc0\xba\x6a"
"\xa1\xdd\xb3\xc7\xe7\xfd\xda\x0c\x0f\x1e\x81\x6a\xe5\xbf\x47\x1c",
"\xdf\x28\x11\x8a\xee\xf3\x71\x0a\x32\xa4\x0e\x36\x41\x9b\xef\xcf"
"\x32\x0a\xb5\xd1\x9f\x64\x3a\xd4\x9a\xf1\x68\xe1\x98\xa2\x27\x9d",
32)) {
memcpy(boardloader_version, "1.6.4", strlen("1.6.4"));
return 1;
Expand Down

0 comments on commit 1db5517

Please sign in to comment.