环境Ubuntu22
示例机型 evb-ast2500
setup用法 . setup [build_dir]
执行. setup可以查看所有机型
选择机型
. setup evb-ast2500
构建
bitbake obmc-phosphor-image
image生成的目录
build/evb-ast2500/tmp/deploy/images/evb-ast2500
image文件名
obmc-phosphor-image-evb-ast2500-20230831101603.static.mtd
chenlongab@Super-Server-0:~/openbmc/build/evb-ast2500/tmp/deploy/images/evb-ast2500$ ll obmc-phosphor-image-evb-ast2500-20230831101603.static.mtd -lh
-rw-r--r-- 2 chenlongab chenlongab 32M 8月 31 18:50 obmc-phosphor-image-evb-ast2500-20230831101603.static.mtd