Skip to contentSkip to conversation

am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

PATCH New Vignesh R 2 participants 6 messages Apr 10, 2017 – Jun 27, 2017

lore
Share & tools
lore

Vignesh R

author
#0 lore raw

PATCH 1/1 am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

It seems few config options are missing in the current am335x_evm_usbspl_defconfig causing USB RNDIS boot to fail on AM335x EVM. Fix this by adding required configs.

---
 configs/am335x_evm_usbspl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/am335x_evm_usbspl_defconfig +4 -0
index a79470e88685..0a32d41eae67 100644
@@ -44,3 +44,7 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_SPL_ETH_SUPPORT=y
+CONFIG_SPL_USB_GADGET_SUPPORT=y
+CONFIG_SPL_USBETH_SUPPORT=y
+CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

configs/am335x_evm_usbspl_defconfig

Quoted 13 lines · Vignesh R

It seems few config options are missing in the current am335x_evm_usbspl_defconfig causing USB RNDIS boot to fail on AM335x EVM. Fix this by adding required configs.

---
 configs/am335x_evm_usbspl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/am335x_evm_usbspl_defconfig +0 -0
index a79470e88685..0a32d41eae67 100644

Any thing that is blocking to use am335x_evm_defconfig for usb eth boot mode? Eventually we will have make single defconfig for all boot modes.

Thanks and regards,
Lokesh

Quoted 9 lines
configs/am335x_evm_usbspl_defconfig +4 -0
@@ -44,3 +44,7 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_SPL_ETH_SUPPORT=y
+CONFIG_SPL_USB_GADGET_SUPPORT=y
+CONFIG_SPL_USBETH_SUPPORT=y
+CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
author
#2 lore raw

PATCH 1/1 am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

Quoted 12 lines · Lokesh Vutla
Quoted 9 lines · Vignesh R

It seems few config options are missing in the current am335x_evm_usbspl_defconfig causing USB RNDIS boot to fail on AM335x EVM. Fix this by adding required configs.

---
 configs/am335x_evm_usbspl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 7 lines

configs/am335x_evm_usbspl_defconfig

Quoted 4 lines
configs/am335x_evm_usbspl_defconfig +0 -0
index a79470e88685..0a32d41eae67 100644

Any thing that is blocking to use am335x_evm_defconfig for usb eth boot mode?

Yes, I guess first thing needed is would be SPL_DM support as AFAIK, DM_ETH forces to use DM in both SPL and U-Boot.

Quoted 1 line

Eventually we will have make single defconfig for all boot modes.

I guess, this should be possible once SPL_DM support is added.

Quoted 12 lines

Thanks and regards,
Lokesh

Quoted 9 lines
configs/am335x_evm_usbspl_defconfig +4 -0
@@ -44,3 +44,7 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_SPL_ETH_SUPPORT=y
+CONFIG_SPL_USB_GADGET_SUPPORT=y
+CONFIG_SPL_USBETH_SUPPORT=y
+CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
Signature · 2 lines
Regards
Vignesh
#3 lore raw

PATCH 1/1 am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

Quoted 23 lines · Vignesh R
Quoted 12 lines · Lokesh Vutla
Quoted 9 lines · Vignesh R

It seems few config options are missing in the current am335x_evm_usbspl_defconfig causing USB RNDIS boot to fail on AM335x EVM. Fix this by adding required configs.

---
 configs/am335x_evm_usbspl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 7 lines

configs/am335x_evm_usbspl_defconfig

Quoted 4 lines
configs/am335x_evm_usbspl_defconfig +0 -0
index a79470e88685..0a32d41eae67 100644

Any thing that is blocking to use am335x_evm_defconfig for usb eth boot mode?

Quoted 2 lines

Yes, I guess first thing needed is would be SPL_DM support as AFAIK, DM_ETH forces to use DM in both SPL and U-Boot.

okay. am335x has its own problems enabling SPL_DM on which I am working on. Can you check am43xx which has SPL_DM enabled?(I understand there is no am43xx_evm_usbspl_defconfig but wanted to know what is blocking to use am43xx_evm_defconfig for usb_eth mode?)

Quoted 4 lines
Quoted 2 lines

Eventually we will have make single defconfig for all boot modes.

I guess, this should be possible once SPL_DM support is added.

Thanks.

Regards,
Lokesh

Quoted 14 lines
Quoted 13 lines

Thanks and regards,
Lokesh

Quoted 9 lines
configs/am335x_evm_usbspl_defconfig +4 -0
@@ -44,3 +44,7 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_SPL_ETH_SUPPORT=y
+CONFIG_SPL_USB_GADGET_SUPPORT=y
+CONFIG_SPL_USBETH_SUPPORT=y
+CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
author
#4 lore raw

PATCH 1/1 am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

Quoted 26 lines · Lokesh Vutla
Quoted 23 lines · Vignesh R
Quoted 19 lines · Lokesh Vutla

configs/am335x_evm_usbspl_defconfig

Quoted 13 lines · Vignesh R

It seems few config options are missing in the current am335x_evm_usbspl_defconfig causing USB RNDIS boot to fail on AM335x EVM. Fix this by adding required configs.

---
 configs/am335x_evm_usbspl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/am335x_evm_usbspl_defconfig +0 -0
index a79470e88685..0a32d41eae67 100644

Any thing that is blocking to use am335x_evm_defconfig for usb eth boot mode?

Quoted 8 lines
Quoted 2 lines

Yes, I guess first thing needed is would be SPL_DM support as AFAIK, DM_ETH forces to use DM in both SPL and U-Boot.

okay. am335x has its own problems enabling SPL_DM on which I am working on. Can you check am43xx which has SPL_DM enabled?(I understand there is no am43xx_evm_usbspl_defconfig but wanted to know what is blocking to use am43xx_evm_defconfig for usb_eth mode?)

dwc3 usb peripheral needs be converted to DM as first step. Need to
revisit: http://lists.denx.de/pipermail/u-boot/2016-March/250115.html

This is something that I have in my list of TODOs.

Signature · 2 lines
Regards
Vignesh
author
#5 lore raw

PATCH 1/1 am335x_evm_usbspl_defconfig: Fix USB RNDIS boot

In reply to Vignesh R

Lokesh,

Quoted 6 lines · Vignesh R

It seems few config options are missing in the current am335x_evm_usbspl_defconfig causing USB RNDIS boot to fail on AM335x EVM. Fix this by adding required configs.

---

Could you ack this patch, its still relevant to get USB RNDIS to work.

Quoted 16 lines
 configs/am335x_evm_usbspl_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/am335x_evm_usbspl_defconfig +4 -0
index a79470e88685..0a32d41eae67 100644
@@ -44,3 +44,7 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_OF_LIBFDT=y
+CONFIG_SPL_ETH_SUPPORT=y
+CONFIG_SPL_USB_GADGET_SUPPORT=y
+CONFIG_SPL_USBETH_SUPPORT=y
+CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
Signature · 2 lines
Regards
Vignesh