Skip to content

Conversation

@dgarske
Copy link
Contributor

@dgarske dgarske commented Jan 23, 2026

  1. Fix DEBUG_UART not disabled before jumping to application

Added LPUART_CTRL = 0; in hal_prepare_boot() to disable the UART controller before jumping to the application. Previously, only the TX completion was waited for, leaving the UART in an initialized state that could interfere with the application's UART reinitialization.

  1. Fix SIGN=NONE compile error with keystore functions

When building with SIGN=NONE, the test-app failed to link due to undefined keystore references. Fixed by:

Wrapping keystore function calls in app_s32k1xx.c with #ifndef WOLFBOOT_NO_SIGN
Making keystore.o conditional in the test-app Makefile (ifneq ($(SIGN),NONE))

  1. Add --trigger-magic option to flash script

Added --trigger-magic flag to nxp-s32k142-flash.sh for use with --test-update. This automatically includes the "pBOOT" trigger magic bytes at the end of the update partition, causing the update to start automatically on first boot (matching behavior of other ports like nrf5340 and va416x0).

Usage: ./tools/scripts/nxp-s32k142-flash.sh --test-update --trigger-magic

@dgarske dgarske assigned dgarske, danielinux and wolfSSL-Bot and unassigned dgarske Jan 23, 2026
@dgarske dgarske requested a review from danielinux January 23, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants