<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
With openbmc codebase at </div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span>      </span>commit 917fab29b9ead43b10b0ef6dc884c39817f17965 (HEAD -> master, origin/master),</div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
and no local code change over this commit, <span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">I build the stack for
</span><b style="font-size: 12pt; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit;">evb-ast2600</b><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"> as well as
</span><b style="font-size: 12pt; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit;">romulus</b><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">.</span><span class="ContentPasted1" style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"> With
<b>romulus</b> image, I do get <b>CurrentBMCState</b> as <b>Ready</b>, while with
<b class="ContentPasted2">evb-ast2600 </b>it stays <span style="display: inline !important;" class="ContentPasted3">
as<span class="ContentPasted3"> <b>Not</b></span></span><b class="ContentPasted3">Ready</b><span class="ContentPasted3 ContentPasted4">. Seemingly hence, for
<b>romulus</b> <a href="https://127.0.0.1:1443" id="LPlnk344091">https://127.0.0.1:1443</a> works fine and Web UI is seen, while for
<b>evb-ast2600</b> it say </span></span><b>Unauthorized</b>.</div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span class="ContentPasted1" style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><span class="ContentPasted3 ContentPasted4"><br>
</span></span></div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span class="ContentPasted1" style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><span class="ContentPasted3 ContentPasted4 ContentPasted5 elementToProof" style="font-size: 9pt;">root@evb-ast2600:~#
</span><span class="ContentPasted3 ContentPasted4 ContentPasted5 elementToProof">
<div class="ContentPasted5"><span style="font-size: 9pt;">root@evb-ast2600:~# systemctl | grep -i multi</span></div>
<div class="ContentPasted5 elementToProof"><span style="font-size: 9pt;">  multi-user.target                                                                                               loaded inactive   dead     start Multi-User System</span></div>
<div class="ContentPasted5"><span style="font-size: 9pt;">root@evb-ast2600:~# systemctl | grep -i activating</span></div>
<div class="ContentPasted5 elementToProof"><span style="font-size: 9pt;">  mapper-wait@-org-openbmc-control-power0.service                                     loaded activating start     start Wait for /org/openbmc/control/power0</span></div>
<div class="ContentPasted5 elementToProof"><span style="font-size: 9pt;">  mapper-wait@-xyz-openbmc_project-led-groups-bmc_booted.service          loaded activating start     start Wait for /xyz/openbmc_project/led/groups/bmc_booted</span></div>
<div class="ContentPasted5 elementToProof"><span style="font-size: 9pt;">  mapper-wait@-xyz-openbmc_project-led-groups.service                               loaded activating start     start Wait for /xyz/openbmc_project/led/groups</span></div>
<div class="ContentPasted5 elementToProof"><span style="font-size: 9pt;">  xyz.openbmc_project.LED.GroupManager.service                                         loaded activating start     start Phosphor LED Group Management Daemon</span></div>
</span><span class="ContentPasted3 ContentPasted4 ContentPasted5 elementToProof" style="font-size: 9pt;">root@evb-ast2600:~#</span><span class="ContentPasted3 ContentPasted4 ContentPasted5 elementToProof">
<br>
</span></span></div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Best Regards,</div>
<div class="elementToProof ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Ranbir Singh</div>
<div id="appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Zhang Jian <zhangjian.3032@bytedance.com><br>
<b>Sent:</b> 14 March 2023 13:07<br>
<b>To:</b> Ranbir Singh <saini.ranbirs@outlook.com><br>
<b>Cc:</b> David Bashaw <theactualdbashaw@gmail.com>; openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org><br>
<b>Subject:</b> Re: [External] Running evb-ast2600 image using qemu</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On Tue, Mar 14, 2023 at 2:04 PM Ranbir Singh <saini.ranbirs@outlook.com> wrote:<br>
><br>
> Jian - Using the same command as you mentioned, and after machine has booted and logged in<br>
><br>
><br>
><br>
><br>
> Also, noted that CurrentBMCState continue to come as NotReady even after 5 min of bootup completed. Is this normal ?<br>
I think this is not normal,  the state of  `CurrentBMCState`  is<br>
checking the multi-user state( state is active?),<br>
```<br>
 systemctl | grep -i multi<br>
  multi-user.target<br>
                                    loaded active     active<br>
Multi-User System<br>
```<br>
you could use `systemctl | grep -i activating`(I'm not sure to use<br>
activating) to check what service blocked this.<br>
<br>
><br>
> Best Regards,<br>
> Ranbir Singh<br>
><br>
> ________________________________<br>
> From: Zhang Jian <zhangjian.3032@bytedance.com><br>
> Sent: 14 March 2023 11:05<br>
> To: Ranbir Singh <saini.ranbirs@outlook.com><br>
> Cc: David Bashaw <theactualdbashaw@gmail.com>; openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org><br>
> Subject: Re: [External] Running evb-ast2600 image using qemu<br>
><br>
> On Tue, Mar 14, 2023 at 1:28 PM Ranbir Singh <saini.ranbirs@outlook.com> wrote:<br>
> ><br>
> > Is there anyway to login using the Web UI also when running image on qemu ?<br>
> of cause, the command line forwarded the port localhost 1443 to bmc<br>
> 443, you just need access <a href="https://127.0.0.1:1443" data-auth="NotApplicable">
https://127.0.0.1:1443</a> in your browser<br>
> > ________________________________<br>
> > From: openbmc <openbmc-bounces+saini.ranbirs=outlook.com@lists.ozlabs.org> on behalf of Jian Zhang <zhangjian.3032@bytedance.com><br>
> > Sent: 14 March 2023 09:02<br>
> > To: David Bashaw <theactualdbashaw@gmail.com><br>
> > Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org><br>
> > Subject: Re: [External] Running evb-ast2600 image using qemu<br>
> ><br>
> > The command that I used.<br>
> > ```<br>
> > 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<br>
> > ```<br>
> > For your reference.<br>
> ><br>
> > Jian<br>
> > From: "David Bashaw"<theactualdbashaw@gmail.com><br>
> > Date: Tue, Mar 14, 2023, 07:52<br>
> > Subject: [External] Running evb-ast2600 image using qemu<br>
> > To: <openbmc@lists.ozlabs.org><br>
> > I'm new to openbmc but have read lots fo docs.<br>
> > I want to try running an evb-ast2600 image using qemu.<br>
> > I ran the following steps:<br>
> > .setup evb-ast2600<br>
> > bitbake obmc-phosphor-image<br>
> ><br>
> > The build completes fine.<br>
> > I installed qemu-system-arm also.<br>
> ><br>
> > What command line should I use to invoke qemu?<br>
> ><br>
</div>
</span></font></div>
</body>
</html>