AST2500 Evaulation Board Build Image

2.3k Views Asked by At

Our final image is lacking OpenBMC features such as SSH, Web GUI, and IPMI

We have a AST2500 evaluation board. We are using recommended build environment and setting: export TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf We are using bitbake to build phosphor image:

. oe-init-build-env bitbake obmc-phosphor-image

The final image is in: openbmc/build/tmp/deploy/images/evb-ast2500

We put the following image (about 7.5 MB) in our TFTP server fitImage-aspeed-image-initramfs-evb-ast2500--5.3.1+git0+3ad520f93d-r0-evb-ast2500-20191030145446.bin -> evb.bin

and then from uboot we can: dhcp evb.bin bootm

System boots and we can log in as: root 0penBmc

But we only get a minimal OS. There are no OpenBmc features (such as ssh, web server, ipmi stack, etc) in this final image What are we doing wrong?

We also get the following tar file: obmc-phosphor-image-evb-ast2500-20191030145446.rootfs.tar.gz

When we open the tar file, all these services are in /usr/bin of the tar file. But they are not in the /usr/bin file we loaded to AST2500 evaluation board.

There are no error messages. The sshd daemon and other services are just not there.

Thanks

1

There are 1 best solutions below

0
On

It was an issue that the evb-ast2500 was building a minimal image.

But check the latest master's README, and see below

For evb-ast2500, please use the below command to specify the machine config, because the machine in meta-aspeed layer is in a BSP layer and does not build the openbmc image.

TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf . openbmc-env

With the master branch and the above command, you should be able to build the openbmc image instead of a minimal image.