1、打开SD卡根目录"config.txt"文件,文末增加dtoverlay=pi3-miniuart-bt并且保存 ;
2、修改根目录"cmdline.txt",清空原内容,增加 dwc_otg.lpm_enable=0 console=tty1 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait并且保存。
3、重启树莓派,即可用串口进行登录。通信参数 1115200、8、N、1