bpi-sinovoip / bpi-m2z-bsp Goto Github PK
View Code? Open in Web Editor NEWSupports Banana Pi BPI-M2 Zero / BPI-P2 Zero (Kernel3.4)
Supports Banana Pi BPI-M2 Zero / BPI-P2 Zero (Kernel3.4)
In build.sh T is cleared and TOPDIR override below, but default value is empty in both cases, which result image generation failure. It is better to put them on top and emit warning on empty value case.
banana pi m2z rasbianWiFi会自动断开,然后无法启动,除非重启
。。。。。。。。
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!
Can any one guide me to setup IR receiver device in Banana PI M2 Zero board?
Or anyone successfully integrated IR receiver sensor?
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
make
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卡的动作。
想知道生成的uboot,kernel,和rootfs在哪,以及如何生成image,如何进行烧写,能帮个忙说一下吗?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.