#Ubuntu 20.04
#git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
#cd esp-open-sdk
#git pull
#git submodule sync
#git submodule update --init
make
....
make[2]: Entering directory esp-open-sdk/crosstool-NG'
make[2]: -c: Command not found
make[2]: -c: Command not found
make[2]: *** No rule to make target 'xtensa-lx106-elf'. Stop.
what is wrong ?
Error compiling esp-open-sdk [SOLVED]
Error compiling esp-open-sdk [SOLVED]
Last edited by VladVons on Fri Jan 22, 2021 5:28 pm, edited 1 time in total.
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Error compiling esp-open-sdk
Try it like this: https://github.com/kevinkk525/pysmartno ... ository.sh
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Error compiling esp-open-sdk
Thanks for script.
Finally, after long compilation i have got a hand made firmware-combined.bin (641276K)
But it doesnt work.
No python prompt. Only garbage in terminal.
Finally, after long compilation i have got a hand made firmware-combined.bin (641276K)
But it doesnt work.
No python prompt. Only garbage in terminal.
Re: Error compiling esp-open-sdk
While looking for esp-open-sdk compilation issue i installed many packages which caused invalid custom firmware.
I reinstalled Ubuntu and now everything is ok.
Note: To avoid many errors don't use python virtualenv.
Thanks kevinkk525 once more !
I reinstalled Ubuntu and now everything is ok.
Note: To avoid many errors don't use python virtualenv.
Thanks kevinkk525 once more !
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Error compiling esp-open-sdk [SOLVED]
Glad you got it working! There is also a docker option but I never played with that one as I'm building in ubuntu wsl.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Error compiling esp-open-sdk [SOLVED]
docker mentioned in official documentation.
sudo docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk
docker: Error response from daemon: No command specified.
so i went your path using git
I also visited your project pysmartnode and found there a script for esp32 firmware compilation.
https://github.com/kevinkk525/pysmartno ... ository.sh
thanks for tip
sudo docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk
docker: Error response from daemon: No command specified.
so i went your path using git
I also visited your project pysmartnode and found there a script for esp32 firmware compilation.
https://github.com/kevinkk525/pysmartno ... ository.sh
thanks for tip
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Error compiling esp-open-sdk [SOLVED]
there is, but I'm not sure the esp32 script still works.. there are always changes and something always breaks.. I gave up on building esp32 firmware and only use official ones and copy the prebuilt .mpy files onto it. It has enough RAM to do it this way and it makes it easier to update my files.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode