<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><!-- flashmail style begin -->
<STYLE type=text/css>
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.9600.19678"></HEAD>
<BODY
style="BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10.5pt; FONT-FAMILY: ΢ÈíÑźÚ; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; MARGIN: 12px; LINE-HEIGHT: 1.5; BORDER-TOP-WIDTH: 0px"
marginheight="0" marginwidth="0">
<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></BODY></HTML>