File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 7474
7575 - name : Generate
7676 run : |
77+ mkdir -p ./keys
78+ cp lib/zephyr-workspace/bootloader/mcuboot/root-rsa-2048.pem ./keys/proves.pem
7779 make generate
7880
7981 - name : Set Authentication Key
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ CONFIG_FAT_FILESYSTEM_ELM=y
6969CONFIG_FS_FATFS_EXFAT=y
7070CONFIG_FS_FATFS_MOUNT_MKFS=y
7171CONFIG_FS_FATFS_FSTAB_AUTOMOUNT=y
72- CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="lib/zephyr-workspace/bootloader/mcuboot/root-rsa-2048 .pem"
72+ CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="keys/proves .pem"
7373
7474CONFIG_HAPTICS=y
7575CONFIG_HAPTICS_DRV2605=y
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ ROOT=" $( cd $( dirname $BASH_SOURCE ) /../..; pwd) "
3+
4+ mkdir -p " ${ROOT} /keys"
5+
6+ imgtool keygen -k " ${ROOT} /keys/proves.pem" -t rsa-2048
7+ imgtool getpub -k " ${ROOT} /keys/proves.pem" > " ${ROOT} /keys/proves.pub.pem"
You can’t perform that action at this time.
0 commit comments