Re: Re: I wan to debug the (export TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board

chunhui.jia chunhui.jia at linux.intel.com
Wed Apr 22 15:17:21 AEST 2020


Steven,

check the log first to see details. 

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

Looks like you want to do quick test with some openbmc full feature enabled image.  QEMU would help:
https://github.com/openbmc/docs/blob/5cc3a78afbc453dabf2f9db86dd5092d075e9612/development/dev-environment.md#download-and-start-qemu-session

If your target is to enable these features on EVB board, take Milton's suggestion "making incremental changes".
Take EVB recipe as basis and other platform conf as reference. Port these phosphor features to that platform (EVB).

2020-04-22 

chunhui.jia 



发件人:"Milton Miller II" <miltonm at us.ibm.com>
发送时间:2020-04-22 12:03
主题:Re: I wan to debug the (export TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board 
收件人:"shi"<slm_8269 at 163.com>
抄送:"openbmc"<openbmc at lists.ozlabs.org>

Around 9:26 PM in some timezone on April 21, 2020, shi  <slm_8269 at 163.com> wrote: 
>thanks for you info. 
> 
>I try 
>the https://github.com/openbmc/openbmc/tree/master/meta-evb/meta-evb- 
>aspeed/meta-evb-ast2500 image. the fitimage can startup. but the 


Please consider adding more whitespace and vertical formatting to  
your replies. 

I'm glad you can build the initial evb image and that it works. 

>readfish etc, many app not have.  so I still use the IBM Romulus 

It occurs to me that this is likely to being a pure evb image and  
not a obmc-phosphor image.  Try adding this layer to start getting  
the features. 

>image. it always nothing output after the uboot output the starting 
>kernel info., for the  meta-evb-ast2500, it can waiting then popup 
>the log in prompt. I want to change the dtb files, that just cut it 

Please look at the documentation in the openbmc doc repository for  
some additional suggestions on how to start modifing the image. 

https://github.com/openbmc/doc 

I don't remember which tty the evb uses for the console vs romulus. 

>just like the evb-2500's dts, but still cannot startup.  so I changed 
>the kernel of Romulus image's config files try to open the 
>CONFIG_DEBUG_LL=y, when  bitbake obmc-phosphor-image, there always 

I've heard of this option but not familar with people using it for  
aspeed debug. 

>has error info:  ERROR: obmc-phosphor-initramfs-1.0-r0 do_rootfs: The 
>postinstall intercept hook 'update_udev_hwdb' failed, details in 
>/home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbm 
>c-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs 
>ERROR: Logfile of failure stored in: 
>/home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbm 
>c-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs.265 
>07 

The udev-hwdb image is a database of fixups for usb devices.  I thought  
it was suppressed for Romulus but don't remember.  Also the problem may  
be related to turning on the read-only filesystem feature but again I  
don't remember. 

Again consider making incremental changes. 

https://github.com/openbmc/doc/blob/master/yocto-development.md 

https://github.com/openbmc/docs/tree/master/development 


>ERROR: Task 
>(/home/shilaimao/bmc/romulus-bmc/openbmc/meta-phosphor/recipes-phosph 
>or/images/obmc-phosphor-initramfs.bb:do_rootfs) failed with exit code 
>'1'   how to remove this update_udev_hwdb error?  I also install the 
>sdk from the development doc, it can make only zImage files. the 
>default make. and I also need the rootfs. so I can debug by the bootm 
>kernel rootfs dtb.  but how to separated changed and  compile the 
>rootfs?  from the Romulus dts files, it is no big difference, so I 
>think it should startup based on some changes.  if u have time please 
>help me answer this questions.  thanks Steven      


I tend to do specific low level coding and not the full stack, so I will  
ask you to read and hope others can help with your future questions. 

> 
> 
>At 2020-04-20 11:04:59, "Milton Miller II" <miltonm at us.ibm.com> 
>wrote: 
>>On April 19, 2020 around 07:15PM in some timezone, shi wrote: 
>> 
>>>Subject: [EXTERNAL] how run (export 
>>>TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board  
>>> 
>>> 
>> 
>>>I am now focus on the BMC. 
>>>Build based on the openbmc https://github.com/openbmc/openbmc, then 
>>>want to run on evb2500 board of aspeed, when download the fitimage 
>by 
>>>tftpserver then bootm, always stuck on the starting kernel. The 
>>>hardware also 2500 type. Why not startup. How I changed the code 
>can 
>>>boot up?   Is there any clue on this?  
>>> 
>> 
>>Consder trying the evaluation board config, as ranier will have ncsi 
> 
>>configured for the network and could easily have different configs  
>>such as GPIO assignments. 
>> 
>>The ast2500 evb config is in the tree below: 
>> 
>>https://github.com/openbmc/openbmc/tree/master/meta-evb/meta-evb-asp 
>eed/meta-evb-ast2500 
>> 
>>> 
>>>Thanks 
>>>Steven 

milton 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200422/08db1b74/attachment-0001.htm>


More information about the openbmc mailing list