USB Ethernet not starting after flashing image to eMMC

I have been maintaining an up to data Ubuntu 14.04.1 image and TI kernel on an SD card
then flashing to the eMMC using bbb-eMMC-flasher-eewiki-ext4.sh

Now when I do this the Bone appears not to have USB ethernet after rebooting to eMMC,
am pretty sure this has worked previously. Booting from SD card and USB ethernet starts fine.
Bote that bone is actually booting OK from eMMC as can connect via wired ethernet.

Any ideas what is happening here?

Thanks.

That's expected... You ran "bbb-eMMC-flasher-eewiki-ext4.sh" which
creates a 'single' ext4 partition.

The g_multi driver only works with two or more partitions, thus the
logic just enables g_serial in that situation:

https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L84

under: /opt/scripts/boot/am335x_evm.sh

Regards,

All is now clear Thanks.

Just a quick update. On the latest Ubuntu 14.04 image (2015-05-08) the init script loads g_ether
instead of g_multi as it detects only a single partition configuration. However as udhcpd (aka busybox)
is not installed on the default image the host cannot DHCP the address of the usb/ethernet interface
(you see the ethXX device but without an IPv4 address). Installing udhcpd makes everything work - might
be worth adding to default image so works “out of the box” ?

This was fixed in "2015-06-11"...

if [ -f /usr/sbin/udhcpd ] || [ -f /usr/sbin/dnsmasq ] ; then
       modprobe g_ether <details>
else
       modprobe g_serial || true
fi

cd /opt/scripts/
git pull

To get those changes..

Regards,

This issue is that the image is missing /usr/sbin/udhcpd. It has /usr/sbin/dnsmasq which causes
g_ether to load, but doesn’t work properly without /usr/sbin/udhcpd.

Cheers Steve.