合集-OpenBMC

摘要:注释sanity.bbclass文件中的以下代码: #if 0 == os.getuid(): # raise_sanity_error("Do not use Bitbake as root.", d) 阅读全文
posted @ 2024-08-18 20:41 NotReferenced 阅读(254) 评论(0) 推荐(0)
摘要:1、前置条件 sudo apt install git python3-distutils gcc g++ make file wget \ gawk diffstat bzip2 cpio chrpath zstd lz4 bzip2 2、构建OpenBMC git clone https://g 阅读全文
posted @ 2024-08-19 22:26 NotReferenced 阅读(628) 评论(0) 推荐(0)
摘要:1、提取源代码 提取想要修改仓库源代码 devtool modify phosphor-state-manager 2、修改源代码 vi workspace/sources/phosphor-state-manager/bmc_state_manager_main.cpp +#include <io 阅读全文
posted @ 2024-08-21 06:46 NotReferenced 阅读(268) 评论(0) 推荐(0)
摘要:1、修改指定文件 vi workspace/sources/phosphor-state-manager/bmc_state_manager_main.cpp 2、编译修改的仓库 bitbake phosphor-state-manager 编译后的二进制文件:./workspace/sources 阅读全文
posted @ 2024-08-21 07:37 NotReferenced 阅读(212) 评论(0) 推荐(0)
摘要:1、Please make sure locale 'en_US.UTF-8' is available on your system 检查区域设置 locale -a 如果不在生成区域设置 sudo locale-gen en_US.UTF-8 更新区域设置 sudo update-locale 阅读全文
posted @ 2024-08-25 18:53 NotReferenced 阅读(229) 评论(0) 推荐(0)