Skip to content

Commit 3963d3c

Browse files
committed
hook: handle /dev/ttyS2 console
- Rockchip uses ttyS2 as debug console by default on mainline Signed-off-by: Ricardo Pardini <[email protected]>
1 parent 3ec22df commit 3963d3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

linuxkit-templates/hook.template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ services:
124124
major: 4
125125
minor: 65
126126
mode: "0666"
127+
- path: "/dev/ttyS2"
128+
type: c
129+
major: 4
130+
minor: 66
131+
mode: "0666"
127132
- path: "/dev/ttyAMA0"
128133
type: c
129134
major: 204
@@ -284,6 +289,7 @@ files:
284289
hvc0
285290
ttyS0
286291
ttyS1
292+
ttyS2
287293
ttyAMA0
288294
ttyAMA1
289295
ttyAML0

0 commit comments

Comments
 (0)