There is no image generated while build ast2500 evb

Brandon Wyman bjwyman at gmail.com
Fri Nov 15 08:40:17 AEDT 2019


I found this a curiosity, so while catching up on some mailing list
e-mails, I decided to give this build a go.

While it was running, I stumbled upon a similar mailing list topic,
but there it apparently builds a binary file, but some questions on
missing executables:

AST2500 Evaluation Board build question   Dolaty, Mohsen
https://lists.ozlabs.org/pipermail/openbmc/2019-October/019227.html

When I checked back on the build attempt, it seemed to work, with some warnings:
[build]$ cd /tmp/$USER
[build]$ ls
[build]$ mkdir evb
[build]$ cd evb
[build]$ export TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf
[build]$ source $BMCDIR/openbmc/openbmc/openbmc-env
[build]$ obmc_add_mirror
[build]$ umask 0002
[build]$ uptime; date; time nice -10 bitbake obmc-phosphor-image; date; uptime

...
WARNING: python-pygobject-2.28.7-r0 do_patch: Fuzz detected:

Applying patch obsolete_automake_macros.patch
patching file configure.ac
Hunk #2 succeeded at 82 with fuzz 1.

The context lines in the patches can be updated with devtool:

    devtool modify python-pygobject
    devtool finish --force-patch-refresh python-pygobject <layer_path>

Don't forget to review changes done by devtool!

WARNING: python-pygobject-2.28.7-r0 do_patch: QA Issue: Patch log
indicates that patches do not apply cleanly. [patch-fuzz]
WARNING: obmc-phosphor-sysd-1.0-r1 do_package_qa: QA Issue:
obmc-phosphor-sysd: SRC_URI uses PN not BPN [src-uri-bad]
NOTE: Tasks Summary: Attempted 4146 tasks of which 2542 didn't need to
be rerun and all succeeded.

Summary: There were 12 WARNING messages shown.

real    13m43.299s
user    0m7.645s
sys     0m1.221s
Thu Nov 14 14:17:07 CST 2019
...
[build]$ ls tmp
abi_version  cache   hosttools  pkgdata  saved_tmpdir    stamps
sysroots-components  work-shared
buildstats   deploy  log        qa.log   sstate-control  sysroots  work
[build]$ ls tmp/deploy/
images  licenses  rpm
[build]$ ls tmp/deploy/images
evb-ast2500
[build]$ ls tmp/deploy/images/evb-ast2500/
aspeed-ast2500-evb--5.3.11+git0+d41fa1fda1-r0-evb-ast2500-20191114200346.dtb
aspeed-ast2500-evb.dtb
aspeed-ast2500-evb-evb-ast2500.dtb
aspeed-image-initramfs-evb-ast2500-20191114200346.rootfs.cpio.xz
aspeed-image-initramfs-evb-ast2500-20191114200346.rootfs.manifest
aspeed-image-initramfs-evb-ast2500-20191114200346.testdata.json
aspeed-image-initramfs-evb-ast2500.cpio.xz
aspeed-image-initramfs-evb-ast2500.manifest
aspeed-image-initramfs-evb-ast2500.testdata.json
fitImage
fitImage--5.3.11+git0+d41fa1fda1-r0-evb-ast2500-20191114200346.bin
fitImage-aspeed-image-initramfs-evb-ast2500--5.3.11+git0+d41fa1fda1-r0-evb-ast2500-20191114200346.bin
fitImage-aspeed-image-initramfs-evb-ast2500-evb-ast2500
fitImage-evb-ast2500.bin
fitImage-its--5.3.11+git0+d41fa1fda1-r0-evb-ast2500-20191114200346.its
fitImage-its-aspeed-image-initramfs-evb-ast2500--5.3.11+git0+d41fa1fda1-r0-evb-ast2500-20191114200346.its
fitImage-its-aspeed-image-initramfs-evb-ast2500-evb-ast2500
fitImage-its-evb-ast2500
fitImage-linux.bin--5.3.11+git0+d41fa1fda1-r0-evb-ast2500-20191114200346.bin
fitImage-linux.bin-evb-ast2500
obmc-phosphor-image-evb-ast2500-20191114200346.rootfs.manifest
obmc-phosphor-image-evb-ast2500-20191114200346.rootfs.tar.gz
obmc-phosphor-image-evb-ast2500-20191114200346.testdata.json
obmc-phosphor-image-evb-ast2500.manifest
obmc-phosphor-image-evb-ast2500.tar.gz
obmc-phosphor-image-evb-ast2500.testdata.json
[build]$

Not that there is NOT an mtd file, but the bin file mentioned in the
other post is there. I am not certain what the differing extensions
mean right now though.

On Mon, Oct 28, 2019 at 12:37 AM Muggeridge, Matt
<matt.muggeridge2 at hpe.com> wrote:
>
> Tyler,
>
>
>
> I have encountered the same issue, and also found that it had been raised as Issue #3610, for which there is currently no response.
>
>
>
> FWIW, for me, I was only trying to gain experience with the OpenBMC dev environment and create something to emulate in QEMU.  This initial hurdle was very frustrating and time-wasting, as there are several components that don’t build using the supplied instructions, and the “Issues” raised on github are unanswered.  I ended up targeting a machine name that is supported by the “./setup” script (for a list of machines, execute “. ./setup”), as described in the OpenBMC Wiki.
>
>
>
> Matt.
>
>
>
> From: Deng Tyler <tyler.sabdon at gmail.com>
> Sent: Tuesday, 22 October 2019 6:28 PM
> To: OpenBMC Maillist <openbmc at lists.ozlabs.org>
> Subject: There is no image generated while build ast2500 evb
>
>
>
> Hi All:
>
>     I build openbmc latest version, just clone openbmc master branch, and do following command:
>
> export TEMPLATECONF=./meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf
>
> . openbmc-env
>
> bitbake obmc-phosphor-image.
>
> After build successfully, there is no file "flash-evb-ast2500" and any *.mtd file in /openbmc/build/tmp/deploy/images/evb-ast2500. Could someone help to build ast2500 evb image? thanks.
>
>
>
> Tyler
>
>


More information about the openbmc mailing list