Toybrick

TB-RK3568X的kernel编译不通过,请过来人帮忙看看,非常感谢!

zql

新手上路

积分
21
楼主
发表于 2022-1-17 19:20:01    查看: 6260|回复: 3 | [复制链接]    打印 | 只看该作者



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



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目录

  • git clone https://github.com/rockchip-toybrick/linux-x86.git -b master


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


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

zql

新手上路

积分
21
沙发
 楼主| 发表于 2022-1-18 11:20:24 | 只看该作者
问题解决了:
环境变量问题
~/.bashrc 修改过,恢复后(删除添加的环境变量);
再make clean下,然后就可以了
回复

使用道具 举报

270923793

新手上路

积分
33
板凳
发表于 2022-3-24 15:19:05 | 只看该作者
zql 发表于 2022-1-18 11:20
问题解决了:
环境变量问题
~/.bashrc 修改过,恢复后(删除添加的环境变量);

你好,我想问你下你这个问题解决得步骤是什么呀,我也出现了和你一样的错误
回复

使用道具 举报

yat

新手上路

积分
12
地板
发表于 2023-10-20 15:35:03 | 只看该作者
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): 没有那个文件或目录

遇到这个问题怎么解决?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表