Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@ case "$1" in
configure)
# 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
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
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
g_serial
# Serial console and Ethernet over USB (plus dummy mass storage)
g_multi
allow-hotplug usb0
iface usb0 inet dhcp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment