Skip to content

Commit

Permalink
v0.0.5 ready for beta
Browse files Browse the repository at this point in the history
added instructions
  • Loading branch information
HomeACcessoryKid committed Mar 18, 2018
1 parent cf02e5e commit 96fac08
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
Binary file added certificates/0.0.5v/certs.sector
Binary file not shown.
Binary file added certificates/0.0.5v/otaboot.bin
Binary file not shown.
Binary file added certificates/0.0.5v/otamain.bin
Binary file not shown.
25 changes: 25 additions & 0 deletions deploy.md
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

0 comments on commit 96fac08

Please sign in to comment.