ECE497 Notes on systemd

Revision as of 22:27, 12 July 2012 by Yoder (Talk | contribs)

Jump to: navigation, search

thumb‎ Embedded Linux Class by Mark A. Yoder

The new BeagleImages use systemd for user space initialization.

Here, here and here are some tutorials that look good.

Here is information on runlevels.

Here is a nice list of useful commands.

Tips and Tricks


I found these gadgets

network-gadget-init.service  storage-gadget-init.service



is what creates the info.txt file.

beagle$ mount /dev/mmcblk0p1 /mnt

Here's a way to see what gadgets are out there

beagle$ systemctl --all | grep gadget loaded active   plugged       /sys/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/net/usb0
network-...t-init.service loaded active   exited        Start USB Ethernet gadget
storage-...t-init.service loaded inactive dead          Start usb mass storage gadget
udhcpd.service            loaded active   running       DHCP server for USB0 network gadget


network-...t-init.service = network-gadget-init.service
storage-...t-init.service = storage-gadget-init.service

/etc/udhcpd.conf is what assigned to the host computer.

To stop the ethernet over USB and start the storage over USB

beagle$ /bin/systemctl stop  storage-gadget-init.service
beagle$ /bin/systemctl start network-gadget-init.service

To go the other way:


thumb‎ Embedded Linux Class by Mark A. Yoder