I'm using Ubuntu 16.04 LTS, initially I downloaded Yocto Project and set up its environment
$ git clone -b rocko git://git.yoctoproject.org/poky.git
Then downloaded meta layer for Banana Pi M1+ (meta-sunxi)
$ git clone https://github.com/linux-sunxi/meta-sunxi`
And added the meta layer into yoctoproject, also set in local.conf
MACHINE ?= "bananapi"
DL_DIR ?= "${TOPDIR}/../downloads"
SSTATE_DIR ?= "${TOPDIR}/../sstate-cache/${MACHINE}"
And on building the image file it shows the following error
Log:
$ bitbake -k core-image-minimal`
ERROR: Task (/home/uroborostech3/poky/meta-sunxi/recipes-bsp/u-boot/u-boot_2017.11.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2415 tasks of which 2414 didn't need to be rerun and 1 failed.
Summary: 1 task failed: /home/uroborostech3/poky/meta-sunxi/recipes-bsp/u-boot/u-boot_2017.11.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I tried
$ bitbake u-boot -c cleanall
And
$ bitbake u-boot -c compile
but there is no change in the error.
Is there any other layer need to add for Sinovoip Banana pi M1+ rather than meta sunxi? How to properly configure and compile image for Banana Pi m1+?