Open Dboykey opened 4 years ago
这个项目已经比较老了,估计已经不再适合当前的openwrt源码
jerrykuku 大佬,上面的问题,我用复制neo2的文件的方法算是通过了: cd ./build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_r1s/u-boot-2018.05/configs/ cp nanopi_neo2_defconfig nanopi_r1s_defconfig cd ./build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_r1s/u-boot-2018.05/arch/arm/dts/ cp sun50i-h5-nanopi-neo2.dts sun50i-h5-nanopi-r1s.dts
但是去到最后: cp /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/Image /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/sun50i-h5-nanopi-r1s-kernel.bin [ -f /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/sun50i-h5-nanopi-r1s-kernel.bin -a -f /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/root.squashfs ] rm -f /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/tmp/openwrt-sunxi-cortexa53-sun50i-h5-nanopi-r1s-squashfs-sdcard.img.gz.boot mkfs.fat /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/tmp/openwrt-sunxi-cortexa53-sun50i-h5-nanopi-r1s-squashfs-sdcard.img.gz.boot -C 20480 mkfs.fat 4.1 (2017-01-24) mcopy -i /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/tmp/openwrt-sunxi-cortexa53-sun50i-h5-nanopi-r1s-squashfs-sdcard.img.gz.boot /home/siva/lede/staging_dir/target-aarch64_cortex-a53_musl/image/sun50i-h5-nanopi-r1s-boot.scr ::boot.scr mcopy -i /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/tmp/openwrt-sunxi-cortexa53-sun50i-h5-nanopi-r1s-squashfs-sdcard.img.gz.boot /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.19.122/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s.dtb ::dtb /home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.19.122/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s.dtb: No such file or directory Makefile:57: recipe for target '/home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/tmp/openwrt-sunxi-cortexa53-sun50i-h5-nanopi-r1s-squashfs-sdcard.img.gz' failed make[5]: [/home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/tmp/openwrt-sunxi-cortexa53-sun50i-h5-nanopi-r1s-squashfs-sdcard.img.gz] Error 1 make[5]: Leaving directory '/home/siva/lede/target/linux/sunxi/image' Makefile:33: recipe for target 'install' failed make[4]: [install] Error 2 make[4]: Leaving directory '/home/siva/lede/target/linux/sunxi' Makefile:13: recipe for target 'install' failed make[3]: [install] Error 2 make[3]: Leaving directory '/home/siva/lede/target/linux' time: target/linux/install#672.19#63.45#732.65 target/Makefile:23: recipe for target 'target/linux/install' failed make[2]: [target/linux/install] Error 2 make[2]: Leaving directory '/home/siva/lede' target/Makefile:19: recipe for target '/home/siva/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install' failed make[1]: [/home/siva/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install] Error 2 make[1]: Leaving directory '/home/siva/lede' /home/siva/lede/include/toplevel.mk:225: recipe for target 'world' failed make: [world] Error 2
这个要怎样搞?还是说,我简单粗暴直接改上面文件的相关名字是不行的?
我现在把lede回滚到2019.12.23号的版本,正在编译,看看这样是否可以通过,真的搞不掂friendlywrt那个麻烦的东西
终于用lede 2019.12.23的版本编译成功了,前提是不要作死乱加luci app
感谢大大的这个项目!
make[4]: Entering directory '/home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_r1s/u-boot-2018.05' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf
*** Can't find default configuration "arch/../configs/nanopi_r1s_defconfig"!
scripts/kconfig/Makefile:119: recipe for target 'nanopi_r1s_defconfig' failed make[5]: [nanopi_r1s_defconfig] Error 1 Makefile:478: recipe for target 'nanopi_r1s_config' failed make[4]: [nanopi_r1s_config] Error 2 make[4]: Leaving directory '/home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_r1s/u-boot-2018.05' Makefile:290: recipe for target '/home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_r1s/u-boot-2018.05/.configured_68b329da9893e34099c7d8ad5cb9c940' failed make[3]: [/home/siva/lede/build_dir/target-aarch64_cortex-a53_musl/u-boot-nanopi_r1s/u-boot-2018.05/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 2 make[3]: Leaving directory '/home/siva/lede/package/boot/uboot-sunxi' time: package/boot/uboot-sunxi/nanopi_r1s/compile#5.53#0.96#6.20 package/Makefile:111: recipe for target 'package/boot/uboot-sunxi/compile' failed make[2]: [package/boot/uboot-sunxi/compile] Error 2 make[2]: Leaving directory '/home/siva/lede' package/Makefile:107: recipe for target '/home/siva/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile' failed make[1]: [/home/siva/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/siva/lede' /home/siva/lede/include/toplevel.mk:225: recipe for target 'world' failed make: [world] Error 2
请问这个怎么办?谢谢!