-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve serial symlink (/dev/serial<n>) creation
The kernel change that sets UART indexes based on Device Tree aliases gives predictable UART /dev/tty* names but has the potential to break our downstream use for determining which UART is the console ("serial0") and which is for Blueooth ("serial1"). Instead we use the "console" and "bluetooth" aliases respectively. As a bonus, the improved console matching (based on /sys/class/tty entries) also allows us to handle all UARTs with one rule.
- Loading branch information
Showing
1 changed file
with
18 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters