Skip to contentSkip to conversation

configs: Orange Pi Win: enable ethernet

PATCH New Jernej Skrabec 2 participants 4 messages Jan 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: Orange Pi Win: enable ethernet

Orange Pi Win has gigabit ethernet port, but default U-Boot configuration for that board didn't enable it.

Fix that.

---
 configs/orangepi_win_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/orangepi_win_defconfig +2 -0
index ad74febe10..7a713ff0e2 100644
@@ -3,6 +3,7 @@ CONFIG_ARCH_SUNXI=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SPL=y
 CONFIG_MACH_SUN50I=y
+CONFIG_MACPWR="PD14"
 CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
 CONFIG_SPL_SPI_SUNXI=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
@@ -12,6 +13,7 @@ CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-orangepi-win"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_PHY_REALTEK=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
Signature · 1 line
2.25.0
#1 lore raw

PATCH 1/1 configs: Orange Pi Win: enable ethernet

Quoted 5 lines · Jernej Skrabec

Orange Pi Win has gigabit ethernet port, but default U-Boot configuration for that board didn't enable it.

Fix that.

The missing one is ethernet phy not the ethernet since sun8i_emac already enabled? if agree I will update commit message while applying?

#2 lore raw

PATCH 1/1 configs: Orange Pi Win: enable ethernet

Dne nedelja, 26. januar 2020 ob 15:03:55 CET je Jagan Teki napisal(a):

Quoted 1 line

On Sun, Jan 26, 2020 at 6:09 PM Jernej Skrabec <[email protected]>

Quoted 7 lines · wrote:
Quoted 4 lines

Orange Pi Win has gigabit ethernet port, but default U-Boot configuration for that board didn't enable it.

Fix that.

The missing one is ethernet phy not the ethernet since sun8i_emac already enabled? if agree I will update commit message while applying?

Agreed, thank you.

Best regards,
Jernej

#3 lore raw

PATCH 1/1 configs: Orange Pi Win: enable ethernet

Quoted 7 lines · Jernej Å krabec

Dne nedelja, 26. januar 2020 ob 15:03:55 CET je Jagan Teki napisal(a):

Quoted 1 line

On Sun, Jan 26, 2020 at 6:09 PM Jernej Skrabec <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines

Orange Pi Win has gigabit ethernet port, but default U-Boot configuration for that board didn't enable it.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Fix that.

The missing one is ethernet phy not the ethernet since sun8i_emac already enabled? if agree I will update commit message while applying?

Agreed, thank you.

Applied to u-boot-sunxi/master