-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,25 @@ | ||
Instructions for end users: | ||
TBD | ||
|
||
Instructions if you own the private key: | ||
cd ota/src | ||
#initial steps to be expanded | ||
mkdir ../certificates/0.0.5v | ||
cp ../certificates/certs.sector ../certificates/0.0.5v | ||
#set local.mk to the ota-main program | ||
make -j4 rebuild OTAVERSION=0.0.5 | ||
mv firmware/otamain.bin ../certificates/0.0.5v | ||
#set local.mk back to ota-boot program | ||
make -j4 rebuild OTAVERSION=0.0.5 | ||
cp firmware/otaboot.bin ../certificates/0.0.5v | ||
#commit this as version 0.0.5 | ||
#set up a new github release 0.0.5 as a pre-release using the just commited master... | ||
|
||
#upload the ota-boot program to the device that contains the private key | ||
make flash | ||
#power cycle to prevent the bug for software reset after flash | ||
#create the 3 signature files next to the bin file and upload to github one by one | ||
#verify the hashes on the computer | ||
openssl sha384 ../certificates/otamain.bin | ||
xxd ../certificates/otamain.bin.sig | ||
#make the release a production release on github |