Hi @ciaran_lequeux,
I hope you are doing well.
It seems to be expected behavior.
Please refer to /arch/arm/mach-imx/hab.c
imx_hab_authenticate_image() calls get_hab_status(), which prints all HAB events (including previous), which can only be cleared by restarting the board.
ROM/HAB allocates certain memory regions in Internal RAM (OCRAM) for HAB logs. This space is marked as reserved in the Internal RAM memory map and must not be edited. This memory region is called HAB persistent memory. It contains events and other HAB process-related information.
This space should not be cleared by software.
It can only be cleared by resetting.
Please correctly sign the bad/corrupted image.
Please share commands used to verify images and HAB event output in each case for further debugging.
Thanks & Regards,
Dhruvit Vasavada