Skip to contentSkip to conversation

ARM: dragonboard410c: Enable DM_ETH

PATCH In review Peter Robinson 5 participants 15 messages Apr 2, 2021 – Apr 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 ARM: dragonboard410c: Enable DM_ETH

The dragonboard410c only uses USB ethernet interfaces so just enable DM_ETH.

---
 configs/dragonboard410c_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/dragonboard410c_defconfig +1 -0
index f5db4720b7..9c4311aa45 100644
@@ -33,6 +33,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=0
 CONFIG_MSM_GPIO=y
 CONFIG_PM8916_GPIO=y
+CONFIG_DM_ETH=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_DM_MMC=y
Signature · 1 line
2.31.1
#1 lore raw

PATCH 2/8 ARM: dragonboard820c: Disable network support

There's not currently any network support on the 820c but the minor network config still triggers the DM_ETH warning even though there's no even a USB network interface so lets disable network support to mitigate the warning.

Cc Jorge Ramirez-Ortiz <[email protected]>
---
 configs/dragonboard820c_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/dragonboard820c_defconfig +1 -0
index 13cffd9713..6489376a34 100644
@@ -14,6 +14,7 @@ CONFIG_BOOTARGS="console=ttyMSM0,115200n8"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_MISC_INIT_R=y
 CONFIG_SYS_PROMPT="dragonboard820c => "
+# CONFIG_NET is not set
 CONFIG_CMD_BOOTEFI_HELLO=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MEMINFO=y
Signature · 1 line
2.31.1
#2 lore raw

PATCH 2/8 ARM: dragonboard820c: Disable network support

Quoted 16 lines · Peter Robinson

There's not currently any network support on the 820c but the minor network config still triggers the DM_ETH warning even though there's no even a USB network interface so lets disable network support to mitigate the warning.

Cc Jorge Ramirez-Ortiz <[email protected]>
---
 configs/dragonboard820c_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/dragonboard820c_defconfig +0 -0
index 13cffd9713..6489376a34 100644

configs/dragonboard820c_defconfig CONFIG_BOOTARGS="console=ttyMSM0,115200n8" · line 17

Quoted 4 lines
configs/dragonboard820c_defconfig +1 -0
@@ -14,6 +14,7 @@ CONFIG_BOOTARGS="console=ttyMSM0,115200n8"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_MISC_INIT_R=y
 CONFIG_SYS_PROMPT="dragonboard820c => "
+# CONFIG_NET is not set

yeah, looks good to me. In the past - at the time support was added - I think NET was required for sysconf boot (IIRC was combined with pxe but I could be wrong)

configs/dragonboard820c_defconfig CONFIG_BOOTARGS="console=ttyMSM0,115200n8" · line 20

Quoted 3 lines
configs/dragonboard820c_defconfig +0 -0
 CONFIG_CMD_BOOTEFI_HELLO=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MEMINFO=y

btw I tried to boot the tip of u-boot and mmc is not recognized after boot (so maybe some pinctrl issue lurking).

Quoted 3 lines
Signature · 1 line
2.31.1
#3 lore raw

PATCH 3/8 ARM: odroid-xu3: Enable DM_ETH

In reply to Peter Robinson

The odroid-xu3 has USB ethernet so enable DM Ethernet support.

Cc Jaehoon Chung <[email protected]>
Cc Lukasz Majewski <[email protected]>
---
 configs/odroid-xu3_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/odroid-xu3_defconfig +1 -0
index 755a2ca9ad..cbf13983de 100644
@@ -39,6 +39,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_ADC=y
 CONFIG_ADC_EXYNOS=y
+CONFIG_DM_ETH=y
 CONFIG_DFU_MMC=y
 CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_SUPPORT_EMMC_BOOT=y
Signature · 1 line
2.31.1
#4 lore raw

PATCH 3/8 ARM: odroid-xu3: Enable DM_ETH

Quoted 5 lines · Peter Robinson

The odroid-xu3 has USB ethernet so enable DM Ethernet support.

Cc Jaehoon Chung <[email protected]>
Cc Lukasz Majewski <[email protected]>

Best Regards,
Jaehoon Chung

Quoted 17 lines
---
 configs/odroid-xu3_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/odroid-xu3_defconfig +1 -0
index 755a2ca9ad..cbf13983de 100644
@@ -39,6 +39,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_ADC=y
 CONFIG_ADC_EXYNOS=y
+CONFIG_DM_ETH=y
 CONFIG_DFU_MMC=y
 CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_SUPPORT_EMMC_BOOT=y
#5 lore raw

PATCH 4/8 ARM: odroid: Enable DM_ETH

In reply to Peter Robinson

The odroid has USB ethernet so enable DM Ethernet support.

Jaehoon Chung <[email protected]>

---
 configs/odroid_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/odroid_defconfig +1 -0
index 9f2b0b205d..1d7949b6d0 100644
@@ -41,6 +41,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_DFU_MMC=y
+CONFIG_DM_ETH=y
 CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_SYS_I2C_S3C24X0=y
 CONFIG_MMC_DW=y
Signature · 1 line
2.31.1
#6 lore raw

PATCH 4/8 ARM: odroid: Enable DM_ETH

Quoted 4 lines · Peter Robinson

The odroid has USB ethernet so enable DM Ethernet support.

Jaehoon Chung <[email protected]>

Best Regards,
Jaehoon Chung

Quoted 17 lines
---
 configs/odroid_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/odroid_defconfig +1 -0
index 9f2b0b205d..1d7949b6d0 100644
@@ -41,6 +41,7 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_DFU_MMC=y
+CONFIG_DM_ETH=y
 CONFIG_SET_DFU_ALT_INFO=y
 CONFIG_SYS_I2C_S3C24X0=y
 CONFIG_MMC_DW=y
#7 lore raw

PATCH 5/8 ARM: Rock: Disable network support

In reply to Peter Robinson

There's not currently any network support on the rock but the minor network config still triggers the DM_ETH warning even though there's no even a USB network interface so lets disable network support to mitigate the warning.

---
 configs/rock_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/rock_defconfig +1 -0
index cf23a10455..63a9b5c05a 100644
@@ -39,6 +39,7 @@ CONFIG_SYSCON=y
 CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
+# CONFIG_NET is not set
 CONFIG_LED=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
Signature · 1 line
2.31.1
#8 lore raw

PATCH 5/8 ARM: Rock: Disable network support

Quoted 7 lines · Peter Robinson

There's not currently any network support on the rock but the minor network config still triggers the DM_ETH warning even though there's no even a USB network interface so lets disable network support to mitigate the warning.

Thanks,
- Kever

Quoted 16 lines
---
  configs/rock_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/rock_defconfig +1 -0
index cf23a10455..63a9b5c05a 100644
@@ -39,6 +39,7 @@ CONFIG_SYSCON=y
  CONFIG_CLK=y
  CONFIG_ROCKCHIP_GPIO=y
  CONFIG_SYS_I2C_ROCKCHIP=y
+# CONFIG_NET is not set
  CONFIG_LED=y
  CONFIG_MMC_DW=y
  CONFIG_MMC_DW_ROCKCHIP=y
#9 lore raw

PATCH 6/8 ARM: geekbox: Enable the rk3368 network driver

In reply to Peter Robinson

There's currently no network enabled in the geekbox but we now have all the bits in place so enable the driver and DM_ETH to fix the warning.

Cc "Andreas F?rber" <[email protected]>
---
 configs/geekbox_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/geekbox_defconfig +2 -0
index 4f0191cc00..94df408d09 100644
@@ -19,6 +19,8 @@ CONFIG_BOUNCE_BUFFER=y
 CONFIG_CLK=y
 CONFIG_PINCTRL=y
 CONFIG_RAM=y
+CONFIG_DM_ETH=y
+CONFIG_GMAC_ROCKCHIP=y
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
Signature · 1 line
2.31.1
#10 lore raw

Re: [PATCH 6/8] ARM: geekbox: Enable the rk3368 network driver【请注意,邮件由[email protected]代发】

Quoted 6 lines · Peter Robinson

There's currently no network enabled in the geekbox but we now have all the bits in place so enable the driver and DM_ETH to fix the warning.

Cc "Andreas F?rber" <[email protected]>

Thanks,
- Kever

Quoted 17 lines
---
  configs/geekbox_defconfig | 2 ++
  1 file changed, 2 insertions(+)
configs/geekbox_defconfig +2 -0
index 4f0191cc00..94df408d09 100644
@@ -19,6 +19,8 @@ CONFIG_BOUNCE_BUFFER=y
  CONFIG_CLK=y
  CONFIG_PINCTRL=y
  CONFIG_RAM=y
+CONFIG_DM_ETH=y
+CONFIG_GMAC_ROCKCHIP=y
  CONFIG_DEBUG_UART_SHIFT=2
  CONFIG_DEBUG_UART_ANNOUNCE=y
  CONFIG_DEBUG_UART_SKIP_INIT=y
#11 lore raw

PATCH 7/8 ARM: sheep-rk3368: Enable the rk3368 network driver

In reply to Peter Robinson

There's currently no network enabled in the sheep but we now have all the bits in place so enable the driver and DM_ETH to fix the warning.

---
 configs/sheep-rk3368_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/sheep-rk3368_defconfig +2 -0
index 90e3fff3fb..182fe7dee4 100644
@@ -21,6 +21,8 @@ CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_RAM=y
+CONFIG_DM_ETH=y
+CONFIG_GMAC_ROCKCHIP=y
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
Signature · 1 line
2.31.1
#12 lore raw

PATCH 7/8 ARM: sheep-rk3368: Enable the rk3368 network driver

Quoted 6 lines · Peter Robinson

There's currently no network enabled in the sheep but we now have all the bits in place so enable the driver and DM_ETH to fix the warning.

Thanks,
- Kever

Quoted 17 lines
---
  configs/sheep-rk3368_defconfig | 2 ++
  1 file changed, 2 insertions(+)
configs/sheep-rk3368_defconfig +2 -0
index 90e3fff3fb..182fe7dee4 100644
@@ -21,6 +21,8 @@ CONFIG_MMC_DW=y
  CONFIG_MMC_DW_ROCKCHIP=y
  CONFIG_PINCTRL=y
  CONFIG_RAM=y
+CONFIG_DM_ETH=y
+CONFIG_GMAC_ROCKCHIP=y
  CONFIG_DEBUG_UART_SHIFT=2
  CONFIG_DEBUG_UART_ANNOUNCE=y
  CONFIG_DEBUG_UART_SKIP_INIT=y
#13 lore raw

PATCH 8/8 ARM: CHIP: Enable DM_USB

In reply to Peter Robinson

The CHIP devices doesn't enable distro defaults due to primary storage being NAND so it doesn't get DM_USB by default so enable it and a few other useful USB bits.

---
 configs/CHIP_defconfig     | 2 ++
 configs/CHIP_pro_defconfig | 3 +++
 2 files changed, 5 insertions(+)
configs/CHIP_defconfig +2 -0
index a70ee31d40..f423cfc143 100644
@@ -8,12 +8,14 @@ CONFIG_VIDEO_COMPOSITE=y
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-r8-chip"
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_DFU_RAM=y
 # CONFIG_MMC is not set
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
 CONFIG_CONS_INDEX=2
+CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
configs/CHIP_pro_defconfig +3 -0
index 7f10fd2b88..08b091fde9 100644
@@ -8,6 +8,8 @@ CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MTDPARTS=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)"
 CONFIG_ENV_IS_IN_UBI=y
@@ -22,6 +24,7 @@ CONFIG_SYS_NAND_OOBSIZE=0x100
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
 CONFIG_CONS_INDEX=2
+CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
Signature · 1 line
2.31.1
#14 lore raw

PATCH 1/8 ARM: dragonboard410c: Enable DM_ETH

In reply to Peter Robinson
Quoted 23 lines · Peter Robinson

The dragonboard410c only uses USB ethernet interfaces so just enable DM_ETH.

---
 configs/dragonboard410c_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/dragonboard410c_defconfig +1 -1
index f5db4720b7..9c4311aa45 100644
@@ -33,6 +33,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=0
 CONFIG_MSM_GPIO=y
 CONFIG_PM8916_GPIO=y
+CONFIG_DM_ETH=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_DM_MMC=y
--
Quoted 2 lines

2.31.1