Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Serial debugging commands commonly used in shell

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to use the serial debugging commands commonly used in shell. I hope you will get something after reading this article. Let's discuss it together.

How to view print information

As for viewing the contents of the print message, you should be familiar with the code. In fact, if you plug in the power supply and have content output, it means that you are powered on. Where other programs go is judged by the log put in the code. This platform is different. I can't talk about it in detail.

Take an example.

The picture above shows that it is powered on, but this is not the case for other platforms.

This log indicates that you need to press the remote control to turn on the power on the standby machine, which is judged by the code, but not on other platforms. It is impossible to say that it depends on the code.

Some useful commands

Input reboot recovery in serial port

You will enter the following interface, which is very helpful for you to recover the machine.

Generally speaking, if you can't brush the U disk, you need to empty the user information first or restore the factory version before brushing will solve most of the problems that cannot be brushed.

It is recommended to restore the factory version with the method of power on + ch+, and if not, use the above command to enter the interface and then use the remote control to operate, such as emptying user data or restoring the factory version.

If you want to brush the machine, it involves the method of making a master, which is too complicated for you, so that you can at least catch the log and recover most of the things that cannot be cleaned through the above interface. We have to analyze and deal with the rest through the code, which you are not suitable to do.

Through logcat-v threadtime, we can catch the logs we need for research and development, which is very important.

Under the uboot command line, make the bin on the u disk brush again.

This method must have a U disk and have a corresponding bin package in it, which is plugged into the TV.

Sometimes there is a problem with the U disk brushing machine, and the reboot recovery command can not get in. You can plug in the power supply and hold down the enter key of the computer to enter the uboot command line mode, as shown in the figure:

Then enter cu to return to the brush machine, if you enter cu still can not brush the machine.

On the 638 platform, you can also enter the following command combination brushing machine (this command will be different on other platforms depending on what attributes are used to control the brushing machine in this platform)

Setenv PPTV_UsbUpgradeCRC_Val 0

Saveen

Reset

How to brush on the brush, can not brush the need for research and development analysis with other tools brush bootloader re-brush machine, the process is too complex, not suitable for non-R & D personnel to operate.

After reading this article, I believe you have a certain understanding of "how to use serial port debugging commands commonly used in shell". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report