找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1082|回复: 2

请教,自编 openwrt 出错,找不到 image-xxx.dtb 文件,是什么原因导致的?

[复制链接]
本帖最后由 zerozoro 于 2019-10-26 19:54 编辑

编译的时候出错,没有生成 image-xxxx.dtb 文件,不知道哪里设置错了还是漏掉什么东西了,
  1. enwrt-bcm53xx-tplink-archer-c9-v1-squashfs.bin.trx
  2. cp /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/tmp/openwrt-bcm53xx-tplink-archer-c9-v1-squashfs.bin /home/user/school/Developer/openwrt/bin/targets/bcm53xx/generic/openwrt-bcm53xx-tplink-archer-c9-v1-squashfs.bin
  3. rm -f /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/phicomm-k3-kernel.bin
  4. cp /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/zImage /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/phicomm-k3-kernel.bin
  5. cat /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/image-.dtb >> /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/phicomm-k3-kernel.bin
  6. cat: /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/image-.dtb: No such file or directory
  7. make[5]: *** [Makefile:345: /home/user/school/Developer/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx/phicomm-k3-kernel.bin] Error 1
  8. make[5]: Leaving directory '/home/user/school/Developer/openwrt/target/linux/bcm53xx/image'
  9. make[4]: *** [Makefile:31: install] Error 2
  10. make[4]: Leaving directory '/home/user/school/Developer/openwrt/target/linux/bcm53xx'
  11. make[3]: *** [Makefile:13: install] Error 2
  12. make[3]: Leaving directory '/home/user/school/Developer/openwrt/target/linux'
  13. time: target/linux/install#26.76#4.37#45.07
  14. make[2]: *** [target/Makefile:25: target/linux/install] Error 2
  15. make[2]: Leaving directory '/home/user/school/Developer/openwrt'
  16. make[1]: *** [target/Makefile:19: /home/user/school/Developer/openwrt/staging_dir/target-arm_cortex-a9_musl_eabi/stamp/.target_install] Error 2
  17. make[1]: Leaving directory '/home/user/school/Developer/openwrt'
  18. make: *** [/home/user/school/Developer/openwrt/include/toplevel.mk:218: world] Error 2
复制代码



编译过程只改动了一处,在 target/linux/bcm53xx/image/Makefile 添加了下面这一项,在 make menuconfig 时把 Target Profile 设置为这一项

  1. openwrt$ tail target/linux/bcm53xx/image/Makefile
  2. define Device/phicomm-k3
  3.     DEVICE_TITLE := PHICOMM K3
  4.     DEVICE_PACKAGES := $(BRCMFMAC_4366C0) $(USB3_PACKAGES)
  5.     IMAGES := trx
  6. endef
  7. TARGET_DEVICES += phicomm-k3

  8. $(eval $(call BuildImage))
复制代码






为啥要改这个????
回复

使用道具 举报

博通有这个吗???
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-23 15:14

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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