When trying to build my own image for Orange PI Win using Ubuntu Xenial 16.04 x64 on VirtualBox i am getting a bunch of messages like below
CC spl/drivers/block/blk_legacy.o In file previous definition from include/configs/sunxi-common.h:22,UNXI_TVE0_BASE 0x01c0a000
from include/configs/sun50i.h:28,
from include/config.h:5,
from include/common.h:21,
from drivers/block/blk_legacy.c:8:
./arch/arm/include/asm/arch/cpu_sun4i.h:169:0: warning: "SUNXI_TVE0_BASE" redefined
#define SUNXI_TVE0_BASE 0x01e40000
│ LD spl/drivers/block/built-in.o │
│ CC spl/drivers/gpio/sunxi_gpio.o In fil location of the previous definition from include/configs/sunxi-common.h:22, #define SUNXI_TVE0_BASE 0x01c0a000
from include/configs/sun50i.h:28,
from include/config.h:5,
from include/common.h:21,
from drivers/gpio/sunxi_gpio.c:13:
./arch/arm/include/asm/arch/cpu_sun4i.h:169:0: warning: "SUNXI_TVE0_BASE" redefined
#define SUNXI_TVE0_BASE 0x01e40000
│ LD spl/drivers/gpio/built-in.o │
│ CC spl/drivers/mmc/mmc_legacy.o In file included from ./arch/arm/include/asm/arch/cpu.h:13:0,h:38:0: note: this is the location of the previous definition from include/configs/sunxi-common.h:22, #define SUNXI_TVE0_BASE 0x01c0a000
from include/configs/sun50i.h:28,
from include/config.h:5,
from include/common.h:21,
from drivers/mmc/mmc_legacy.c:8:
./arch/arm/include/asm/arch/cpu_sun4i.h:169:0: warning: "SUNXI_TVE0_BASE" redefined
#define SUNXI_TVE0_BASE 0x01e40000
ERROR: Couldn't open "config.its": No such file or directory
u-boot/tools/mkimage: Can't read u-boot.itb.tmp: Invalid argument
^ make: *** [orangepiwin] Error 255
[ error ] ERROR in function compile_uboot [ common.sh:113 ]
[ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ]
[ o.k. ] Process terminated
Any Ideas what i am doing wrong or is the custom image currently broken for Orange PI Win?