
On 28/12/17 17:54, Breno Matheus Lima wrote:
Hi Bryan,
2017-12-27 10:25 GMT-02:00 Bryan O'Donoghue bryan.odonoghue@linaro.org:
This patchset updates the i.MX HAB layer in u-boot to fix a list of identified issues and then to add and extend existing functionality.
The first block of patches 0001-0006 deal with fixing existing code,
- Fixes indentation
- Fixes the treatment of input parameters to hab_auth_image.
The second block of patches 0007-0013 are about tidying up the HAB code
- Remove reliance on hard-coding to specific offsets
- IVT header drives locating CSF
- Continue to support existing boards
Patches 0014 onwards extend out the HAB functionality.
- hab_rvt_check_target is a recommended check in the NXP documents to perform prior to hab_rvt_authenticate_image
- hab_rvt_failsafe is a useful function to set the board into BootROM USB recovery mode.
Bryan O'Donoghue (23): arm: imx: hab: Make authenticate_image return int arm: imx: hab: Fix authenticate_image result code arm: imx: hab: Optimise flow of authenticate_image on is_enabled fail arm: imx: hab: Optimise flow of authenticate_image on hab_entry fail arm: imx: hab: Fix authenticate_image input parameters
After applying "[PATCH 05/23] arm: imx: hab: Fix authenticate_image input parameters" I'm getting the following error when building mx6sabreauto:
That's funny. I just build mx6sabreauto_config + CONFIG_SECURE_BOOT and it works.
I'll rebase and build each patch incrementally - obviously there's some breakage with your configuration.
Thanks for testing