Describe the issue
I have signed the bootloader and flashed it into the ESP32S3_Devkitm. Now I am trying to sign the Zephyr sample application of ADC using secure boot v2. I tried the following commands:
- esptool.py --chip esp32c3 -p /dev/ttyACM0 elf2image --pad-to-size 4KB --secure-pad-v2 ./build/zephyr.elf
- espsecure.py sign_data -v 2 -k ./secure_boot_signing_key.pem -o ./build/signed_zephyr.bin ./build/zephyr.bin
- esptool.py -p /dev/ttyACM0 --no-stub write_flash 0x20000 build/signed_zephyr.bin
The code is getting hanged. The logs are visible in the attached screenshot.
I do not have much clarity about the pad-to-size argument of the elf2image command. It would be constructive if I could get some insights to frame the commands.
Signing zephyr sample application using secure boot v2
Who is online
Users browsing this forum: Bing [Bot] and 270 guests