qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MCIMX6UL EVK QEMU Ethernet


From: Sean Nyekjaer
Subject: MCIMX6UL EVK QEMU Ethernet
Date: Tue, 2 Jun 2020 12:45:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1

Hi



I'm very new to QEMU and having trouble with the iMX6ul EVK QEMU variant.



We are starting QEMU with:

% qemu-system-arm \


-d trace:usb_port_attach \


-machine mcimx6ul-evk \


-m 256 \


-no-reboot \


-nographic \


-serial mon:stdio \


-kernel ./zImage \


-drive if=sd,id=sd0,format=raw,file=./cc-image-dev-iwg26-20200505081306.rootfs.wic \


-device sd-card,id=sd0 \


-dtb ./imx6ul-14x14-evk.dtb \


-append "root=/dev/mmcblk0p3 ro quiet systemd.setenv=SYSTEMD_FSTAB=/etc/fstab.qemu ip=::::qemu::none" \


-nic user,mac=02:ca:fe:f0:0d:01,id=u1,net=192.168.60.0/24,dhcpstart=192.168.60.9 \


-nic user,mac=02:ca:fe:f0:0d:02,id=u2,net=192.168.70.0/24,dhcpstart=192.168.70.9



But the Ethernet devices never gets a "link up"



root@qemu:/data/root# ip link



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000


    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00


2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000


    link/ether 02:ca:fe:f0:0d:02 brd ff:ff:ff:ff:ff:ff


3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000

    link/ether 02:ca:fe:f0:0d:01 brd ff:ff:ff:ff:ff:ff





I have tried with a 4.19.x and a 5.6 kernel.

Qemu v4.2 and v5.0



Can you steer me in the correct direction?


Best regards,
Sean Nyekjaer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]