I'm running u-boot for powerpc in Qemu.
qemu-system-ppc -M ppce500 -m 512 -kernel u-boot -cpu mpc8572 -nographic -device pcnet,netdev=mynet1 -netdev user,id=mynet1U-Boot 2020.07-rc4 (Jun 25 2020 - 11:09:31 +0300)
CPU: 8572, Version: 1.0, (0x80e00010)
Core: e500, Version: 3.0, (0x80210030)
Clock Configuration:
CPU0: 400 MHz,
CCB : 400 MHz,
DDR:200 MHz (400 MT/s data rate), LBC: unknown (LCRR[CLKDIV] = 0x00 )
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
DRAM: 512 MiB
L2: disabled
PCI: base address e0008000
00:01.0 - 1022:2000 - Network controller
PCI1: Bus 00 - 00
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
How can I activate the network? or Is it possible to boot the kernel in the hard disk using u-boot?