pack 时 ERROR: unable to open file boot-resource.fex
-
请问我在 pack 时出现下列讯息
ERROR: unable to open file boot-resource.fex update_for_part_info -1 ERROR: update mbr file fail ERROR: update_mbr failed
这要怎么解决?
谢谢 -
没有生成 boot-resource.fex
-
@whycan 你好。这个 boot-resource.fex 未生成是在编译 boot-resource 的时间出错了还是别的什么情况呀?能提供个解决的思路吗?我这边编译完了也没报错,pack 的时间也出现了这个问题。谢谢
-
@whycan 这是 pack 之后的log
$ pack --==========-- PACK_CHIP sun20iw1p1 PACK_PLATFORM tina PACK_BOARD d1s-nezha PACK_KERN PACK_DEBUG uart0 PACK_SIG none PACK_SECURE none PACK_MODE normal PACK_FUNC android PACK_PROGRAMMER none PACK_TAR_IMAGE none PACK_TOPDIR /home/zc/tina-d1-h --==========-- No kernel param, parse it from d1s copying tools file copying configs file storage_type value is 5 rm /home/zc/tina-d1-h/out/d1s-nezha/image/sys_partition_nor.fex rm /home/zc/tina-d1-h/out/d1s-nezha/image/image_nor.cfg copying boot resource LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03 copying boot file make user resource for : /home/zc/tina-d1-h/out/d1s-nezha/image/sys_partition.fex handle partition user-res no user resource partitions APP_PART_DOWNLOAD_FILE = /home/zc/tina-d1-h/out/d1s-nezha/image/app.fex Need size of filesystem no data resource partitions don't build dtbo ... update_chip /home/zc/tina-d1-h/scripts/pack_img.sh: line 1354: /home/zc/tina-d1-h/out/host/bin/fsbuild: cannot execute binary file: Exec format error pack boot package GetPrivateProfileSection read to end content_count=3 LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk --mkenvimage create redundant env data!-- ---redundant env data size 0x20000--- packing for tina linux normal mbr count = 4 partitation file Path=/home/zc/tina-d1-h/out/d1s-nezha/image/sys_partition.bin mbr_name file Path=/home/zc/tina-d1-h/out/d1s-nezha/image/sunxi_mbr.fex download_name file Path=/home/zc/tina-d1-h/out/d1s-nezha/image/dlinfo.fex mbr size = 16384 mbr magic softw411 disk name=boot-resource ERROR: unable to open file boot-resource.fex update_for_part_info -1 ERROR: update mbr file fail ERROR: update_mbr failed
-
@whycan 你好,单独编译 boot-resource 的命令是什么呀?
-
@chunzhang
查询./scripts/pack_img.sh发现./tools/pack-bintools/src/fsbuild这个程序是32位的, 所以安装以下组件可解决问题:apt-get install lib32z1 lib32z1-dev
-
@chunzhang 你好,问题解决了吗,我也遇到这个问题,采取这几位老哥给的方法没有解决,可以回复一下吗
-
@aldfaaa 采取了还是那样的问题,还有其他解决方法吗
-
@aldfaaa 感谢你的建议,对我很有用
-
@aldfaaa 感谢你的建议,对我很有用
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号