-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Beta SALT (#33) * Fix the default model number * Bump storage version to 4. * Bump firmware version to v4.0.2 * Bump bootloader to v1.0.4
- Loading branch information
Showing
14 changed files
with
364 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ | |
.metadata/ | ||
|
||
# component libraries | ||
build/ | ||
build | ||
bin | ||
|
||
# Misc | ||
tags | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
IMAGETAG=keepkey/firmware | ||
|
||
docker build -t $IMAGETAG . | ||
|
||
docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\ | ||
cd /root/keepkey-firmware/libopencm3 && \ | ||
make clean && \ | ||
make && \ | ||
cd /root/keepkey-firmware && \ | ||
./b -d -salt && \ | ||
mkdir -p bin/debug/salt && \ | ||
mv build/arm-none-gnu-eabi/debug/bin/*.bin bin/debug/salt/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
echo "*********************************************************************" | ||
echo "* You are about to build a release version of KeepKey firmware. The *" | ||
echo "* resulting bootloader image will memory protect the flash on your *" | ||
echo "* device, so please use it with extreme care. *" | ||
echo "*********************************************************************" | ||
read -p "Are you sure you want to continue? " -n 1 -r | ||
echo # (optional) move to a new line | ||
if [[ $REPLY =~ ^[Yy]$ ]] | ||
then | ||
|
||
IMAGETAG=keepkey/firmware | ||
|
||
docker build -t $IMAGETAG . | ||
|
||
docker run -t -v $(pwd):/root/keepkey-firmware --rm $IMAGETAG /bin/sh -c "\ | ||
cd /root/keepkey-firmware/libopencm3 && \ | ||
make clean && \ | ||
make && \ | ||
cd /root/keepkey-firmware && \ | ||
./b -mp -salt && \ | ||
mkdir -p bin/release/salt && \ | ||
mv build/arm-none-gnu-eabi/release/bin/*.bin bin/release/salt/ && \ | ||
echo '*********************************************************************' && \ | ||
echo '* KeepKey Application Fingerprint (SALT) *' && \ | ||
echo '*********************************************************************' && \ | ||
cat bin/release/salt/keepkey_main.bin | sha256sum" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"BOOTLOADER_PATCH_VERSION": 3, "MAJOR_VERSION": 4, "MINOR_VERSION": 0, "PATCH_VERSION": 0, "BOOTLOADER_MAJOR_VERSION": 1, "BOOTLOADER_MINOR_VERSION": 0} | ||
{"BOOTLOADER_PATCH_VERSION": 4, "MAJOR_VERSION": 4, "MINOR_VERSION": 0, "PATCH_VERSION": 2, "BOOTLOADER_MAJOR_VERSION": 1, "BOOTLOADER_MINOR_VERSION": 0} |