qemu/hw
Bin Meng 37e33be7ea hw/arm: sabrelite: Connect the Ethernet PHY at address 6
At present, when booting U-Boot on QEMU sabrelite, we see:

  Net:   Board Net Initialization Failed
  No ethernet found.

U-Boot scans PHY at address 4/5/6/7 (see board_eth_init() in the
U-Boot source: board/boundary/nitrogen6x/nitrogen6x.c). On the real
board, the Ethernet PHY is at address 6. Adjust this by updating the
"fec-phy-num" property of the fsl_imx6 SoC object.

With this change, U-Boot sees the PHY but complains MAC address:

  Net:   using phy at 6
  FEC [PRIME]
  Error: FEC address not set.

This is due to U-Boot tries to read the MAC address from the fuse,
which QEMU does not have any valid content filled in. However this
does not prevent the Ethernet from working in QEMU. We just need to
set up the MAC address later in the U-Boot command shell, by:

  => setenv ethaddr 00:11:22:33:44:55

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20210106063504.10841-4-bmeng.cn@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-01-08 15:13:39 +00:00
..
9pfs
acpi
adc
alpha
arm hw/arm: sabrelite: Connect the Ethernet PHY at address 6 2021-01-08 15:13:39 +00:00
audio
avr
block Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
char Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
core
cpu
cris
display
dma
gpio
hppa
hyperv
i2c
i386 From Alex's pull request: 2021-01-06 15:55:29 +00:00
ide Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
input Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
intc Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
ipack
ipmi Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
isa
lm32
m68k
mem
microblaze
mips
misc hw/msic: imx6_ccm: Correct register value for silicon type 2021-01-08 15:13:39 +00:00
moxie
net Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
nios2
nubus
nvram
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc
rdma
riscv
rtc exynos4210_rtc: Use ptimer_free() in the finalize function to avoid memleaks 2021-01-08 15:13:38 +00:00
rx
s390x Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
scsi
sd Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
semihosting
sh4
smbios
sparc
sparc64
ssi
timer exynos4210_mct: Use ptimer_free() in the finalize function to avoid memleaks 2021-01-08 15:13:39 +00:00
tpm
tricore
unicore32
usb Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
vfio Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
virtio Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
watchdog Remove superfluous timer_del() calls 2021-01-08 15:13:38 +00:00
xen
xenpv
xtensa
Kconfig
meson.build