Commit 31a7aeba authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz Committed by Guido Gunther
Browse files

USB gadget: Drop g_multi

parent 4d92d5d8
Pipeline #70417 passed with stages
in 2 minutes and 10 seconds
...@@ -21,8 +21,11 @@ case "$1" in ...@@ -21,8 +21,11 @@ case "$1" in
configure) configure)
# Enable serial console over USB # Enable serial console over USB
systemctl enable serial-getty@ttyGS0 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 # Mass storage is no longer required for Ethernet+serial over USB via g_multi
if md5sum /var/lib/mass_storage_dummy | grep -qs '^b6d81b360a5672d80c27430f39153e2c '; then
rm /var/lib/mass_storage_dummy
fi
if [ -z "$2" ]; then if [ -z "$2" ]; then
echo "Initial install, linking shipment script" echo "Initial install, linking shipment script"
......
options g_multi file=/var/lib/mass_storage_dummy stall=0
# blacklist mainline driver (rsi): # blacklist mainline driver (rsi):
blacklist rsi_91x blacklist rsi_91x
blacklist rsi_sdio blacklist rsi_sdio
......
# Serial console and Ethernet over USB (plus dummy mass storage)
g_multi
# Make it simple to blink leds # Make it simple to blink leds
ledtrig-timer ledtrig-timer
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