-
- download "Com by TCP"
- https://sourceforge.net/projects/combytcp/
- Windows Guest (Target): We have to run the following commands in the cmd.exe, which has to be started as Administrator to give us enough permissions.
- bcdedit /set debug on
- bcdedit /set debugtype serial
- bcdedit /set debugport 1
- bcdedit /set baudrate 115200
- bcdedit /set {bootmgr} displaybootmenu yes
- bcdedit /timeout 10
- How to debug:
- Windows host
- Launch "Com by TCP", select any one port from the "Virtual Port Pair" above, for example COM8. Fill the Com properties as below then click "Get Com".
- Fill the SOS IP address and port, click "Client".
- Launch WinDbg, File->Kernel Debug…, fill the port using the peer of the port configured in "Com by TCP", for example, com9
- SOS
- Launch Guest/UOS windows
- qemu: add "-serial tcp::9090,server,nowait" to command line
- acrn-dm: add "-l comX,tcp:9090" to acrn-dm command line, where X can be 1 or 2, depending on which port is configured as the debugport above.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)