【发布时间】:2018-05-20 18:21:03
【问题描述】:
看起来要么我迷失了如何用谷歌搜索答案的技能,要么错过了配置中太明显的选项。无论如何,我有一个适用于 x86 的 U-Boot 最新版本,它可以在命令提示符下运行,不幸的是我无法输入任何内容。
向 ns16550 驱动程序的 getc() 添加了调试打印显示输入确实存在,但如果我正确键入并按 Enter 键,屏幕上没有回显,也没有实际执行命令。
fdtdec_get_config_string: bootcmd
fdtdec_get_config_int: bootsecure
fdtdec_get_int: bootsecure: (not found)
=> getc() d
getc() d
getc() 70
getc() 72
getc() 69
getc() 6e
getc() 74
getc() 65
getc() 6e
getc() 76
getc() d
(它有Enter、Enter和printenv + Enter)
只有串口,无法切换。
【问题讨论】:
标签: x86 serial-port device-driver u-boot