From: "chunhui.jia" <chunhui.jia@linux.intel.com>
To: "Milton Miller II" <miltonm@us.ibm.com>,"shi" <slm_8269@163.com>
Cc: "openbmc" <openbmc@lists.ozlabs.org>
Subject: Re: Re: I wan to debug the (export TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board
Date: Wed, 22 Apr 2020 13:17:21 +0800 [thread overview]
Message-ID: <5E9FD35C.1040508@linux.intel.com> (raw)
In-Reply-To: <OF30D260EE.ED6617FE-ON00258552.00113D50-00258552.00164769@notes.na.collabserv.com>
[-- Attachment #1: Type: text/plain, Size: 5154 bytes --]
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@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@163.com>
抄送:"openbmc"<openbmc@lists.ozlabs.org>
Around 9:26 PM in some timezone on April 21, 2020, shi <slm_8269@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@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
[-- Attachment #2: Type: text/html, Size: 11626 bytes --]
next prev parent reply other threads:[~2020-04-22 5:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 3:03 how run (export TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board shi
2020-04-20 3:04 ` Milton Miller II
2020-04-22 2:25 ` I wan to debug the " shi
2020-04-22 4:03 ` Milton Miller II
2020-04-22 5:17 ` chunhui.jia [this message]
2020-04-28 3:05 ` bmc web error info on porting the recipes-phosphor based on meta-evb-ast2500 shi
2020-05-18 9:50 ` centriq2400-rep is run but the bmcweb always cannot log in shi
2020-04-23 3:36 ` I wan to debug the (export TEMPLATECONF=meta-ibm/meta-romulus/conf ) on evb2500 board Andrew Jeffery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5E9FD35C.1040508@linux.intel.com \
--to=chunhui.jia@linux.intel.com \
--cc=miltonm@us.ibm.com \
--cc=openbmc@lists.ozlabs.org \
--cc=slm_8269@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.