因为没有HDMI的显示器,总之就是没有显示器来显示,想起RPi上有TXD
和RXD
加上手头上刚好有一个usb to ttl
。
驱动下载地址: PL2303 Mac OS X Driver Download
如果不是对最新版本有强迫症的话,
安装文件: md_PL2303_MacOSX-10.6up_v1.5.1.zip
安装完后重启系统
这里用到的串口工作是screen
brew install screen
或者
sudo port install screen
然后连接Raspberry Pi
可参考这篇文章 RPi Serial Connection
接着把我们TTL
板子上的
GND->Groud
RXD->GPIO 14(TXD)
TXD->GPIO 15(RXD)
!注意:TXD连接的是RXD
,不要接成一样的
进行串口通讯
screen /dev/tty.usbserial 115200
接着我们就可以看到系统启动了,要我们输入用户名和密码
Raspbian GNU/Linux 7 raspberrypi ttyAMA0
raspberrypi login: pi
Password:
Last login: Sat Apr 26 05:58:07 UTC 2014 on ttyAMA0
Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
ls
NOTICE: the software on this Raspberry Pi has not been fully configured. Please run 'sudo raspi-config'
然后
sudo raspi-config
选择第一个,下面就可以继续了
Expand Filesystem Ensures that all of the SD card s
重启完,目测好像新版的raspberry pi带有openssh-server
围观我的Github Idea墙, 也许,你会遇到心仪的项目