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

Enable PMIC WDT on Xavier NX SD #254

Merged
4 commits merged into from
Feb 3, 2022
Merged

Enable PMIC WDT on Xavier NX SD #254

4 commits merged into from
Feb 3, 2022

Conversation

acostach
Copy link
Contributor

@acostach acostach commented Feb 2, 2022

We do so to overcome a very sporadic hang in cboot 32.6.1 which appears
to happen sometimes when cboot cannot detect partition on the SD-CARD.

This appears to happen very seldom, right after a reboot, thus we enable
PMIC WDT to reboot the device in this case.

Connects-to: OE4T/meta-tegra#891 (comment)

Cboot 32.6.1 may exhibit a sporadic hang during boot,
and the only to get out of this state is to eiter power
cycle the device manually or have the PMIC WDT enabled instead
of Tegra WDT. The sporadic hang is caused by cboot not
finding any partitions on the sd-card, and this seems
to happen right after a reboot, but very infrequently, and only
on the sd-card version of the device.

We enable the PMIC watchdog via ODMDATA on this particular
device.

Signed-off-by: Alexandru Costache <[email protected]>
Changelog-entry: tegra-boot-tools: Fix typo in comment
Signed-off-by: Alexandru Costache <[email protected]>
The NX SD may present a sporadic hang in cboot during reboot.
To avoid this hang, upstream recommends enabling the PMIC
WDT (trough ODMDATA).

We also need to disable the Tegra WDT module, otherwise
the device will reboot once systemd opens the watchdog
device.

Signed-off-by: Alexandru Costache <[email protected]>
@acostach
Copy link
Contributor Author

acostach commented Feb 3, 2022

@resin-jenkins test this please

@acostach
Copy link
Contributor Author

acostach commented Feb 3, 2022

@balena-ci I self-certify!

@ghost ghost merged commit 699babf into master Feb 3, 2022
@ghost ghost deleted the fix_nx_sd_cboot_hang_wdt branch February 3, 2022 09:24
This pull request was closed.
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.

1 participant