Commit c8fa65b2 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

Merge branch 'ethernet' into 'master'

Use g_multi instead of g_serial to deliver Ethernet

See merge request Librem5/librem5-devkit-tools!19
parents 9907d45a 90bd4a47
......@@ -21,6 +21,8 @@ case "$1" in
# Enable serial console over USB
systemctl enable serial-getty@ttyGS0
# Mass storage is required for Ethernet+serial over USB via g_multi
truncate -s 1M /var/lib/mass_storage_dummy
options g_multi file=/var/lib/mass_storage_dummy stall=0
# Redpine WIFI module
options rsi_91x dev_oper_mode=13 rsi_zone_enabled=1
blacklist rsi_sdio
# Serial console over USB
# Serial console and Ethernet over USB (plus dummy mass storage)
allow-hotplug usb0
iface usb0 inet dhcp
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment