QEMU 2.10.0
Andrew Jeffery
andrew at aj.id.au
Tue Sep 12 21:39:45 AEST 2017
On Tue, 2017-09-12 at 13:24 +0200, Cédric Le Goater wrote:
> On 09/12/2017 11:07 AM, Joel Stanley wrote:
> > > > On Tue, Sep 12, 2017 at 5:26 PM, Cédric Le Goater <clg at kaod.org> wrote:
> > > On 09/12/2017 09:12 AM, Andrew Jeffery wrote:
> > > > Hello,
> > > >
> > > > I've updated openbmc/qemu's master to 2.10.0. For anyone maintaining
> > > > patches on top of master I've merged the old master state into 2.10.0
> > > > with the --ours strategy, then applied the series Cédric is maintaining
> > > > on top. This means any patches you might have on top of master should
> > > > rebase easily due to shared history, whilst keeping our yet-to-be-
> > > > upstreamed patches in an easily identified set.
> > >
> > > Here are some updates on the QEMU wiki :
> > >
> > > https://github.com/openbmc/qemu/wiki
> >
> > Thanks Andrew and Cedric.
> >
> > I built myself openbmc/qemu master and tried to boot a dev-4.10 kernel
> > with a simple busybox based userspace on it. It hangs at "Starting
> > network".
> >
> > I was previously using Cedric's 'aspeed' branch from a long time ago.
> >
> > This is my little qemu script that I use. Can you reproduce? Or tell
> > me what I'm doing wrong here?
> >
> > #!/bin/bash
> >
> > : ${BMC_CS1:=/srv/tftp/flash-witherspoon}
> > : ${BMC_CS2:=${BMC_CS1}}
> > : ${PNOR:=/srv/tftp/witherspoon.pnor}
> >
> > ~/dev/qemu/openbmc/arm-softmmu/qemu-system-arm -m 512 -M witherspoon-bmc \
> > -nodefaults -nographic -serial stdio \
> > -net nic -net user,hostname=qemu,hostfwd=::2222-:22,hostfwd=::2623-:623 \
> > -drive file=${BMC_CS1},format=raw,if=mtd \
> > -drive file=${BMC_CS2},format=raw,if=mtd \
> > -drive file=${PNOR},format=raw,if=mtd \
> > "$@"
>
> I don't see any problems with the network with :
>
> https://openpower.xyz/job/openbmc-build/distro=ubuntu,target=witherspoon/lastSuccessfulBuild/artifact/deploy/images/witherspoon/flash-witherspoon
>
> [ 2.200000] ftgmac100 1e660000.ethernet: Read MAC address c0:ff:ee:00:00:03 from chip
> [ 2.200000] ftgmac100 1e660000.ethernet: Using NCSI interface
> [ 2.200000] ftgmac100 1e660000.ethernet eth0: irq 20, mapped at f0060000
> [ 2.380000] 8021q: 802.1Q VLAN Support v1.8
> [ 26.990000] 8021q: adding VLAN 0 to HW filter on device eth0
> [ 27.520000] ftgmac100 1e660000.ethernet eth0: no vlan ids left to set
> [ 27.520000] ftgmac100 1e660000.ethernet eth0: NCSI interface up
>
> network is up. the QEMU ftgmac100 model does not support VLAN though.
I didn't see any issues with networking in my tests either. Maybe we
should take this conversation to the openbmc/qemu/issues?
Cheers,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170912/d4dbac2c/attachment.sig>
More information about the openbmc
mailing list