mirror of https://github.com/wolfSSL/wolfBoot.git
Fixed scripts by adding explicit "--ecc256" argument
parent
da353cfe2e
commit
8ffdf1997b
|
@ -13,7 +13,7 @@ APP=test-app/image_v"$VERSION"_signed_and_encrypted.bin
|
|||
# Create test key
|
||||
echo -n "0123456789abcdef0123456789abcdef0123456789ab" > enc_key.der
|
||||
|
||||
$SIGN_TOOL --encrypt enc_key.der test-app/image.bin ecc256.der $VERSION
|
||||
$SIGN_TOOL --ecc256 --encrypt enc_key.der test-app/image.bin ecc256.der $VERSION
|
||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||
printf "pBOOT" >> update.bin
|
||||
|
|
|
@ -9,7 +9,7 @@ fi
|
|||
SIZE=131067
|
||||
VERSION=8
|
||||
APP=test-app/image_v"$VERSION"_signed.bin
|
||||
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
|
||||
$SIGN_TOOL --ecc256 test-app/image.bin ecc256.der $VERSION
|
||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||
printf "pBOOT" >> update.bin
|
||||
|
|
|
@ -9,7 +9,7 @@ fi
|
|||
SIZE=129019
|
||||
VERSION=8
|
||||
APP=test-app/image_v"$VERSION"_signed.bin
|
||||
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
|
||||
$SIGN_TOOL --sha256 --ecc256 test-app/image.bin ecc256.der $VERSION
|
||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||
printf "pBOOT" >> update.bin
|
||||
|
|
|
@ -9,7 +9,7 @@ fi
|
|||
SIZE=229371
|
||||
VERSION=8
|
||||
APP=test-app/image_v"$VERSION"_signed.bin
|
||||
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
|
||||
$SIGN_TOOL --ecc256 test-app/image.bin ecc256.der $VERSION
|
||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||
printf "pBOOT" >> update.bin
|
||||
|
|
Loading…
Reference in New Issue