Skip to content

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

Closed
gustavosr8 wants to merge 2 commits intomasterfrom
log-serial
Closed

Add script to write the serial print into a log file.#227
gustavosr8 wants to merge 2 commits intomasterfrom
log-serial

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
@augustofg augustofg deleted the log-serial branch May 27, 2025 17:58
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