
2015-12-13 20:29 GMT+08:00 吴红青 hqwu@fiberhome.com.cn:
hello,i am using u-boot on powerpc qemu,my u-boot version is u-boot-2016.01-rc2,i make uboot as below:
cd u-boot-2016.01-rc2 make clean make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- qemu-ppce500_defconfig make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-
then ,t execute u-boot bay qemu as below:
qemu-system-ppc -M ppce500 -serial stdio -kernel u-boot -m 1024
uboot show some msg as below:
U-Boot 2016.01-rc2 (Dec 13 2015 - 19:54:13 +0800)
CPU: Unknown, Version: 0.0, (0x00000000) 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: 1 GiB L2: disabled Using default environment
PCI: base address e0008000 00:01.0 - 1af4:1000 - Network controller PCI1: Bus 00 - 00
In: serial Out: serial Err: serial Net: No ethernet found. Hit any key to stop autoboot: 0 WARNING: adjusting available memory to 30000000 Wrong Image Format for bootm command ERROR: can't get kernel image! =>
why no net card? can you help me?
Because you didn't specify any emulated NIC in qemu command line.
Here's a link maybe you can refer:
https://www.suse.com/documentation/sles11/book_kvm/data/cha_qemu_running_net...
See the "Defining a Network Interface Card" section. The commonly used model with U-Boot should be e1000 or rtl8139 (rtl8139 is not converted to driver model though)
Miao
thanks you!!!
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot