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

Milton Miller II miltonm at us.ibm.com
Wed Apr 22 14:03:20 AEST 2020


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



More information about the openbmc mailing list