This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Customize the image by using bitbake in AM335X

Dear All,

I am new in Am335X. I haved downloaded the latest SDK of 64 bit. I am trying to  customize the image by using the command "MACHINE=am335x-evm bitbake core-image-minimal". everything is fine.

core-image-minimal.bb content ::::::

DESCRIPTION = "A small image just capable of allowing a device to boot."

IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} php gdbserver packagegroup-core-ssh-openssh esmtp iproute2 opkg can-utils libsocketcan ntp ifenslave ethtool gadget-init "
IMAGE_LINGUAS = " "

LICENSE = "MIT"

inherit core-image

IMAGE_ROOTFS_SIZE = "8192"

# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "

but when I added Apache in core-image-minimal.bb content ::::::

DESCRIPTION = "A small image just capable of allowing a device to boot."

IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} apache2 php gdbserver packagegroup-core-ssh-openssh esmtp iproute2 opkg modphp can-utils libsocketcan ntp ifenslave ethtool gadget-init "
IMAGE_LINGUAS = " "

LICENSE = "MIT"

inherit core-image

IMAGE_ROOTFS_SIZE = "8192"

# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "

I got below error message:::

 MACHINE=am335x-evm bitbake core-image-minimal
Loading cache: 100% |#################################################################################################| ETA:  00:00:00
Loaded 2598 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'apache2' (but /home/ankur/sdk/tisdk/sources/oe-core/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'apache2' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['apache2']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'apache2']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Please let me know how can I add apache2.......last 1 day I have tried but i could not do it......

Regards,

Ankur