[External] Running evb-ast2600 image using qemu

Zhang Jian zhangjian.3032 at bytedance.com
Tue Mar 14 18:37:09 AEDT 2023


On Tue, Mar 14, 2023 at 2:04 PM Ranbir Singh <saini.ranbirs at outlook.com> wrote:
>
> Jian - Using the same command as you mentioned, and after machine has booted and logged in
>
>
>
>
> Also, noted that CurrentBMCState continue to come as NotReady even after 5 min of bootup completed. Is this normal ?
I think this is not normal,  the state of  `CurrentBMCState`  is
checking the multi-user state( state is active?),
```
 systemctl | grep -i multi
  multi-user.target
                                    loaded active     active
Multi-User System
```
you could use `systemctl | grep -i activating`(I'm not sure to use
activating) to check what service blocked this.

>
> Best Regards,
> Ranbir Singh
>
> ________________________________
> From: Zhang Jian <zhangjian.3032 at bytedance.com>
> Sent: 14 March 2023 11:05
> To: Ranbir Singh <saini.ranbirs at outlook.com>
> Cc: David Bashaw <theactualdbashaw at gmail.com>; openbmc at lists.ozlabs.org <openbmc at lists.ozlabs.org>
> Subject: Re: [External] Running evb-ast2600 image using qemu
>
> On Tue, Mar 14, 2023 at 1:28 PM Ranbir Singh <saini.ranbirs at outlook.com> wrote:
> >
> > Is there anyway to login using the Web UI also when running image on qemu ?
> of cause, the command line forwarded the port localhost 1443 to bmc
> 443, you just need access https://127.0.0.1:1443 in your browser
> > ________________________________
> > From: openbmc <openbmc-bounces+saini.ranbirs=outlook.com at lists.ozlabs.org> on behalf of Jian Zhang <zhangjian.3032 at bytedance.com>
> > Sent: 14 March 2023 09:02
> > To: David Bashaw <theactualdbashaw at gmail.com>
> > Cc: openbmc at lists.ozlabs.org <openbmc at lists.ozlabs.org>
> > Subject: Re: [External] Running evb-ast2600 image using qemu
> >
> > The command that I used.
> > ```
> > qemu-system-arm -M ast2600-evb  -nographic -drive file=image-bmc,format=raw,if=mtd -net nic,model=ftgmac100,netdev=netdev1 -netdev user,id=netdev1,hostfwd=:127.0.0.1:3222-:22,hostfwd=:127.0.0.1:1443-:443,hostfwd=udp::1623-:623
> > ```
> > For your reference.
> >
> > Jian
> > From: "David Bashaw"<theactualdbashaw at gmail.com>
> > Date: Tue, Mar 14, 2023, 07:52
> > Subject: [External] Running evb-ast2600 image using qemu
> > To: <openbmc at lists.ozlabs.org>
> > I'm new to openbmc but have read lots fo docs.
> > I want to try running an evb-ast2600 image using qemu.
> > I ran the following steps:
> > .setup evb-ast2600
> > bitbake obmc-phosphor-image
> >
> > The build completes fine.
> > I installed qemu-system-arm also.
> >
> > What command line should I use to invoke qemu?
> >


More information about the openbmc mailing list