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

init-flash.sh: Handle missing UDC initialization #1676

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

paroque28
Copy link
Contributor

This update adds a check for a missing UDC (USB Device Controller) variable to prevent errors related to uninitialized or absent UDCs, stopping the execution of the boot process if none is found.

A missing UDC can result from various issues, such as an incorrect Device Tree Blob (DTB) configuration or misconfigured power regulators. By exiting early with a clear error message, this change helps diagnose and address the root cause more effectively.

@madisongh
Copy link
Member

Thanks @paroque28 ... can you add a signed-off-by to the commit, per our contributing guidelines?

This update adds a check for a missing UDC (USB Device Controller) variable to prevent errors related to uninitialized or absent UDCs, stopping the execution of the boot process if none is found.

A missing UDC can result from various issues, such as an incorrect Device Tree Blob (DTB) configuration or misconfigured power regulators. By exiting early with a clear error message, this change helps diagnose and address the root cause more effectively.

Signed-off-by: Pablo Rodriguez Quesada <[email protected]>
@paroque28
Copy link
Contributor Author

@madisongh sorry for the delay. Done!

@madisongh madisongh merged commit 3fdf6ce into OE4T:master Oct 8, 2024
2 checks passed
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