SDK更新会重命名一些配置名,图一更新为kmod-vin-v4l2。图二,需要在配置界面输入/
,查找对应配置,看一下是不是某些依赖没打开。
book@100ask:~/V853_SDK/tina-v853-open$ make kernel_menuconfig/
===There is tina environment.===
Note: make is the shell functon in envsetup.sh.
== action: openwrt_build, action_args: kernel_menuconfig/ ==
========ACTION List: build_linuxdev kernel_menuconfig/;========
options :
INFO: ----------------------------------------
INFO: build linuxdev …
INFO: chip: sun8iw21p1
INFO: platform: linux
INFO: kernel: linux-4.9
INFO: board: vision
INFO: output: /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt
INFO: ----------------------------------------
INFO: don’t build dtbo …
INFO: build arisc
INFO: build_bootloader: brandy_path= /home/book/V853_SDK/tina-v853-open/brandy/brandy-2.0
INFO: skip build brandy.
INFO: build kernel …
INFO: Prepare toolchain …
Building kernel
/home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm/boot/dts/board.dtb
Error: arch/arm/boot/dts/board.dts:220.31-32 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:313: recipe for target ‘arch/arm/boot/dts/board.dtb’ failed
make[1]: *** [arch/arm/boot/dts/board.dtb] Error 1
arch/arm/Makefile:343: recipe for target ‘dtbs’ failed
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs…
ERROR: build kernel_menuconfig/ Failed
INFO: build kernel failed
book@100ask:~/V853_SDK/tina-v853-open$
book@100ask:~/V853_SDK/tina-v853-open$ make kernel_menuconfig/
===There is tina environment.===
Note: make is the shell functon in envsetup.sh.
== action: openwrt_build, action_args: kernel_menuconfig/ ==
========ACTION List: build_linuxdev kernel_menuconfig/;========
options :
INFO: ----------------------------------------
INFO: build linuxdev …
INFO: chip: sun8iw21p1
INFO: platform: linux
INFO: kernel: linux-4.9
INFO: board: vision
INFO: output: /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt
INFO: ----------------------------------------
INFO: don’t build dtbo …
INFO: build arisc
INFO: build_bootloader: brandy_path= /home/book/V853_SDK/tina-v853-open/brandy/brandy-2.0
INFO: skip build brandy.
INFO: build kernel …
INFO: Prepare toolchain …
Building kernel
/home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm/boot/dts/board.dtb
Kernel: arch/arm/boot/Image is ready
Building modules, stage 2.
MODPOST 27 modules
Kernel: arch/arm/boot/zImage is ready
Kernel: arch/arm/boot/uImage is ready
‘arch/arm/boot/Image’ → ‘output/bImage’
‘arch/arm/boot/uImage’ → ‘output/uImage’
‘arch/arm/boot/zImage’ → ‘output/zImage’
Copy rootfs.cpio.gz for arm
Building modules
[GPU]: No GPU type is configured in /home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/.config.
INFO: build dts …
INFO: Prepare toolchain …
removed ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.d.dtc.tmp’
removed ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.dts.tmp’
‘/home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp’ → ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.d.dtc.tmp’
‘/home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp’ → ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.dts.tmp’
INFO: build rootfs …
==mkcmd.sh: build_openwrt_rootfs kernel_menuconfig/==
make: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
make[1]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
CreateSoftLink /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/tmp link to /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/tmp
CreateSoftLink /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/staging_dir link to /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/staging_dir
make[2]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
make[2]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
Check Vendor Package…
CreateSoftLink /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/package/subpackage link to /home/book/V853_SDK/tina-v853-open/openwrt/package
end
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile’ has a dependency on ‘libgst1gl’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile’ has a build dependency on ‘gstreamer1-plugins-good’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘wayland’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘wayland-protocols’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘opencv’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘libgst1badvideo’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘libgst1gl’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-base/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
WARNING: Makefile ‘package/kernel/linux/Makefile’ has a dependency on ‘kmod-sunxi-rf-wlan’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a dependency on ‘weston’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a dependency on ‘wayland’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a dependency on ‘qt5-multimediawidgets’, which does not exist
WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a build dependency on ‘libstdcpp’, which does not exist
make[2]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt/scripts/config’
make[2]: ‘conf’ is up to date.
make[2]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt/scripts/config’
copy from /home/book/V853_SDK/tina-v853-open/openwrt/target/v853/v853-vision/defconfig
target/linux/generic/image/Config.in:12 choice default symbol ‘uImage’ is not contained in the choice
target/linux/generic/image/Config.in:47 choice default symbol ‘uImage’ is not contained in the choice
target/linux/generic/image/Config.in:72 choice default symbol ‘CONFIG_BOOT_IMAGE_NAME_SUFFIX_NONE’ is not contained in the choice
target/linux/generic/image/Config.in:89 choice default symbol ‘CONFIG_ROOTFS_IMAGE_NAME_SUFFIX_NONE’ is not contained in the choice
No change to .config
copy to /home/book/V853_SDK/tina-v853-open/openwrt/target/v853/v853-vision/defconfig
make[2]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
Makefile:29: “NOTE: Will skip kernel build.”
The command image-prereq(include/kernel-build.mk) execute.
time: target/linux/prereq#0.19#0.09#0.26
make[2]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
make[1]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
make[1] kernel_menuconfig/
make -r kernel_menuconfig/: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what’s going on
/home/book/V853_SDK/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target ‘kernel_menuconfig/’ failed
make: *** [kernel_menuconfig/] Error 1
make: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
INFO: build_openwrt_rootfs failed
大佬,解决了嘛,我也遇到和你一样的错误
我没有解决,早不看了