mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-09 04:13:52 +00:00
gadget init: don't dump info to info.txt on boot
This script adds ~10s to the boot time, doesn't have error checking and prevents loading the storage gadget 3 out of 10 times. Remove it from ExecStartPre to get a fast, consistent boot. The functionality should be moved to bone101. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
edc2621fac
commit
ed29286f2b
@@ -1,6 +1,6 @@
|
||||
DESCRIPTION = "Units to initialize usb gadgets"
|
||||
|
||||
PR = "r18"
|
||||
PR = "r19"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
||||
|
||||
@@ -4,7 +4,6 @@ After=dev-mmcblk0p1.device
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=yes
|
||||
ExecStartPre=/usr/bin/update-image-info-on-mmcblk0p1.sh
|
||||
ExecStart=/sbin/modprobe g_mass_storage file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1
|
||||
ExecStop=/sbin/rmmod g_mass_storage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user