Commit c8fa65b2 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

Merge branch 'ethernet' into 'master'

Use g_multi instead of g_serial to deliver Ethernet

See merge request !19
parents 9907d45a 90bd4a47
Pipeline #3911 passed with stages
in 4 minutes and 56 seconds
......@@ -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
Markdown is supported
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