Skip to contentSkip to conversation

ARM: exynos_defconfig: Enable DWC2 USB driver and USB ethernet gadget

PATCH In review Marek Szyprowski 3 participants 9 messages Aug 18, 2015 – Oct 1, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: exynos_defconfig: Enable DWC2 USB driver and USB ethernet gadget

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

---
 arch/arm/configs/exynos_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/exynos_defconfig +2 -0
index 1ff2bfa..729e2fa 100644
@@ -158,8 +158,10 @@ CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_EXYNOS=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_DWC3=y
+CONFIG_USB_DWC2=y
 CONFIG_USB_HSIC_USB3503=y
 CONFIG_USB_GADGET=y
+CONFIG_USB_ETH=y
 CONFIG_MMC=y
 CONFIG_MMC_BLOCK_MINORS=16
 CONFIG_MMC_SDHCI=y
Signature · 1 line
1.9.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

---
 arch/arm/configs/exynos_defconfig | 2 ++
 1 file changed, 2 insertions(+)

That was my plan as well :)

Can you send similar patch for multi_v7?

Best regards,
Krzysztof

Quoted 17 lines
arch/arm/configs/exynos_defconfig +2 -0
index 1ff2bfa..729e2fa 100644
@@ -158,8 +158,10 @@ CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_EXYNOS=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_DWC3=y
+CONFIG_USB_DWC2=y
 CONFIG_USB_HSIC_USB3503=y
 CONFIG_USB_GADGET=y
+CONFIG_USB_ETH=y
 CONFIG_MMC=y
 CONFIG_MMC_BLOCK_MINORS=16
 CONFIG_MMC_SDHCI=y
#2 lore raw

Hi Marek/Krzysztof,

Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig. I went ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

Cheers,

Tyler
[1] http://kernelci.org/boot/?next-20150825&exynos_defconfig&fail
[2] http://hastebin.com/otafedoxig.vala
[3] http://kernelci.org/boot/?next-20150821&exynos_defconfig
[4] http://storage.kernelci.org/next/next-20150825/arm-exynos_defconfig/lab-khilman/boot-exynos5250-arndale.html
[5] http://storage.kernelci.org/next/next-20150821/arm-exynos_defconfig/lab-khilman/boot-exynos5250-arndale.html

#3 lore raw
Quoted 11 lines · Tyler Baker

Hi Marek/Krzysztof,

Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig.

I noticed the issue too but I fought it was a temporary network problem. Apparently it's not temporary. :)

Quoted 6 lines

I went
ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the

Quoted 8 lines

exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

I don't have such problem on my Odroid XU3 which also performs netboot (Arch ARM Linux):

netboot=tftpboot 0x40008000 zImage; tftpboot 0x44000000 exynos5422-odroidxu3-lite.dtb; bootz 0x40008000 - 0x44000000

TFTP from server 192.168.1.10; our IP address is 192.168.1.11

[    0.000000] Kernel command line: console=tty1

console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend smsc95xx.macaddr=00:1e:06:61:7a:93

Do you have anything connected to USB ports of the devices?

For example on boot-exynos5250-arndale.html I see:

[    2.792934] using random self ethernet address
[    2.797209] using random host ethernet address
[    2.802244] usb0: HOST MAC 46:52:cf:b5:0f:e8
[    2.805923] usb0: MAC a2:04:5d:a6:2c:fa
[    2.809720] using random self ethernet address
[    2.814137] using random host ethernet address
[    2.818599] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.825159] g_ether gadget: g_ether ready

It looks like that's the difference.

Best regards,
Krzysztof

Quoted 10 lines

Cheers,

Tyler
[1] http://kernelci.org/boot/?next-20150825&exynos_defconfig&fail
[2] http://hastebin.com/otafedoxig.vala
[3] http://kernelci.org/boot/?next-20150821&exynos_defconfig
[4] http://storage.kernelci.org/next/next-20150825/arm-exynos_defconfig/lab-khilman/boot-exynos5250-arndale.html
[5] http://storage.kernelci.org/next/next-20150821/arm-exynos_defconfig/lab-khilman/boot-exynos5250-arndale.html

#4 lore raw

Hi Krzysztof,

Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Tyler Baker

Hi Marek/Krzysztof,

Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig.

I noticed the issue too but I fought it was a temporary network problem. Apparently it's not temporary. :)

I thought the same as well :)

Quoted 16 lines
Quoted 15 lines

I went
ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

Quoted 2 lines

I don't have such problem on my Odroid XU3 which also performs netboot (Arch ARM Linux):

Doh. I just realized the odroid-u3 is failing not the odroid-xu3, sorry for the confusion!

Quoted 11 lines

netboot=tftpboot 0x40008000 zImage; tftpboot 0x44000000 exynos5422-odroidxu3-lite.dtb; bootz 0x40008000 - 0x44000000

TFTP from server 192.168.1.10; our IP address is 192.168.1.11

[    0.000000] Kernel command line: console=tty1

console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend smsc95xx.macaddr=00:1e:06:61:7a:93

Do you have anything connected to USB ports of the devices?

Nope, nothing connected to the USB ports in my lab.

Quoted 11 lines

For example on boot-exynos5250-arndale.html I see:

[    2.792934] using random self ethernet address
[    2.797209] using random host ethernet address
[    2.802244] usb0: HOST MAC 46:52:cf:b5:0f:e8
[    2.805923] usb0: MAC a2:04:5d:a6:2c:fa
[    2.809720] using random self ethernet address
[    2.814137] using random host ethernet address
[    2.818599] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.825159] g_ether gadget: g_ether ready

It looks like that's the difference.

Agreed

Cheers,

Tyler

#5 lore raw
Quoted 48 lines · Tyler Baker

Hi Krzysztof,

Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Tyler Baker

Hi Marek/Krzysztof,

Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig.

I noticed the issue too but I fought it was a temporary network problem. Apparently it's not temporary. :)

I thought the same as well :)

Quoted 16 lines
Quoted 15 lines

I went
ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

Quoted 2 lines

I don't have such problem on my Odroid XU3 which also performs netboot (Arch ARM Linux):

Doh. I just realized the odroid-u3 is failing not the odroid-xu3, sorry for the confusion!

Quoted 5 lines

netboot=tftpboot 0x40008000 zImage; tftpboot 0x44000000 exynos5422-odroidxu3-lite.dtb; bootz 0x40008000 - 0x44000000

TFTP from server 192.168.1.10; our IP address is 192.168.1.11

Quoted 20 lines
Quoted 6 lines
[    0.000000] Kernel command line: console=tty1

console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend smsc95xx.macaddr=00:1e:06:61:7a:93

Do you have anything connected to USB ports of the devices?

Nope, nothing connected to the USB ports in my lab.

Quoted 11 lines

For example on boot-exynos5250-arndale.html I see:

[    2.792934] using random self ethernet address
[    2.797209] using random host ethernet address
[    2.802244] usb0: HOST MAC 46:52:cf:b5:0f:e8
[    2.805923] usb0: MAC a2:04:5d:a6:2c:fa
[    2.809720] using random self ethernet address
[    2.814137] using random host ethernet address
[    2.818599] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.825159] g_ether gadget: g_ether ready

It looks like that's the difference.

Two issues seem strange to me:
1. Why on these boards (except Odroid XU3) appears an usb0 interface (after adding gadget support)? If they don't have the USB cable attached then it shouldn't?

2. ip=dhcp should send DCHP requests on all interfaces:

Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.

So why it is not sent on eth0? Maybe there is no eth0 interface now because of some conflict in USB drivers? Or maybe there was no eth0 interface also before and everything booted from MMC?

Best regards,
Krzysztof

#6 lore raw

Hello,

Quoted 61 lines · Krzysztof Kozlowski
Quoted 60 lines · Tyler Baker

Hi Krzysztof,

Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Tyler Baker

Hi Marek/Krzysztof,

Quoted 1 line · Krzysztof Kozlowski

On 18.08.2015 18:15, Marek Szyprowski wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards, so enable DWC2 driver as well as the most common USB Ethernet gadget.

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig.

I noticed the issue too but I fought it was a temporary network problem. Apparently it's not temporary. :)

I thought the same as well :)

Quoted 14 lines
Quoted 6 lines

I went
ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the

Quoted 8 lines

exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

Quoted 2 lines

I don't have such problem on my Odroid XU3 which also performs netboot (Arch ARM Linux):

Doh. I just realized the odroid-u3 is failing not the odroid-xu3, sorry for the confusion!

Quoted 11 lines

netboot=tftpboot 0x40008000 zImage; tftpboot 0x44000000 exynos5422-odroidxu3-lite.dtb; bootz 0x40008000 - 0x44000000

TFTP from server 192.168.1.10; our IP address is 192.168.1.11

[    0.000000] Kernel command line: console=tty1

console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend smsc95xx.macaddr=00:1e:06:61:7a:93

Do you have anything connected to USB ports of the devices?

Nope, nothing connected to the USB ports in my lab.

Quoted 10 lines

For example on boot-exynos5250-arndale.html I see:

[    2.792934] using random self ethernet address
[    2.797209] using random host ethernet address
[    2.802244] usb0: HOST MAC 46:52:cf:b5:0f:e8
[    2.805923] usb0: MAC a2:04:5d:a6:2c:fa
[    2.809720] using random self ethernet address
[    2.814137] using random host ethernet address
[    2.818599] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    2.825159] g_ether gadget: g_ether ready
Quoted 5 lines
Quoted 1 line
Quoted 1 line

It looks like that's the difference.

Two issues seem strange to me:
1. Why on these boards (except Odroid XU3) appears an usb0 interface (after adding gadget support)? If they don't have the USB cable attached then it shouldn't?

When USB Ethernet gadget is loaded it always creates usb0 network interface, regardless of the USB cable being attached or not.

Quoted 10 lines

2. ip=dhcp should send DCHP requests on all interfaces:

Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.

So why it is not sent on eth0? Maybe there is no eth0 interface now because of some conflict in USB drivers? Or maybe there was no eth0 interface also before and everything booted from MMC?

Maybe the names of network interfaces has changed or kernel parameters lacks specifying which network interface has to be configured (usb0 or eth0)?

Best regards

Signature · 2 lines
Marek Szyprowski, PhD
Samsung R&D Institute Poland
#7 lore raw
Quoted 70 lines · Marek Szyprowski

Hello,

Quoted 67 lines · Krzysztof Kozlowski
Quoted 66 lines · Tyler Baker

Hi Krzysztof,

Quoted 11 lines · Krzysztof Kozlowski
Quoted 10 lines · Tyler Baker

Hi Marek/Krzysztof,

Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards,
so enable DWC2 driver as well as the most common USB Ethernet gadget.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig.

I noticed the issue too but I fought it was a temporary network problem.
Apparently it's not temporary. :)

I thought the same as well :)

Quoted 14 lines
Quoted 6 lines

I went
ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the

Quoted 8 lines

exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

Quoted 2 lines

I don't have such problem on my Odroid XU3 which also performs netboot (Arch ARM Linux):

Doh. I just realized the odroid-u3 is failing not the odroid-xu3, sorry for the confusion!

Quoted 11 lines

netboot=tftpboot 0x40008000 zImage; tftpboot 0x44000000 exynos5422-odroidxu3-lite.dtb; bootz 0x40008000 - 0x44000000

TFTP from server 192.168.1.10; our IP address is 192.168.1.11

[    0.000000] Kernel command line: console=tty1

console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend smsc95xx.macaddr=00:1e:06:61:7a:93

Do you have anything connected to USB ports of the devices?

Nope, nothing connected to the USB ports in my lab.

Quoted 11 lines

For example on boot-exynos5250-arndale.html I see:

[    2.792934] using random self ethernet address
[    2.797209] using random host ethernet address
[    2.802244] usb0: HOST MAC 46:52:cf:b5:0f:e8
[    2.805923] usb0: MAC a2:04:5d:a6:2c:fa
[    2.809720] using random self ethernet address
[    2.814137] using random host ethernet address
[    2.818599] g_ether gadget: Ethernet Gadget, version: Memorial
Day 2008
[    2.825159] g_ether gadget: g_ether ready
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

It looks like that's the difference.

Two issues seem strange to me:
1. Why on these boards (except Odroid XU3) appears an usb0 interface (after adding gadget support)? If they don't have the USB cable attached then it shouldn't?

When USB Ethernet gadget is loaded it always creates usb0 network interface, regardless of the USB cable being attached or not.

Thanks for explaining.

Quoted 8 lines
Quoted 8 lines

2. ip=dhcp should send DCHP requests on all interfaces:

Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.

Quoted 7 lines
Quoted 3 lines

So why it is not sent on eth0? Maybe there is no eth0 interface now because of some conflict in USB drivers? Or maybe there was no eth0 interface also before and everything booted from MMC?

Maybe the names of network interfaces has changed or kernel parameters lacks specifying which network interface has to be configured (usb0 or eth0)?

The ip=dhcp should send requests on all interfaces. The eth0 (provided by smsc95xx, @EHCI USB 12580000) should be there.

After comparing U3 boots I see that on broken boot the "exynos-ehci 12580000.ehci" starts earlier - around 2.17s. Detection of MMC happens at 2.7s.

However on proper U3 boot, the 12580000.ehci probes around 15s. This happens after MMC detection and after starting udev.

Tyler,
I don't know exactly how does your boot sequence look like. Maybe netboot always failed and it booted from mmc? But clearly the change is sensible and presence of usb0 interface should not fail the boot.

Best regards,
Krzysztof

#8 lore raw
Quoted 105 lines · Krzysztof Kozlowski
Quoted 70 lines · Marek Szyprowski

Hello,

Quoted 67 lines · Krzysztof Kozlowski
Quoted 66 lines · Tyler Baker

Hi Krzysztof,

Quoted 11 lines · Krzysztof Kozlowski
Quoted 10 lines · Tyler Baker

Hi Marek/Krzysztof,

Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Marek Szyprowski

DWC2 (s3c-hsotg) hardware module is available on many Exynos based boards,
so enable DWC2 driver as well as the most common USB Ethernet gadget.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

The kernelci.org bot recently reported a handful of exynos boot failures in next-20150825[1] only when using exynos_defconfig.

I noticed the issue too but I fought it was a temporary network problem.
Apparently it's not temporary. :)

I thought the same as well :)

Quoted 14 lines
Quoted 6 lines

I went
ahead and bisected[2] the failure and found this patch was the offender. Looking a bit closer, the kernelci.org boot tests typically pass ip=dhcp or ip=<ipaddr> as a kernel argument so that networking is setup by the kernel. These boot failures are due to the kernel network initialization timing out. Previously, in next-20150821[3] all the

Quoted 8 lines

exynos platforms failing in next-20150825 initialized their network interfaces successfully, so this seems like a regression. Please have a closer look at the boot logs[4][5] for comparison. Kevin pointed out that "asix 3-3.2.4:1.0 eth0: register 'asix' at usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet" is missing from the failed boot logs. Anyways, as a summary it looks like this change broke networking support on the arndale, arndale-octa, odroid xu3, and odroid x2.

Quoted 2 lines

I don't have such problem on my Odroid XU3 which also performs netboot (Arch ARM Linux):

Doh. I just realized the odroid-u3 is failing not the odroid-xu3, sorry for the confusion!

Quoted 11 lines

netboot=tftpboot 0x40008000 zImage; tftpboot 0x44000000 exynos5422-odroidxu3-lite.dtb; bootz 0x40008000 - 0x44000000

TFTP from server 192.168.1.10; our IP address is 192.168.1.11

[    0.000000] Kernel command line: console=tty1

console=ttySAC2,115200n8 root=/dev/mmcblk0p1 rootwait rw no_console_suspend smsc95xx.macaddr=00:1e:06:61:7a:93

Do you have anything connected to USB ports of the devices?

Nope, nothing connected to the USB ports in my lab.

Quoted 11 lines

For example on boot-exynos5250-arndale.html I see:

[    2.792934] using random self ethernet address
[    2.797209] using random host ethernet address
[    2.802244] usb0: HOST MAC 46:52:cf:b5:0f:e8
[    2.805923] usb0: MAC a2:04:5d:a6:2c:fa
[    2.809720] using random self ethernet address
[    2.814137] using random host ethernet address
[    2.818599] g_ether gadget: Ethernet Gadget, version: Memorial
Day 2008
[    2.825159] g_ether gadget: g_ether ready
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

It looks like that's the difference.

Two issues seem strange to me:
1. Why on these boards (except Odroid XU3) appears an usb0 interface (after adding gadget support)? If they don't have the USB cable attached then it shouldn't?

When USB Ethernet gadget is loaded it always creates usb0 network interface, regardless of the USB cable being attached or not.

Thanks for explaining.

Quoted 8 lines
Quoted 8 lines

2. ip=dhcp should send DCHP requests on all interfaces:

Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.

Quoted 7 lines
Quoted 3 lines

So why it is not sent on eth0? Maybe there is no eth0 interface now because of some conflict in USB drivers? Or maybe there was no eth0 interface also before and everything booted from MMC?

Maybe the names of network interfaces has changed or kernel parameters lacks specifying which network interface has to be configured (usb0 or eth0)?

The ip=dhcp should send requests on all interfaces. The eth0 (provided by smsc95xx, @EHCI USB 12580000) should be there.

After comparing U3 boots I see that on broken boot the "exynos-ehci 12580000.ehci" starts earlier - around 2.17s. Detection of MMC happens at 2.7s.

Quoted 7 lines

However on proper U3 boot, the 12580000.ehci probes around 15s. This happens after MMC detection and after starting udev.

Tyler,
I don't know exactly how does your boot sequence look like. Maybe netboot always failed and it booted from mmc? But clearly the change is sensible and presence of usb0 interface should not fail the boot.

I'm just going to disable in kernel DHCP on these platforms, as they are now broken.

Cheers,

Tyler