LoginSignup
1
2

More than 5 years have passed since last update.

Raspberry Pi Zero W setup memo

Last updated at Posted at 2019-03-01

Raspberry Pi Zero W を USB ケーブル一本だけ PC と繋いで使う方法メモ。

dwc2 overlay で OTG で使えるようになった USB ポートのシリアルは g_serial で、/dev/ttyGS0 として見えるようになる。これに getty を割り付ければログインできるようになる。

  • dtoverlay=dwc2 を /boot/config.txt に
  • modules-load=dwc2,g_serial を /boot/cmdline.txt に
  • systemctl enable getty@ttyGS0.service を chroot して実行

余談:

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2