| commit | 2032f3d1ec21156c8c3fc81011093b81ad3a3a13 | [log] [tgz] |
|---|---|---|
| author | Dan Zhang <zhdaniel@google.com> | Sun Jul 07 05:02:46 2024 +0000 |
| committer | Dan Zhang <zhdaniel@google.com> | Thu Jul 25 21:31:02 2024 +0000 |
| tree | 9e6f31e1ccdcd273572f843513047a69738cede1 | |
| parent | 226f47ccc1ddb479dcfa40be52e482f577a1f02a [diff] |
ttf-console: ttf-console.sh took logical port name
Megapede cache product machine add SerialInterface for ttf-console
as Hydra, only can provide an integer as port_number.
So we did not use node entity tag name, but define a logical port name,
with the naming schema as port-{port_number}
Tested:
bitbake obmc-console
copy the ttf-console.sh and ttf-console.list to bmc and test
```
root@mvt19-nfd11:~# /tmp/ttf-console.sh
Usage: /tmp/ttf-console.sh <port-name>
Support port:
port-2
port-1
root@mvt19-nfd11:~# /tmp/ttf-console.sh port-1
...
mvt19-n1 login:
```
change only effect ARM
http://fusion2/ci/kokoro/prod%3Agbmc%2Ffirmware-build%2Ffirmware%2Fgerrit_upstreamed_platforms/activity/fa9170e7-57cd-4a04-8964-2c61c827790c
Google-Bug-Id: 330925899
Change-Id: I70a16e7eac5ecf17b2b906564bf800f92c66d988
Signed-off-by: Dan Zhang <zhdaniel@google.com>