just compile. Ok I just follow this guide to complie
https://bananapi.gitbooks.io/bpi-m3/en/howtocompilebpi-m3-bspkernelonbpi-m3.html
and this is what i got:
ubuntu@ubuntu:~/Downloads/BPI-M3-bsp-master$ ./build.sh
NOTICE:
new build.sh default select BPI_M3_1080P and pack all boards
supported boards:
BPI_M3_1080P
BPI_M3_480P
BPI_M3_720P
BPI_M3_HSO_LCD7
BPI_M3_LCD5
BPI_M3_LCD7
BPI_M3_1080P configured. Now run make
This tool support following building mode(s):
1. Build all, uboot and kernel and pack to download images.
2. Build uboot only.
3. Build kernel only.
4. kernel configure.
5. Pack the builds to target download image, this step must execute after u-boot,
kernel and rootfs build out
6. update files for SD
7. Clean all build.
Please choose a mode(1-7): 1
Now building…
make -C u-boot-sunxi sun8iw6p1_config CROSS_COMPILE= -j16
make[1]: Entering directory ‘/home/ubuntu/Downloads/BPI-M3-bsp-master/u-boot-sunxi’
awk ‘(NF && $1 !~ /^#/) { print $1 ": " $1 “_config; $(MAKE)” }’ boards.cfg > .boards.depend
Configuring for sun8iw6p1 board…
make[1]: Leaving directory ‘/home/ubuntu/Downloads/BPI-M3-bsp-master/u-boot-sunxi’
make -C u-boot-sunxi all CROSS_COMPILE= -j16
make[1]: Entering directory ‘/home/ubuntu/Downloads/BPI-M3-bsp-master/u-boot-sunxi’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
Generating include/autoconf.mk
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
Generating include/autoconf.mk.dep
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -I/home/ubuntu/Downloads/BPI-M3-bsp-master/u-boot-sunxi/include -I/home/ubuntu/Downloads/BPI-M3-bsp-master/u-boot-sunxi/include/openssl -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include -pipe -DCONFIG_ARM -D__ARM__ -mfpu=neon -D__NEON_SIMD__ -mcpu=cortex-a7 -Wall -Wstrict-prototypes \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
gcc: error: unrecognized command line option ‘-mfpu=neon’
Makefile:649: recipe for target ‘lib/asm-offsets.s’ failed
make[1]: *** [lib/asm-offsets.s] Error 1
make[1]: Leaving directory ‘/home/ubuntu/Downloads/BPI-M3-bsp-master/u-boot-sunxi’
Makefile:40: recipe for target ‘u-boot’ failed
make: *** [u-boot] Error 2
Build success!
There are some errors in there so I not sure if it’s right