【OpenBMC 系列】2.OpenBMC镜像编译流程
1.依赖安装
Yocto
Build Host Packages
You must install essential host packages on your build host. The following command installs the host packages based on an Ubuntu distribution:
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
2.配置
. setup evb-ast2600
先到build/evb-ast2600目录下,查看配置文件:
cat conf/local.conf
3.编译
只下载代码
bitbake obmc-phosphor-image -c fetch
test@ubuntu:~/Documents/openbmc_ws/openbmc/build/evb-ast2600$ bitbake obmc-phosphor-image -c fetch
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
WARNING: /home/test/Documents/openbmc_ws/openbmc/meta-phosphor/recipes-phosphor/mrw/mrw-api-native.bb: QA Issue: mrw-api-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: mrw-rev.bbclass perl-version.bbclass cpan-base.bbclass perlnative.bbclass [native-last]
Parsing recipes: 100% |#########################################################################################################| Time: 0:02:21
Parsing of 2629 .bb files complete (0 cached, 2629 parsed). 4034 targets, 370 skipped, 0 masked, 0 errors.
WARNING: No bb files in default matched BBFILE_PATTERN_meta-evb-ast2600 '^/home/test/Documents/openbmc_ws/openbmc/meta-evb/meta-evb-aspeed/meta-evb-ast2600/'
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "1.51.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-openbmc-linux-gnueabi"
MACHINE = "evb-ast2600"
DISTRO = "openbmc-phosphor"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv7a vfp vfpv4d16 callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-oe
meta-networking
meta-perl
meta-python
meta-security
meta-phosphor
meta-aspeed
meta-evb-ast2600 = "master:7843a81ebc3592ec45793964880328937305b8c2"Initialising tasks: 100% |######################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Local 0 Network 0 Missed 0 Current 0 (0% match, 0% complete)
NOTE: No setscene tasks
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.Summary: There were 2 WARNING messages shown.
test@ubuntu:~/Documents/openbmc_ws/openbmc/build/evb-ast2600$ time bitbake obmc-phosphor-image
Loading cache: 100% |###########################################################################################################| Time: 0:00:01
Loaded 4033 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################| Time: 0:00:00
Parsing of 2629 .bb files complete (2628 cached, 1 parsed). 4034 targets, 370 skipped, 0 masked, 0 errors.
WARNING: No bb files in default matched BBFILE_PATTERN_meta-evb-ast2600 '^/home/test/Documents/openbmc_ws/openbmc/meta-evb/meta-evb-aspeed/meta-evb-ast2600/'
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "1.51.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-openbmc-linux-gnueabi"
MACHINE = "evb-ast2600"
DISTRO = "openbmc-phosphor"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv7a vfp vfpv4d16 callconvention-hard"
TARGET_FPU = "hard"
编译并显示时间
time bitbake obmc-phosphor-image
test@ubuntu:~/Documents/openbmc_ws/openbmc/build/evb-ast2600$ bitbake obmc-phosphor-image
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:00
Loaded 4033 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################################################################| Time: 0:00:00
Parsing of 2629 .bb files complete (2628 cached, 1 parsed). 4034 targets, 370 skipped, 0 masked, 0 errors.
WARNING: No bb files in default matched BBFILE_PATTERN_meta-evb-ast2600 '^/home/test/Documents/openbmc_ws/openbmc/meta-evb/meta-evb-aspeed/meta-evb-ast2600/'
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "1.51.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-openbmc-linux-gnueabi"
MACHINE = "evb-ast2600"
DISTRO = "openbmc-phosphor"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv7a vfp vfpv4d16 callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-oe
meta-networking
meta-perl
meta-python
meta-security
meta-phosphor
meta-aspeed
meta-evb-ast2600 = "master:7843a81ebc3592ec45793964880328937305b8c2"Initialising tasks: 100% |##################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 0 Local 0 Network 0 Missed 0 Current 1334 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3782 tasks of which 3782 didn't need to be rerun and all succeeded.Summary: There was 1 WARNING message shown.
real 40m16.310s
user 0m10.051s
sys 0m2.011s
【OpenBMC 系列】2.OpenBMC镜像编译流程相关推荐
- PaddleFL 1.2.0版本 使用docker镜像编译流程(Ubuntu 20.04)
宿主机环境:centos 目前测试Ubuntu 20.04下也可编译 中间可能会遇到多次fatal:unable to access 'https://github.com/........',多试几 ...
- 【OpenBMC 系列】1.OpenBMC 开发环境搭建
目标: 安装Linux 系统,推荐使用Ubuntu18+,作为开发环境. 安装Qemu 作为bmc运行的虚拟机. 受众:熟悉 Linux 和 BMC 的程序员 先决条件:当前的 Linux.Mac 或 ...
- 4-uboot编译流程
[uboot] (第四章)uboot流程--uboot编译流程 2016年11月01日 21:23:36 阅读数:2983 以下例子都以project X项目tiny210(s5pv210平台,arm ...
- uboot-spl编译流程
[uboot] (第二章)uboot流程--uboot-spl编译流程 2016年10月27日 20:40:47 阅读数:2675 以下例子都以project X项目tiny210(s5pv210平台 ...
- 高通Android智能平台环境搭建_编译流程分析
高通Android智能平台环境搭建_编译流程分析 高通平台环境搭建,编译,系统引导流程分析 TOC \o \h \z \u 1. 高通平台android开发总结. 7 1.1 搭建高通平台环境开发环境 ...
- iOS之LLVM编译流程和Clang插件开发集成
LLVM 简介 一.什么是 LLVM? LLVM 是构架编译器(compiler)的框架系统,以 C++ 编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time).链接时间(l ...
- Jetson Agx Xavier USB驱动裁剪+can时钟修改+内核源码编译流程(jetpack4.6.1)
自己做了一块Xavier载板,硬件裁剪了一些功能,导致官方镜像usb无法使用,我使用的是jetpack4.6.1(R32.7.1),所以进行驱动修改,重新编译内核. 一.虚拟机环境 在Windows下 ...
- 鸿蒙系统编译怎样收费的,深度解析鸿蒙系统的编译流程
1.准备工作 我的本地代码是基于最新发布的OpenHarmony 1.1.0 LTS(2021-04-01)版本抓取的,代码根目录OHOS1_1_0LTS: $repo init -u https:/ ...
- 01-kernel打补丁,配置,编译流程
kernel打补丁,编译流程 内核源码包: linux-2.6.22.6.tar.bz2 补丁文件: linux-2.6.22.6_jz2440_v2v3.patch 1. 解压 tar xj ...
最新文章
- 深度观察|工业物联网的应用场景和市场潜力
- 【BZOJ】1630: [Usaco2007 Demo]Ant Counting(裸dp/dp/生成函数)
- 【TypeScript】使用 const 关键字声明只读变量
- Java中的StringBuilder类功能详解
- 改进初学者的PID-介绍
- 实现文件中名词的统计计数_通过勤哲EXCEL和Excel中的rank函数实现排名统计
- jsp网页上实现计算三角形面积小程序
- WSS 3.0部署备忘 六
- python 在线培训费用-python培训班费用
- 使用maven在netbeans下构建wicket项目
- OpenModelica 在特定目录下生成仿真结果文件
- Applese 的毒气炸弹(最小生成树)
- 2020神舟几号发射_今年将发射神舟十一号载人飞船 2020年将建成载人空间站
- 机械键盘各种设定(品牌:黑爵等)
- AndroidStudio打包成APK安装运行闪退的解决方法
- php保存word没背景图,为什么word文档明明保存了却不见了
- linux桌面显示我的电脑,Windows服务器如何显示”我的电脑”图标 [多种方法详细介绍]...
- 耗时3个月整理的网络安全学习路线,非常详细!
- open-falcon详解
- win10 安装 CH340驱动