Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[imx9 boot reason 4/4] Use PMIC registers to store bootmode information #886

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

t-salminen
Copy link

@t-salminen t-salminen commented Jan 31, 2025

PMIC WDOG_B pin is unused in current HW design.

Related configuration bits (WDOG_B_CFG) from PMIC RESET_CTRL register are borrowed for bootmode reason delivery.

boot normally: register has power on value
stay in bootloader: WDOG_B_CFG 11b

NOTE: I've observed the device goes occasionally to NXP flash / serial download mode after sending cold reset request to PMIC. The reason is unknown.

Corresponding bootloader functionality is needed for the complete functionality.

The full set of PRs:

@t-salminen t-salminen force-pushed the nxp93_pmic_reset_ctrl branch from 0ac3dcd to 7a75842 Compare January 31, 2025 11:28
WDOG_B pin is unused in current HW design. Related configuration bits
(WDOG_B_CFG) from PMIC RESET_CTRL register are borrowed for stay in
bootloader boot reason delivery.

-stay in bootloader: WDOG_B_CFG value 11b
-boot normally: PMIC register power on value

Signed-off-by: Tero Salminen <[email protected]>
@t-salminen t-salminen force-pushed the nxp93_pmic_reset_ctrl branch from 7a75842 to 10539e4 Compare January 31, 2025 13:03
@t-salminen
Copy link
Author

Submodules updated

@t-salminen t-salminen merged commit 2fdb28f into main Jan 31, 2025
27 checks passed
@t-salminen t-salminen deleted the nxp93_pmic_reset_ctrl branch January 31, 2025 14:03
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.

2 participants