We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Building in Linux failed with message "/opt/utils/strip-ini" and "host-client" not found.
To Reproduce Steps to reproduce the behavior:
diff --git a/apps/hid/board/bd19/Makefile b/apps/hid/board/bd19/Makefile index e6749a7..18d24fb 100644 --- a/apps/hid/board/bd19/Makefile +++ b/apps/hid/board/bd19/Makefile @@ -361,7 +361,7 @@ LINK_AT ?= 1 all: pre_build $(OUT_ELF) $(info +POST-BUILD) - $(QUITE) $(RUN_POST_SCRIPT) sdk + $(QUITE) $(RUN_POST_SCRIPT) ../../../../cpu/bd19/tools/sdk pre_build: $(info +PRE-BUILD) diff --git a/cpu/bd19/tools/download.c b/cpu/bd19/tools/download.c index bf6bd21..00ee8d8 100644 --- a/cpu/bd19/tools/download.c +++ b/cpu/bd19/tools/download.c @@ -5,6 +5,12 @@ ##!/bin/sh +export OBJDUMP=/opt/jieli/pi32/bin/objdump +export OBJSIZEDUMP=/opt/jieli/pi32/bin/objsizedump +export OBJCOPY=/opt/jieli/pi32/bin/objcopy ${OBJDUMP} -D -address-mask=0x1ffffff -print-dbg $1.elf > $1.lst ${OBJCOPY} -O binary -j .text $1.elf text.bin ${OBJCOPY} -O binary -j .data $1.elf data.bin @@ -26,7 +32,7 @@ do bank_files=$bank_files"bank$i.bin 0x0 " done echo $bank_files -lz4_packet -dict text.bin -input common.bin 0 $bank_files -o bank.bin +../../../../cpu/bd19/tools/lz4_packet -dict text.bin -input common.bin 0 $bank_files -o bank.bin ${OBJDUMP} -section-headers -address-mask=0x1ffffff $1.elf ${OBJSIZEDUMP} -lite -skip-zero -enable-dbg-info $1.elf | sort -k 1 > symbol_tbl.txt
It fails with following messages:
../../../../cpu/bd19/tools/download.sh: 行 77: /opt/utils/strip-ini: 没有那个文件或目录 ../../../../cpu/bd19/tools/download.sh: 行 83: host-client: 未找到命令 Makefile:363: recipe for target 'all' failed make[1]: *** [all] Error 127 make[1]: Leaving directory '/home/pandy/temp/fw-AC63_BT_SDK/apps/hid/board/bd19' Makefile:37: recipe for target 'ac632n_hid' failed make: *** [ac632n_hid] Error 2
Expected behavior
compile, link and post-processing succeeds.
The text was updated successfully, but these errors were encountered:
1、参考这个:https://doc.zh-jieli.com/Tools/zh-cn/dev_tools/dev_env/index.html#linux 2、linux 下后处理脚本需要参考 windows的 download.bat 来改。strip-ini, host-client是不需要的。 3、下载目标板子的程序,还是需要在window的环境下载;linux不支持.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Building in Linux failed with message "/opt/utils/strip-ini" and "host-client" not found.
To Reproduce
Steps to reproduce the behavior:
It fails with following messages:
Expected behavior
compile, link and post-processing succeeds.
The text was updated successfully, but these errors were encountered: