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

Add script to write the serial print into a log file. #227

Closed
wants to merge 2 commits into from

Conversation

gustavosr8
Copy link
Contributor

No description provided.

@gustavosr8 gustavosr8 requested a review from augustofg February 5, 2025 20:00
@gustavosr8 gustavosr8 self-assigned this Feb 5, 2025
@gustavosr8 gustavosr8 force-pushed the log-serial branch 3 times, most recently from bb812c2 to a3e00cb Compare February 7, 2025 12:53
@gustavosr8 gustavosr8 requested a review from augustofg February 13, 2025 18:55
Description=Serial Logger Service

[Service]
ExecStart=/usr/local/bin/log-serial.py /var/log/openmmc-serial.log /dev/serial/by-id/%i
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The log file should also be parametrized with %i

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we should add usage of disable-jtag somewhere, right? Or since it doesn't work, should we avoid merging it for now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, IDK how to deal with this situation... disable-jtag does what we expect, but the behavior isn't what we expect due to a hardware bug. Since the problem is not in the software layer, should we also merge it and include its usage since it is implemented correctly, or should we avoid it since the final behavior will not be the expected one?

@gustavosr8
Copy link
Contributor Author

moved to lnls-dig/bpm-app#36

@gustavosr8 gustavosr8 closed this Mar 6, 2025
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