fdcavalcanti opened a new pull request, #3200:
URL: https://github.com/apache/nuttx-apps/pull/3200

   ## Summary
   
   - boot/mcuboot: update MCUBoot version
   Updates default MCUBoot hash.
   
   This PR updates the default hash for MCUBoot.
   
   ## Impact
   
   - Impact on user: No.
   - Impact on build: No.
   - Impact on hardware: No.
   - Impact on documentation: No.
   - Impact on security: No.
   - Impact on compatibility: No.
   
   ## Testing
   Tested with mcuboot_update_agent defconfig of ESP32.
   
   ### Building
   Build the mcuboot_update_agent defconfig or use SD card to locally run an 
update.
   Tested with and without flash encryption.
   
   -  ./tools/configure.sh esp32-devkitc:mcuboot_update_agent
   - Enable EXAMPLES_MCUBOOT_LOCAL_AGENT and add SD Card support (this also 
works the same on OTA).
   - make and flash
   
   After flashing, change target slot to slot 1 and build again. Then, I moved 
the new binary a SD Card and mounted to /mnt.
   Used to SD Card update app.
   
   ### Results
   ```
   nsh> mcuboot_local_agent /mnt/nuttx.bin
   MCUBoot Local Update Agent
   Firmware file: /mnt/nuttx.bin
   Firmware file size: 1048576 bytes
   Erasing secondary flash slot...
   Progress: 4096/1048576 bytes [0%]
   Progress: 8192/1048576 bytes [0%]
   Progress: 12288/1048576 bytes [1%]
   Progress: 16384/1048576 bytes [1%]
   ....
   Firmware copy completed successfully!
   Firmware successfully copied to secondary slot!
   Update scheduled for next boot. Restarting...
   reboot status=0
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to