TI中文支持网
TI专业的中文技术问题搜集分享网站

AM3358: debug console 輸入或貼上過長的指令, 螢幕無法自動換行.

Part Number:AM3358

Hi 各位專家:

你好, 想請教 我在am3358 的 debug consle 上面輸入超過61個字元後, console 並不會新增下一行, 而是同一行覆蓋之前的文字

在同一個條件下我在非TI AM3358的板子上並不會有這樣的問題. 讓我再輸入指令的時候十分的困擾

想請問專家可以解答一下我該如何讓他自動換行

感謝

Shine:

请问使用的是最新的processor SDK吗?https://www.ti.com/tool/PROCESSOR-SDK-AM335X

,

YiFong Lin:

你好 感謝你的回覆

我在ti-processor-sdk-linux-am335x-evm-08.02.00.24 上運作 也有這樣的問題.在u-boot 的時候會自動換行

但是進入到kernel 後console 就不會自動換行

謝謝

,

Shine:

请问同样的ti-processor-sdk-linux-am335x-evm-08.02.00.24 kernel在非TI AM3358的板子上是可以换行的,但是在TI的EVM板上不能换行是吗?请问用的是哪块EVM板?

,

YiFong Lin:

你好 非TI AM3358 的板子 kernel 並不是ti-processor-sdk-linux-am335x-evm-08.02.00.24 我只是想陳述我的console 環境應該是沒問題的

而在TI 的板子上 我運行ti-processor-sdk-linux-am335x-evm-08.02.00.24 在 AM3358 GP EVM 是無法換行的

我使用ti-processor-sdk-linux-am335x-evm-08.02.00.24

並無做任何kernel 的修改並燒錄官方預設rootfs (tisdk-default-image-am335x-evm.tar.xz)

謝謝您的回覆

,

Shine:

请看下面e2e工程师的回复。Can you have them echo the value of "$COLUMNS" in both of these environments? Certain combinations of terminal emulators and serial monitors can misbehave and potentially misreport / ignore certain terminal standards.https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1269805/am3358-debug-console-not-start-a-new-line

,

YiFong Lin:

謝謝你, 我已針對該回復作答 Slight smile

,

Shine:

不客气~

YiFong Lin said:我已針對該回復作答

感谢

,

Shine:

请看下面e2e工程师最新的回复。

This is because by default our terminal uses the settings transmitted by the serial console to initialize line and column count (often referred to as terminal geometry). This is expected default behavior for most modern terminals, however serial terminals are a little special. They respect the initialization but there is no way to transmit resize events. As such, if you resize there terminal emulator window you will need to reissue the "resize" command to reload terminal geometry.

The discrepancy comes from some vendors choosing to lock the serial console geometry to an older standard like 80×23. In which case you're fine until you resize the window smaller than that. (If you're curious about how terminal resize events work please see the following: https://www.gnu.org/software/libc/manual/html_node/Miscellaneous-Signals.html). Unfortunately there's really not a nice, standard solution to this currently.

赞(0)
未经允许不得转载:TI中文支持网 » AM3358: debug console 輸入或貼上過長的指令, 螢幕無法自動換行.
分享到: 更多 (0)