[meta-xilinx] qemuzynq - networking setup issues

adrian.thomasset at doulos.com adrian.thomasset at doulos.com
Fri Sep 4 07:01:45 PDT 2015


Hi Nathan,


Nathan Rossi <nathan at nathanrossi.com> wrote on 04/09/2015 10:45:58:

> Subject: Re: [meta-xilinx] qemuzynq - networking setup issues
> 
> On Thu, Sep 3, 2015 at 8:54 PM,  <adrian.thomasset at doulos.com> wrote:
> >
> > Hi,
> > I am currently using Fido. The qemuzynq machine doesn't use the tap 
device
> > brought up by runqemu-ifup so there is no networking by default.
> >
> > By adding $QEMU_NETWORK_CMD to QEMUOPTIONS in scripts/runqemu-internal 
this
> > will add the correct network setup:
> > -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no
> >
> > If this is the correct solution, should it be submitted to 
poky-contrib?
> 
> Adding the QEMU_NETWORK_CMD is needed for the tap to attach to the
> QEMU ethernet device. The qemuzynq and qemumicroblaze machines are
> both missing this. I have some other patches to submit for these qemu
> machines in that script so I will roll this fix in with them, the
> kernel command line for network configuration is also not added for
> the static ip setup with regards to the tap bringup, so I will sort
> that out too.

This sounds good, I will look out for these changes.

BTW, fixing the "ip" kernel command line will still cause problems if you 
are using a CPIO image (which is the default FSTYPE for qemuzynq) because 
the runqemu-internal will treat the rootfs as an "initrd" and the network 
start-up configuration is configured for DHCP. So "ip" is always ignored! 

This leads to my next question and might be related to the other changes 
you have in store Nathan - has anyone succeeded mounting a rootfs as a 
block device, either -hda, -sd or other? (on qemuzynq or qemumicroblaze)

Thanks,
Adrian 

> 
> Regards,
> Nathan
> 
> >
> > Thanks,
> > Adrian
> >
> > --
> > _______________________________________________
> > meta-xilinx mailing list
> > meta-xilinx at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-xilinx
> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20150904/bd4d7cea/attachment.html>


More information about the meta-xilinx mailing list