READ THIS DOC FIRST https://www.raptorengineering.com/coreboot/kgpe-d16-bmc-port-status.php
Use github repos instead of repos mentioned in the doc:
git clone -b fido https://github.com/raptor-engineering/ast2050-yocto-poky.git ast2050-yocto-poky
cd ast2050-yocto-poky
git clone -b fido https://github.com/raptor-engineering/ast2050-yocto-openembedded.git meta-openembedded
git clone https://github.com/raptor-engineering/ast2050-yocto-openbmc.git meta-openbmc
-
local-aspeed.conf --> modify default hashed password ("0penBmc") by your preferd password (clear text)
-
For more info, see this page: https://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-EXTRA_USERS_PARAMS
-
/etc/perl/find.pl --> create the file with this content : https://blog.kempj.co.uk/2015/09/missing-find-pl-compiling-oe/
-
(or dl it from this repo)
-
edit sources/poky/bitbake/lib/bs4/builder/_html5lib.py and replace all instances of "html5lib.treebuilders._base" with "html5lib.treebuilders.base".
-
--> If you're using an html5lib version > 0.9999999 (seven nines), then you'll see this problem.
-
more infos here: https://community.nxp.com/thread/455173 (last post)
-
edit ast2050-yocto-poky/meta-openbmc/common/recipes-utils/flashrom/flashrom_0.9.8.bb
-
--> replace http by https for the first encouterd link
export TEMPLATECONF=meta-openbmc/meta-raptor/meta-asus/conf
source oe-init-build-env
cp -Rp ../local-aspeed.conf conf/local.conf
bitbake asus-image
Use specific asmb4 flashrom version
git clone https://github.com/raptor-engineering/flashrom
flashrom --programmer="ast1100:spibus=2,cpu=reset" -c "S25FL128P......0" --verbose -w paht/of/rom.bin