build error in AMD Ethanolx
Supreeth Venkatesh
supreeth.venkatesh at amd.com
Fri Oct 9 01:01:45 AEDT 2020
On 10/8/20 1:02 AM, J Dhanasekar wrote:
> [CAUTION: External Email]
> Hi Supreeth,
>
> I was able to build the AMD Ethanolx source successfully. I have executed your mentioned commands only,
>
> *. setup ethanolx
> bitbake obmc-phosphor-image *
>
> I built the code in normal user privilege, not root user.
> Thanks for your support.
Thanks for letting me know.
>
> Do you have a linux DTS for BMC of DaytonaCRB ?.
Unfortunately, we are not supporting Daytona CRB yet, but we are working towards enabling OpenBMC on Daytona soon. Stay tuned.
>
> -Dhanasekar
>
> On Thu, Oct 8, 2020 at 12:21 AM Anton Kachalov <rnouse at google.com <mailto:rnouse at google.com>> wrote:
>
> Hey,
>
> would you mind to find the *log.do_rootfs* file for obmc-phosphor-initramfs under build/tmp/work. This task has failed.
>
> For instance, on qemuarm target the path looks like this (for obmc-phosphor-*image* instead of obmc-phosphor-*initramfs*):
>
> build/tmp/work/qemuarm-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/temp/log.do_rootfs
>
> On Wed, 7 Oct 2020 at 20:35, Supreeth Venkatesh <supreeth.venkatesh at amd.com <mailto:supreeth.venkatesh at amd.com>> wrote:
>
> On 10/7/20 10:11 AM, J Dhanasekar wrote:
> > [CAUTION: External Email]
> > Hi Supreeth,
> >
> > Thanks for the reply,
> >
> > I have attached the complete error log. Please view it.
> >
> > I have removed the build folder and created a new one twice. Still I am seeing the same error.
> This may be environment issue in your setup.
> I am not seeing this error in my environment with the latest master.
>
> . setup ethanolx
> bitbake bitbake obmc-phosphor-image
>
>
> "WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION = "1.47.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "ubuntu-18.04"
> TARGET_SYS = "arm-openbmc-linux-gnueabi"
> MACHINE = "ethanolx"
> DISTRO = "openbmc-phosphor"
> DISTRO_VERSION = "0.1.0"
> TUNE_FEATURES = "arm thumb arm1176jzs"
> TARGET_FPU = "soft"
> meta
> meta-oe
> meta-networking
> meta-perl
> meta-python
> meta-phosphor
> meta-aspeed
> meta-amd
> meta-ethanolx = "master:c3d88e4d9fcc08e1aae7cc9d0337c0261e996c64""
>
> ....
> ....
> ....
>
> NOTE: Running task 4241 of 4243 (/home/supvenka/work/openbmc_upstream/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb:do_image_complete)
> NOTE: recipe obmc-phosphor-image-1.0-r0: task do_image_complete: Started
> NOTE: recipe obmc-phosphor-image-1.0-r0: task do_image_complete: Succeeded
> NOTE: Running task 4242 of 4243 (/home/supvenka/work/openbmc_upstream/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb:do_populate_lic_deploy)
> NOTE: recipe obmc-phosphor-image-1.0-r0: task do_populate_lic_deploy: Started
> NOTE: recipe obmc-phosphor-image-1.0-r0: task do_populate_lic_deploy: Succeeded
> NOTE: Running noexec task 4243 of 4243 (/home/supvenka/work/openbmc_upstream/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb:do_build)
> NOTE: Tasks Summary: Attempted 4243 tasks of which 2 didn't need to be rerun and all succeeded."
> >
> > Thanks,
> > Dhanasekar
> >
> > On Wed, Oct 7, 2020 at 8:08 PM Supreeth Venkatesh <supreeth.venkatesh at amd.com <mailto:supreeth.venkatesh at amd.com> <mailto:supreeth.venkatesh at amd.com <mailto:supreeth.venkatesh at amd.com>>> wrote:
> >
> > On 10/7/20 5:44 AM, J Dhanasekar wrote:
> > > [CAUTION: External Email]
> > > Hi openBMC,
> > Hi Dhanasekar
> >
> > >
> > > I am working to build BMC for AMD Ethanolx platform,
> > Nice to hear.
> > >
> > > After running *bitbake u-boot-aspeed* and *bitbake obmc-phosphor-image*,
> > > I am getting below error,
> > >
> > > ERROR: obmc-phosphor-initramfs-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed, details in /home/user/dhanasekar/BMC/AMD/openbmc/build/tmp/work/ethanolx-openbmc-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs
> > > ERROR: Logfile of failure stored in: /home/user/dhanasekar/BMC/AMD/openbmc/build/tmp/work/ethanolx-openbmc-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs.14182
> > > ERROR: Task (/home/user/dhanasekar/BMC/AMD/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb:do_rootfs) failed with exit code '1'
> > >
> > Can you send me the complete build logs?
> >
> > > Please help me to fix the error,
> > rm the build folder and retry once.
> > I will build it once today as well and confirm. It may not been tested with latest upstream changes.
> >
> > >
> > > Thanks,
> > > Dhanasekar,
> >
>
More information about the openbmc
mailing list