amdese / openbmc Goto Github PK
View Code? Open in Web Editor NEWOpenBMC for Genoa SP5 socket platforms
License: Other
OpenBMC for Genoa SP5 socket platforms
License: Other
I got two errors when building OpenBMC.
Both errors say that esmi_mailbox_nda.h is missing.
| /home/tajima/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/cpu-info/1.0-r0/git/src/cpu_info.cpp:25:10: fatal error: esmi_mailbox_nda.h: No such file or directory
| 25 | #include "esmi_mailbox_nda.h"
| | ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
|
| /home/tajima/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/amd-ras/1.0-r0/git/src/main.cpp:39:10: fatal error: esmi_mailbox_nda.h: No such file or directory
| 39 | #include "esmi_mailbox_nda.h"
| | ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
|
Where can I get esmi_mailbox_nda.h?
Unexpected behavior you saw
The SRCREV of apml_library is not the latest commit hash, which causes an error.
There will be a missing structure definition error if the current SRCREV is used. Therefore, I need to modify the SRCREV to the latest commit hash of apml_library.
Expected behavior
It should be the latest commit hash and it can be compiled successfully.
To Reproduce
Steps to reproduce the behavior:
mkdir OpenBMC
git clone https://github.com/AMDESE/OpenBMC.git .
. setup sp5
bitbake obmc-phosphor-image
OpenBMC Information:
"Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
Linux 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Hi supreeth,
I am getting build error when I built AMDESE/openBMC
(master branch) .
I have followed the instruction mentioned in this site https://github.com/AMDESE/OpenBMC.
Note on Bugs
Please note that questions or feature requests should be discussed on the
mailing list or Discord. Please see https://github.com/openbmc/openbmc#contact
for info on how to contact us. Github Issues in openbmc/openbmc are for bugs
only. Please remove this section when opening a bug.
Unexpected behavior
WARNING: /home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/meta-amd/meta-common/recipes-amd/power-capping/power-capping.bb: Exception during build_dependencies for AUTOREV
WARNING: /home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/meta-amd/meta-common/recipes-amd/power-capping/power-capping.bb: Error during finalise of /home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/meta-amd/meta-common/recipes-amd/power-capping/power-capping.bb
ERROR: ExpansionError during parsing /home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/meta-amd/meta-common/recipes-amd/power-capping/power-capping.bb
Traceback (most recent call last):
File "/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/lib/bb/fetch2/init.py", line 1172, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f47acac06a0>, d=<bb.data_smart.DataSmart object at 0x7f47ab4ae5b0>, name='default'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)
File "/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/lib/bb/fetch2/init.py", line 1581, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f47acac06a0>, d=<bb.data_smart.DataSmart object at 0x7f47ab4ae5b0>, name='default'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/lib/bb/fetch2/git.py", line 690, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f47acac06a0>, d=<bb.data_smart.DataSmart object at 0x7f47ab4ae5b0>, name='default'):
"""
> output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
File "/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/lib/bb/fetch2/git.py", line 679, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f47acac06a0>, d=<bb.data_smart.DataSmart object at 0x7f47ab4ae5b0>, search=''):
bb.fetch2.check_network_access(d, cmd, repourl)
> output = runfetchcmd(cmd, d, True)
if not output:
File "/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/lib/bb/fetch2/init.py", line 889, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=81ff6b66be9365dac7f1b79d64c0db4f"; export SSH_AGENT_PID="13332"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/scripts:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/usr/sbin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/usr/bin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/sbin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/bin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/bin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/hosttools"; export HOME="/home/user"; git -c core.fsyncobjectfiles=0 ls-remote ssh://[email protected]/AMDESE/amd-power-cap.git ', d=<bb.data_smart.DataSmart object at 0x7f47ab4ae5b0>, quiet=True, cleanup=[], log=None, workdir=None):
> raise FetchError(error_message)
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=81ff6b66be9365dac7f1b79d64c0db4f"; export SSH_AGENT_PID="13332"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/scripts:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/usr/sbin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/usr/bin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/sbin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/power-capping/1.0-r0/recipe-sysroot-native/bin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/poky/bitbake/bin:/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/hosttools"; export HOME="/home/user"; git -c core.fsyncobjectfiles=0 ls-remote ssh://[email protected]/AMDESE/amd-power-cap.git failed with exit code 1, output:
Traceback (most recent call last):
File "/home/user/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5/tmp/hosttools/git", line 30, in
os.execv(real_git, sys.argv)
TypeError: execv: path should be string, bytes or os.PathLike, not NoneType
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
user@quanta:~/dhanasekar/BMC/AMD/AMDESE/OB1/OpenBMC/build/sp5$
A clear and concise description of what unexpectedly happened.
Expected behavior
Source should build successfully for sp5 machine.
To Reproduce
Steps to reproduce the behavior:
mkdir OpenBMC
cd OpenBMC
git clone https://github.com/AMDESE/OpenBMC.git .
. setup sp5
bitbake obmc-phosphor-image
Screenshots
OS Information:
/etc/os-release:
NAME="Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
uname -a:
Linux quanta 4.15.0-176-generic #185-Ubuntu SMP Tue Mar 29 17:40:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Please correct me, If I made any mistake in building process.
Please provide your suggestion.
Hi, I am trying to compile OpenBMC on AMD the Genoa sp5 server. However, it keeps showing me some variables expanding failures. I am not sure they are python version portability issues or I miss something. (I am using Python 3.10.12.)
Unexpected behavior you saw
I tried to compile OpenBMC, but faced an error:
ERROR: ExpansionError during parsing /home/amd/OpenBMC/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb | ETA: 0:00:04
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable KERNEL_VERSION, expression was ${@get_kernelversion_headers('/home/amd/OpenBMC/build/sp5/tmp/work/sp5-openbmc-linux-gnueabi/linux-yocto-tiny/5.4.107+git${SRCPV}-r0/linux-sp5-tiny-build')} which triggered exception SyntaxError: unterminated string literal (detected at line 1) (Var <KERNEL_VERSION>, line 1)
From this error, I found that 'SRCPV' was not defined, which caused the expansion failure.
After I uncommented SRCPV = "${@bb.fetch2.get_srcrev(d)}"
in /OpenBMC/meta/conf/bitbake.conf
to try to resolve the issue, I got another error:
ERROR: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
Expected behavior
OpenBMC should compile successfully on following the instructions in the README file.
To Reproduce
Steps to reproduce the behavior:
mkdir OpenBMC
.cd OpenBMC
git clone https://github.com/AMDESE/OpenBMC.git
. . setup sp5
/OpenBMC/poky/bitbake/lib/bb
to change from collection import ...
to from collection.abc import ...
). This was done to solve trivial Python version issues, like the change of syntax with different versions.bitbake obmc-phosphor-image
SRCPV = "${@bb.fetch2.get_srcrev(d)}"
in /OpenBMC/meta/conf/bitbake.confScreenshots
First error:
Second error:
OpenBMC Information:
PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
Linux 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
error message is: fatal: Could not read from remote repository
below github url is not found
@edtanous;@iwoloschin;@yocto-zz-project;@strange671; @Banjars-Insyde; @JerryNieXJ;@pravinashj; @joe5510; @ckimchan; @FrederickLTLee;@edwinliu0229;@leiyu-bytedance;@MichaelJeiShen;@Fii-USA;@ahuja-sanjay;@xp-chen;
@AlexHsieh6698;@JamesChang-Inventec;@insyde-conradyao;@huangalang;@averyzlyang;@jonleeami;
@allenliu0513;@FXN-BMC-SteveZhang;@Aarya-AMD;@FXN-Queena-BMC;@leesonghua;@ezekriAtos;@adoussain2;
@brassac;@AprilTseng2021;@FrancoisOliveau;@EilinLi;@gkech381;@jinbaodou-bytedance;@lida903;@Suma-qiuhw;
@nick-tseng;@NimoHsieh;@EricLin1206;@pkr-amazon
We are going to enforce two factor authentication in (https://github.com/AMDESE) organization on 9th March , 2022 . Since we identified you as outside collaborator for AMD organization, you need to enable two factor authentication in your github account else you shall be removed from the organization after the enforcement. Please skip if already done.
To set up two factor authentication, please go through the steps in below link:
Please email "[email protected]" for queries
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.