<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">dear chunhui,</div><div style="margin: 0;"><br></div><div style="margin: 0;">1. now the openbmc is run ok on my evb board.</div><div style="margin: 0;"><br></div><div style="margin: 0;">when burn the 32M flash image , it startup with the ipmid and bmcweb, so seems work well </div><div style="margin: 0;"><div style="margin: 0;">root@centriq2400-rep:/# ps</div><div style="margin: 0;"> PID USER VSZ STAT COMMAND</div><div style="margin: 0;"> 1 root 26016 S {systemd} /sbin/init</div><div style="margin: 0;"> 2 root 0 SW [kthreadd]</div><div style="margin: 0;"> 3 root 0 IW [kworker/0:0-ipv]</div><div style="margin: 0;"> 6 root 0 IW< [mm_percpu_wq]</div><div style="margin: 0;"> 7 root 0 SW [ksoftirqd/0]</div><div style="margin: 0;"> 8 root 0 SW [kdevtmpfs]</div><div style="margin: 0;"> 9 root 0 IW< [netns]</div><div style="margin: 0;"> 10 root 0 IW [kworker/0:1-eve]</div><div style="margin: 0;"> 11 root 0 SW [oom_reaper]</div><div style="margin: 0;"> 12 root 0 IW< [writeback]</div><div style="margin: 0;"> 28 root 0 IW< [kblockd]</div><div style="margin: 0;"> 29 root 0 SW [watchdogd]</div><div style="margin: 0;"> 30 root 0 SW [kswapd0]</div><div style="margin: 0;"> 31 root 0 SW [hwrng]</div><div style="margin: 0;"> 33 root 0 IW< [ipv6_addrconf]</div><div style="margin: 0;"> 77 root 0 SWN [jffs2_gcd_mtd5]</div><div style="margin: 0;"> 82 root 0 IW< [kworker/0:1H-ev]</div><div style="margin: 0;"> 87 root 0 IW< [kworker/0:2H-kb]</div><div style="margin: 0;"> 99 root 15044 S /lib/systemd/systemd-journald</div><div style="margin: 0;"> 106 root 12432 SN /usr/sbin/rngd -f -r /dev/hwrng</div><div style="margin: 0;"> 113 root 3556 S /lib/systemd/systemd-udevd</div><div style="margin: 0;"> 119 systemd- 15740 S /lib/systemd/systemd-timesyncd</div><div style="margin: 0;"> 150 systemd- 6572 S /lib/systemd/systemd-resolved</div><div style="margin: 0;"> 158 messageb 259m S /usr/bin/dbus-broker-launch --scope system --audit</div><div style="margin: 0;"> 159 messageb 2784 S dbus-broker --log 4 --controller 9 --machine-id 5d857203c9c84499ac3a444865e9edef --max-bytes 536870912 --max-fds 4096 --max-match</div><div style="margin: 0;"> 162 root 12944 S /usr/bin/bmcweb</div><div style="margin: 0;"> 163 root 2960 S /sbin/klogd -n</div><div style="margin: 0;"> 164 root 2960 S /sbin/syslogd -n</div><div style="margin: 0;"> 169 root 7348 S phosphor-dump-monitor</div><div style="margin: 0;"> 171 root 11648 S python /usr/sbin/obmc-phosphor-sysd</div><div style="margin: 0;"> 173 root 9400 S phosphor-certificate-manager --endpoint=ldap --path=/etc/ssl/certs/authority --unit=bmcweb.service --type=authority</div><div style="margin: 0;"> 174 root 9400 S phosphor-certificate-manager --endpoint=https --path=/etc/ssl/certs/https/server.pem --unit=bmcweb.service --type=server</div><div style="margin: 0;"> 175 root 14684 S /usr/sbin/nscd</div><div style="margin: 0;"> 176 root 9400 S phosphor-certificate-manager --endpoint=ldap --path=/etc/nslcd/certs/cert.pem --unit= --type=client</div><div style="margin: 0;"> 177 root 7604 S /usr/bin/phosphor-systemd-target-monitor -f /etc/phosphor-systemd-target-monitor/phosphor-target-monitor-default.json</div><div style="margin: 0;"> 178 root 5484 S slpd</div><div style="margin: 0;"> 184 root 7972 S phosphor-inventory</div><div style="margin: 0;"> 185 root 7284 S phosphor-ldap-mapper</div><div style="margin: 0;"> 187 root 7176 S phosphor-ledmanager</div><div style="margin: 0;"> 188 root 7592 S phosphor-log-manager</div><div style="margin: 0;"> 193 root 6236 S mapperx --service-namespaces=xyz.openbmc_project org.openbmc --interface-namespaces=org.freedesktop.DBus.ObjectManager xyz.openbm</div><div style="margin: 0;"> 195 root 7564 S phosphor-settings-manager</div><div style="margin: 0;"> 196 root 7244 S /usr/bin/phosphor-download-manager</div><div style="margin: 0;"> 198 root 7616 S phosphor-user-manager</div><div style="margin: 0;"> 214 root 21492 S /usr/bin/obmc-ikvm -v /dev/video0 -k /dev/hidg0 -p /dev/hidg1</div><div style="margin: 0;"> 216 root 7540 S phosphor-dump-manager</div><div style="margin: 0;"> 217 avahi 4460 S avahi-daemon: running [centriq2400-rep.local]</div><div style="margin: 0;"> 218 root 6684 S /bin/login --</div><div style="margin: 0;"> 225 avahi 4336 S avahi-daemon: chroot helper</div><div style="margin: 0;"> 227 root 49436 S /usr/sbin/nslcd</div><div style="margin: 0;"> 239 root 9972 S phosphor-dbus-monitor</div><div style="margin: 0;"> 241 root 7316 S phosphor-network-snmpconf</div><div style="margin: 0;"> 242 root 7744 S phosphor-network-manager</div><div style="margin: 0;"> 243 root 9288 S /usr/bin/phosphor-image-updater</div><div style="margin: 0;"> 244 root 7168 S /usr/bin/phosphor-bmc-state-manager</div><div style="margin: 0;"> 245 root 7596 S /usr/bin/phosphor-chassis-state-manager</div><div style="margin: 0;"> 256 root 5684 S phosphor-fru-fault-monitor</div><div style="margin: 0;"> 257 root 13292 S ipmid</div><div style="margin: 0;"> 259 root 10144 S phosphor-ldap-conf</div><div style="margin: 0;"> 261 root 9224 S /usr/bin/phosphor-version-software-manager</div><div style="margin: 0;"> 262 systemd- 6904 S /lib/systemd/systemd-networkd</div><div style="margin: 0;"> 263 root 11412 S /usr/bin/netipmid -c eth0</div><div style="margin: 0;"> 264 root 7340 S /usr/bin/phosphor-host-state-manager</div><div style="margin: 0;"> 268 root 7188 S phosphor-timemanager</div><div style="margin: 0;"> 282 root 3072 S -sh</div><div style="margin: 0;"> 296 root 0 Z [dreport]</div><div style="margin: 0;"> 414 root 0 IW [kworker/u2:1-ev]</div><div style="margin: 0;"> 426 root 2492 S /usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -G priv-admin -B</div><div style="margin: 0;"> 427 root 3072 S -sh</div><div style="margin: 0;"> 451 root 0 IW [kworker/u2:0-ev]</div><div style="margin: 0;"> 460 root 2960 R ps</div><div><br></div></div><p style="margin: 0;">2. but the ssl certification always not pass.</p><div style="margin: 0;"><br></div><div style="margin: 0;">the following is run on my desktop Linux command:</div><div style="margin: 0;"><p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">shilaimao@shilaimao-VirtualBox:~$ openssl s_client -showcerts
-servername server -connect 192.168.0.9:443 > http-server.pem<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">depth=0 C = US, O = OpenBMC, CN = testhost<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">verify error:num=18:self signed certificate<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">verify return:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">depth=0 C = US, O = OpenBMC, CN = testhost<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">verify error:num=10:certificate has expired<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">notAfter=Dec 30 00:00:54 1979 GMT<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">verify return:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">depth=0 C = US, O = OpenBMC, CN = testhost<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">notAfter=Dec 30 00:00:54 1979 GMT<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">verify return:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">read:errno=0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;"> </span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">curl --cacert </span><span style="font-size: 10pt; font-family: LinLibertineO-Identity-H;">http-server.pem</span><span style="font-size:9.0pt;font-family:"Courier New";color:#111111"> <a href="https://192.168.0.9/">https://<span style="font-family:等线;mso-ascii-theme-font:minor-fareast;mso-fareast-theme-font:
minor-fareast;mso-hansi-theme-font:minor-fareast">192.168.0.9</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111"> </span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">shilaimao@shilaimao-VirtualBox:~$
curl --cacert http-server.pem
https://192.168.0.9<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">curl: (60) SSL certificate
problem: certificate has expired<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">More details here:
https://curl.haxx.se/docs/sslcerts.html<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111"> </span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">curl failed to verify the
legitimacy of the server and therefore could not<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">establish a secure connection to
it. To learn more about this situation and<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal;mso-layout-grid-align:none;text-autospace:none"><span style="font-size:
9.0pt;font-family:"Courier New";color:#111111">how to fix it, please visit the
web page mentioned above.<o:p></o:p></span></p></div><p style="margin: 0;"><br></p><div style="margin: 0;"><br></div><div style="margin: 0;">do we need special configuration on the openbmc web server?</div><div style="margin: 0;">would u please help me on this or just give on some clue from openbmc website.</div><div style="margin: 0;">I also read the <a href="https://github.com/openbmc/docs">https://github.com/openbmc/docs</a>, cannot find used information.</div><div style="margin: 0;"><br></div><div style="margin: 0;">thanks</div><div style="margin: 0;">Steven</div><div style="margin: 0;"><br></div><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2020-04-22 13:17:21, "chunhui.jia" <chunhui.jia@linux.intel.com> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<style type="text/css">
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</style>
<div>Steven,</div>
<div> </div>
<div>check the log first to see details. </div>
<div> </div>
<div>Logfile of failure stored in:
/home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs.26507</div>
<div> </div>
<div>Looks like you want to do quick test with some openbmc full feature
enabled image. QEMU would help:</div><a href="https://github.com/openbmc/docs/blob/5cc3a78afbc453dabf2f9db86dd5092d075e9612/development/dev-environment.md#download-and-start-qemu-session">https://github.com/openbmc/docs/blob/5cc3a78afbc453dabf2f9db86dd5092d075e9612/development/dev-environment.md#download-and-start-qemu-session</a>
<div> </div>
<div>If your target is to enable these features on EVB board, take Milton's
suggestion "making incremental changes".</div>
<div>Take EVB recipe as basis and other platform conf as reference. Port
these phosphor features to that platform (EVB).<br></div>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; COLOR: #c0c0c0" align="left">2020-04-22
<hr id="SignNameHR" style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; WIDTH: 122px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px" align="left">
<span id="_FlashSignName">chunhui.jia</span> </div>
<hr style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px">
<blockquote id="ntes-flashmail-quote" style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; PADDING-LEFT: 0px; MARGIN-LEFT: 0px">
<div><strong>发件人:</strong>"Milton Miller II" <miltonm@us.ibm.com></div>
<div><strong>发送时间:</strong>2020-04-22 12:03</div>
<div><strong>主题:</strong>Re: I wan to debug the (export
TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board </div>
<div><strong>收件人:</strong>"shi"<slm_8269@163.com></div>
<div><strong>抄送:</strong>"openbmc"<openbmc@lists.ozlabs.org></div>
<div> </div>
<div>
<div>Around 9:26 PM in some timezone on April 21, 2020, shi <slm_8269@163.com> wrote: </div>
<div>>thanks for you info. </div>
<div>> </div>
<div>>I try </div>
<div>>the https://github.com/openbmc/openbmc/tree/master/meta-evb/meta-evb- </div>
<div>>aspeed/meta-evb-ast2500 image. the fitimage can startup. but the </div>
<div> </div>
<div> </div>
<div>Please consider adding more whitespace and vertical formatting to </div>
<div>your replies. </div>
<div> </div>
<div>I'm glad you can build the initial evb image and that it works. </div>
<div> </div>
<div>>readfish etc, many app not have. so I still use the IBM Romulus </div>
<div> </div>
<div>It occurs to me that this is likely to being a pure evb image and </div>
<div>not a obmc-phosphor image. Try adding this layer to start getting </div>
<div>the features. </div>
<div> </div>
<div>>image. it always nothing output after the uboot output the starting </div>
<div>>kernel info., for the meta-evb-ast2500, it can waiting then popup </div>
<div>>the log in prompt. I want to change the dtb files, that just cut it </div>
<div> </div>
<div>Please look at the documentation in the openbmc doc repository for </div>
<div>some additional suggestions on how to start modifing the image. </div>
<div> </div>
<div>https://github.com/openbmc/doc </div>
<div> </div>
<div>I don't remember which tty the evb uses for the console vs romulus. </div>
<div> </div>
<div>>just like the evb-2500's dts, but still cannot startup. so I changed </div>
<div>>the kernel of Romulus image's config files try to open the </div>
<div>>CONFIG_DEBUG_LL=y, when bitbake obmc-phosphor-image, there always </div>
<div> </div>
<div>I've heard of this option but not familar with people using it for </div>
<div>aspeed debug. </div>
<div> </div>
<div>>has error info: ERROR: obmc-phosphor-initramfs-1.0-r0 do_rootfs: The </div>
<div>>postinstall intercept hook 'update_udev_hwdb' failed, details in </div>
<div>>/home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbm </div>
<div>>c-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs </div>
<div>>ERROR: Logfile of failure stored in: </div>
<div>>/home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbm </div>
<div>>c-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs.265 </div>
<div>>07 </div>
<div> </div>
<div>The udev-hwdb image is a database of fixups for usb devices. I thought </div>
<div>it was suppressed for Romulus but don't remember. Also the problem may </div>
<div>be related to turning on the read-only filesystem feature but again I </div>
<div>don't remember. </div>
<div> </div>
<div>Again consider making incremental changes. </div>
<div> </div>
<div>https://github.com/openbmc/doc/blob/master/yocto-development.md </div>
<div> </div>
<div>https://github.com/openbmc/docs/tree/master/development </div>
<div> </div>
<div> </div>
<div>>ERROR: Task </div>
<div>>(/home/shilaimao/bmc/romulus-bmc/openbmc/meta-phosphor/recipes-phosph </div>
<div>>or/images/obmc-phosphor-initramfs.bb:do_rootfs) failed with exit code </div>
<div>>'1' how to remove this update_udev_hwdb error? I also install the </div>
<div>>sdk from the development doc, it can make only zImage files. the </div>
<div>>default make. and I also need the rootfs. so I can debug by the bootm </div>
<div>>kernel rootfs dtb. but how to separated changed and compile the </div>
<div>>rootfs? from the Romulus dts files, it is no big difference, so I </div>
<div>>think it should startup based on some changes. if u have time please </div>
<div>>help me answer this questions. thanks Steven </div>
<div> </div>
<div> </div>
<div>I tend to do specific low level coding and not the full stack, so I will </div>
<div>ask you to read and hope others can help with your future questions. </div>
<div> </div>
<div>> </div>
<div>> </div>
<div>>At 2020-04-20 11:04:59, "Milton Miller II" <miltonm@us.ibm.com> </div>
<div>>wrote: </div>
<div>>>On April 19, 2020 around 07:15PM in some timezone, shi wrote: </div>
<div>>> </div>
<div>>>>Subject: [EXTERNAL] how run (export </div>
<div>>>>TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board </div>
<div>>>> </div>
<div>>>> </div>
<div>>> </div>
<div>>>>I am now focus on the BMC. </div>
<div>>>>Build based on the openbmc https://github.com/openbmc/openbmc, then </div>
<div>>>>want to run on evb2500 board of aspeed, when download the fitimage </div>
<div>>by </div>
<div>>>>tftpserver then bootm, always stuck on the starting kernel. The </div>
<div>>>>hardware also 2500 type. Why not startup. How I changed the code </div>
<div>>can </div>
<div>>>>boot up? Is there any clue on this? </div>
<div>>>> </div>
<div>>> </div>
<div>>>Consder trying the evaluation board config, as ranier will have ncsi </div>
<div>> </div>
<div>>>configured for the network and could easily have different configs </div>
<div>>>such as GPIO assignments. </div>
<div>>> </div>
<div>>>The ast2500 evb config is in the tree below: </div>
<div>>> </div>
<div>>>https://github.com/openbmc/openbmc/tree/master/meta-evb/meta-evb-asp </div>
<div>>eed/meta-evb-ast2500 </div>
<div>>> </div>
<div>>>> </div>
<div>>>>Thanks </div>
<div>>>>Steven </div>
<div> </div>
<div>milton </div>
<div> </div></div></blockquote></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>