If thats the case backup the gen_misc.sh script you have, then run this command:
sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
and try running it again.
Explore... Chat... Share...
Tomer wrote:I am guessing that it complains about objcopy and objdump command?
If thats the case backup the gen_misc.sh script you have, then run this command:
sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
and try running it again.
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ ./gen_misc.sh
bash: ./gen_misc.sh: Permission denied
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ sudo ./gen_misc.sh
[sudo] password for esp8266:
Sorry, try again.
[sudo] password for esp8266:
sudo: ./gen_misc.sh: command not found
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ xtensa-lx106-elf-objdump -x -s eagle.app.v6.out > ../../../../../bin/eagle.app.v6.dump
bash: ../../../../../bin/eagle.app.v6.dump: Permission denied
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ sudo su
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app# xt-objdump -x -s eagle.app.v6.out > ../../../../../bin/eagle.app.v6.dump
xt-objdump: command not found
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app# sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app# xt-objdump -x -s eagle.app.v6.out > ../../../../../bin/eagle.app.v6.dumpxt-objdump: command not found
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app#
alonewolfx2 wrote:Tomer wrote:I am guessing that it complains about objcopy and objdump command?
If thats the case backup the gen_misc.sh script you have, then run this command:
sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
and try running it again.
yes objcopy and obj dump. i tried your solution but its not working. here is full logCode: Select allesp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ ./gen_misc.sh
bash: ./gen_misc.sh: Permission denied
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ sudo ./gen_misc.sh
[sudo] password for esp8266:
Sorry, try again.
[sudo] password for esp8266:
sudo: ./gen_misc.sh: command not found
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ xtensa-lx106-elf-objdump -x -s eagle.app.v6.out > ../../../../../bin/eagle.app.v6.dump
bash: ../../../../../bin/eagle.app.v6.dump: Permission denied
esp8266@esp8266-VirtualBox:~/esp_iot_rtos_sdk/app$ sudo su
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app# xt-objdump -x -s eagle.app.v6.out > ../../../../../bin/eagle.app.v6.dump
xt-objdump: command not found
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app# sed -i -e 's/xt-objcopy/xtensa-lx106-elf-objcopy/' -e 's/xt-objdump/xtensa-lx106-elf-objdump/' gen_misc.sh
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app# xt-objdump -x -s eagle.app.v6.out > ../../../../../bin/eagle.app.v6.dumpxt-objdump: command not found
root@esp8266-VirtualBox:/home/esp8266/esp_iot_rtos_sdk/app#
chmod +x gen_misc.sh
ls -l gen_misc.sh
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]