このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
hardware:raspberry_pi:usb_otg_ethernet_connection [2021/01/01 19:32] – ともやん | hardware:raspberry_pi:usb_otg_ethernet_connection [2021/01/01 20:22] (現在) – ともやん |
---|
====== USB OTG Ethernet 接続 ====== | ====== USB OTG Ethernet 接続 ====== |
USB OTG(On-the-Go) Ethernet として Raspberry Pi Zero WH を認識させるには、SD メモリーカードにある **cmdline.txt** を編集する。\\ | USB OTG(On-the-Go) Ethernet として Raspberry Pi Zero WH を認識させるには、SD メモリーカードにある <html><code>cmdline.txt</code></html> を編集する。\\ |
<WRAP prewrap 100% #mincode> | <WRAP prewrap 100% #mincode> |
<code autoconf /boot/cmdline.txt> | <code autoconf /boot/cmdline.txt> |
console=serial0,115200 console=tty1 root=PARTUUID=d9b3f436-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles | console=serial0,115200 console=tty1 root=PARTUUID=067e19d7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh |
</code> | </code> |
**rootwait** の後に **modules-load=dwc2,g_ether** を追記する。\\ | <html><code>rootwait</code></html> の後に <html><code>modules-load=dwc2,g_ether</code></html> を追記する。\\ |
<code autoconf /boot/cmdline.txt> | <code autoconf /boot/cmdline.txt> |
console=serial0,115200 console=tty1 root=PARTUUID=d9b3f436-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet splash plymouth.ignore-serial-consoles | console=serial0,115200 console=tty1 root=PARTUUID=067e19d7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet init=/usr/lib/raspi-config/init_resize.sh |
</code> | </code> |
</WRAP> | </WRAP> |