I'm running 2017-08-25-raspbian-stretch-preview-bpi-m2u-sd-emmc.img on a Banana Pi M2 Berry.
I need to build the kernel and various libraries to support HW video decoding.
I am following the instructions at https://bananapi.gitbooks.io/bpi-m2-ultra-open-source-single-board-computer/content/bpi-m2ultrasourcecodeongithub/bpi-berrybpi-ultra-how-to-alter-ubootkernel-from-github.html
but option #1 (to Build all) fails (see below).
Can you tell me what I need to do to get builds to succeed?
Should I be cross-compiling on eg Intel or should I do all builds directly on the bPi ?
drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/de_vsu.c:348:10: warning: passing argument 1 of ‘memcpy’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-array-qualifiers]
In file included from include/linux/string.h:17:0,
/home/ubuntu/BPI-M2U-bsp/linux-sunxi/arch/arm/include/asm/string.h:16:15: note: expected ‘void *’ but argument is of type ‘volatile union VSU_COEFF_REG (*)’
extern void * memcpy(void *, const void *, __kernel_size_t);
make: Leaving directory '/home/ubuntu/BPI-M2U-bsp/linux-sunxi'
Makefile:49: recipe for target 'kernel' failed
make: *** [kernel] Error 2