Giter Site home page Giter Site logo

bpi-sinovoip / bpi-m2z-bsp Goto Github PK

View Code? Open in Web Editor NEW
18.0 6.0 11.0 296.02 MB

Supports Banana Pi BPI-M2 Zero / BPI-P2 Zero (Kernel3.4)

Makefile 0.39% C++ 4.15% C 85.63% Objective-C 2.75% XC 0.01% XS 0.01% Python 0.18% Shell 0.07% Perl 0.13% Batchfile 0.01% Fortran 0.01% HTML 4.63% Roff 0.46% Assembly 1.55% Awk 0.01% GDB 0.01% UnrealScript 0.01% Yacc 0.02% Lex 0.01% M4 0.01%

bpi-m2z-bsp's People

Contributors

bpi-sinovoip avatar dangku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bpi-m2z-bsp's Issues

WiFi断流

banana pi m2z rasbianWiFi会自动断开,然后无法启动,除非重启

请问一下编译环境是什么,ubuntu1804编译不过

。。。。。。。。
LD lib/built-in.o
make[2]: 离开目录“/home/fxsh/my/bananapi/BPI-M2Z-bsp/u-boot-sunxi/out/bpi-m2z-legacy”
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: 离开目录“/home/fxsh/my/bananapi/BPI-M2Z-bsp/u-boot-sunxi”
Makefile:53: recipe for target 'u-boot' failed
make: *** [u-boot] Error 2

Build success!

执行./build.sh 打包和更新出错

swann@ubuntu:~/bpi/BPI-M2Z-bsp$ ./build.sh BPI-M2Z-720P
top dir
NOTICE:
new build.sh default select BPI-M2Z-720P and pack all boards
supported boards:
BPI-M2Z-720P

BPI-M2Z-720P 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): 6

执行之后出现的结果如下

Now building...

./
./bananapi/
./bananapi/bpi-m2z/
./bananapi/bpi-m2z/linux/
./bananapi/bpi-m2z/linux/uInitrd
./bananapi/bpi-m2z/linux/boot.scr
./bananapi/bpi-m2z/linux/script.bin
./bananapi/bpi-m2z/linux/boot.bmp
./bananapi/bpi-m2z/linux/zImage
./bananapi/bpi-m2z/linux/boot.cmd
lib/modules/
lib/modules/3.4.113-BPI-M2Z-Kernel/
lib/modules/3.4.113-BPI-M2Z-Kernel/build
lib/modules/3.4.113-BPI-M2Z-Kernel/ump.ko
lib/modules/3.4.113-BPI-M2Z-Kernel/kernel/
lib/modules/3.4.113-BPI-M2Z-Kernel/kernel/
。。。
。。。
lib/modules/3.4.113-BPI-M2Z-Kernel/modules.alias.bin
lib/modules/3.4.113-BPI-M2Z-Kernel/modules.dep.bin
lib/modules/3.4.113-BPI-M2Z-Kernel/mali.ko
lib/modules/3.4.113-BPI-M2Z-Kernel/modules.builtin.bin
usr/lib/u-boot/bananapi/
usr/lib/u-boot/bananapi/bpi-m2z/
usr/lib/u-boot/bananapi/bpi-m2z/u-boot-2017.11-bpi-m2z-legacy-8k.img.gz

Build success!

没有去执行更新sd卡的动作。

Does not compile on Ubuntu 18.04

  COPY    spl/u-boot-spl.bin
  MKSUNXI spl/sunxi-spl.bin
  BINMAN  u-boot-sunxi-with-spl.bin
  CFGCHK  u-boot.cfg
make[2]: Leaving directory '/home/kyleg/src/BPI-M2Z-bsp/u-boot-sunxi/out/bpi-m2z-legacy'
make[1]: Leaving directory '/home/kyleg/src/BPI-M2Z-bsp/u-boot-sunxi'
bpi-m2z-legacy
make -C linux-sunxi ARCH=arm sun8iw7p1smp_bpi-m2z_defconfig
make[1]: Entering directory '/home/kyleg/src/BPI-M2Z-bsp/linux-sunxi'
drivers/net/wireless/bcmdhd/Kconfig:56:warning: defaults for choice values not supported
#
# configuration written to .config
#
make[1]: Leaving directory '/home/kyleg/src/BPI-M2Z-bsp/linux-sunxi'
mkdir -p linux-sunxi/output/lib/firmware
make -C linux-sunxi ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j8 INSTALL_MOD_PATH=output uImage modules
make[1]: Entering directory '/home/kyleg/src/BPI-M2Z-bsp/linux-sunxi'
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/net/wireless/bcmdhd/Kconfig:56:warning: defaults for choice values not supported
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
  CC      kernel/bounds.s
In file included from include/linux/compiler.h:48:0,
                 from include/linux/stddef.h:4,
                 from include/linux/posix_types.h:4,
                 from include/linux/types.h:17,
                 from include/linux/page-flags.h:8,
                 from kernel/bounds.c:9:
include/linux/compiler-gcc.h:106:1: fatal error: linux/compiler-gcc7.h: No such file or directory
 #include gcc_header(__GNUC__)
 ^~~~
compilation terminated.
/home/kyleg/src/BPI-M2Z-bsp/linux-sunxi/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[2]: *** [kernel/bounds.s] Error 1
Makefile:988: recipe for target 'prepare0' failed
make[1]: *** [prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/kyleg/src/BPI-M2Z-bsp/linux-sunxi'
Makefile:65: recipe for target 'kernel' failed
make: *** [kernel] Error 2

 Build success!

GCC7 is installed and working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.