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>
gadget-init: create info.txt upon starting storage gadget This creates a file called info.txt that saves some useful information for image versioning, network connectivity and beginner user debugging. Signed-off-by: Jason Kridner <jdk@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
udhcpd: Fixes and new udev rule This moves the logic to configure and start dhcp to a udev rule which is a better place than a systemd service Also fixes a bug where stopping and starting network service would cause dhcp to fail. Signed-off-by: Joel A Fernandes <joelagnel@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
gadget-init: Add network-gadget services and other fixes * Add rule to start network-gadget when mass storage is ejected * Add network-gadget-init service and scripts to switch to g_ether * Add DHCP service / conf * Update to storage-gadget: rmmod on stop v2 changes: * Fix g-ether MAC address by reading from mac_id * Split into multiple packages Signed-off-by: Joel A Fernandes <joelagnel@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
gadget-init: add in latest batch of workarounds Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>