Toybrick

标题: TB-RK3568X的kernel编译不通过,请过来人帮忙看看,非常感谢! [打印本页]

作者: zql    时间: 2022-1-17 19:20
标题: TB-RK3568X的kernel编译不通过,请过来人帮忙看看,非常感谢!



环境:ubuntu 18虚拟机
操作的步骤:
1.参考官方下载和编译。
https://t.rock-chips.com/wiki.ph ... %80%E5%8F%91/Kernel
[attach]2240[/attach]
[attach]2241[/attach]

2.打印log,显示失败:

root@ubuntu:/opt/zql/kernel# ./make-linux.sh arm64
cp: cannot stat 'initramfs.img': No such file or directory
  YACC    scripts/kconfig/zconf.tab.c
bison: /home/vmuser/m3568/linux-sdk-720/buildroot/output/rockchip_rk3568/host/share/bison/m4sugar/m4sugar.m4: cannot open: No such file or directory
scripts/Makefile.lib:196: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 1
Makefile:578: recipe for target 'rockchip_linux_defconfig' failed
make: *** [rockchip_linux_defconfig] Error 2
Makefile:630: include/config/auto.conf: No such file or directory
Makefile:671: include/config/auto.conf.cmd: No such file or directory
  YACC    scripts/kconfig/zconf.tab.c
bison: /home/vmuser/m3568/linux-sdk-720/buildroot/output/rockchip_rk3568/host/share/bison/m4sugar/m4sugar.m4: cannot open: No such file or directory
scripts/Makefile.lib:196: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[2]: *** [scripts/kconfig/zconf.tab.c] Error 1
Makefile:578: recipe for target 'syncconfig' failed
make[1]: *** [syncconfig] Error 2
Makefile:683: recipe for target 'include/config/auto.conf.cmd' failed
make: *** [include/config/auto.conf.cmd] Error 2
cp: cannot stat 'arch/arm64/boot/Image': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux-x0.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux-x0.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux-x0.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3568-toybrick-core-linux-x0.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prod-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prod-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prop-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prop-linux.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prox-linux-x0.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prox-linux-x0.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prox-linux-x1.dtb': No such file or directory
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-android.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prop-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-android-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-x1.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-android-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x0-factory.dtb'.  Stop.
make: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3568-toybrick-core-linux-x10.dtb'.  Stop.
cp: cannot stat 'arch/arm64/boot/dts/rockchip/*toybrick*.dtb': No such file or directory
cp: cannot stat 'boot_linux/extlinux/rk3399pro-toybrick-prox-linux-x1.dtb': No such file or directory
./make-linux.sh: line 214: genext2fs: command not found


3.疑问:
a.为什么会有无关的目录和地址:
/home/vmuser/m3568/linux-sdk-720/buildroot/output/rockchip_rk3568/host/share/bison/m4sugar/m4sugar.m4

b.如下操作在u-boot阶段是不是已经操作过,就不需要再次操作了?
源码编译

1、在kernel同级目录创建prebuilts文件夹

2、在prebuilts目录下创建gcc文件夹

3、下载交叉编译工具(linux-x86)到gcc目录



c.没有头绪,请帮忙看看过程和log,哪里出现的问题,非常感谢!



作者: zql    时间: 2022-1-18 11:20
问题解决了:
环境变量问题
~/.bashrc 修改过,恢复后(删除添加的环境变量);
再make clean下,然后就可以了
作者: 270923793    时间: 2022-3-24 15:19
zql 发表于 2022-1-18 11:20
问题解决了:
环境变量问题
~/.bashrc 修改过,恢复后(删除添加的环境变量);

你好,我想问你下你这个问题解决得步骤是什么呀,我也出现了和你一样的错误
作者: yat    时间: 2023-10-20 15:35
In file included from arch/arm/boot/dts/rv1126-toybrick-ToyT01.dts:6:
arch/arm/boot/dts/rv1126.dtsi:6:10: fatal error: dt-bindings/clock/rv1126-cru.h: 没有那个文件或目录
    6 | #include <dt-bindings/clock/rv1126-cru.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [scripts/Makefile.lib:307:arch/arm/boot/dts/rv1126-toybrick-ToyT01.dtb] 错误 1
cp: 无法获取'arch/arm/boot/dts/*toybrick*.dtb' 的文件状态(stat): 没有那个文件或目录
cp: 无法获取'boot_linux/extlinux/rv1126-toybrick-ToyT01.dtb' 的文件状态(stat): 没有那个文件或目录

遇到这个问题怎么解决?




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3