Building OpenBMC Firmware
Kothandaraman Kannadasan Lv3

1. Setting up the Yocto build environment

1
sudo apt install git python3-distutils gcc g++ make file wget gawk diffstat bzip2 cpio chrpath zstd lz4 bzip2

1.1 Fork the upstream OpenBMC repo to yours

https://github.com/openbmc/openbmc -> https://github.com/kkraman02/openbmc

  • Pull the forked repo in your Ubuntu system.
1
git clone -v https://github.com/kkraman02/openbmc
1
cd openbmc
  • Check the available branches remote and local
1
git branch -all

2. Build OpenBMC Firmware for the AST-2500 EVB board

1
. setup evb-ast2500
1
bitbake obmc-phosphor-image
  • Once, the build is completed you can see the image in the following path /openbmc/build/evb-ast2500/tmp/deploy/images/evb-ast2500

  • Check the file size

1
ls -lh obmc-phosphor-image-evb-ast2500*
1
git checkout -b development
1
git push -u origin development
1
mkdir meta-adlink
1
cp -rv meta-aspeed/* meta-adlink/