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>
(cherry picked from commit ff2ed81f9da38484a5d726621ebf351afb94d92e)
Signed-off-by: Dan Zhang <zhdaniel@google.com>
2 files changed