You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "yamt (via GitHub)" <gi...@apache.org> on 2024/09/06 07:28:19 UTC
[I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
yamt opened a new issue, #13308:
URL: https://github.com/apache/nuttx/issues/13308
### Description / Steps to reproduce the issue
i tried to build the patched bootloader for esp32-devkitc:knsh
it ended up with:
```
-- Building ESP-IDF components for target esp32
CMake Error at /Users/yamamoto/git/nuttx/nuttx/arch/xtensa/src/esp32/bootloader/esp-nuttx-bootloader/esp-idf/tools/cmake/build.cmake:542 (message):
/Users/yamamoto/git/nuttx/nuttx/venv/bin/python: Error while finding module
specification for 'idf_component_manager.prepare_components'
(ModuleNotFoundError: No module named 'idf_component_manager')
Call Stack (most recent call first):
/Users/yamamoto/git/nuttx/nuttx/arch/xtensa/src/esp32/bootloader/esp-nuttx-bootloader/esp-idf/tools/cmake/project.cmake:453 (idf_build_process)
CMakeLists.txt:58 (project)
-- Configuring incomplete, errors occurred!
make[1]: *** [bootloader] Error 1
make: *** [bootloader] Error 2
```
### On which OS does this issue occur?
[Mac]
### What is the version of your OS?
12.7.6
### NuttX Version
master
### Issue Architecture
[xtensa]
### Issue Area
[Build System]
### Verification
- [X] I have verified before submitting the report.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "yamt (via GitHub)" <gi...@apache.org>.
yamt commented on issue #13308:
URL: https://github.com/apache/nuttx/issues/13308#issuecomment-2336865648
> Hi @yamt ,
>
> The kernel versions of the ESP32 are based on the legacy bootloader (a.k.a IDF bootloader), so you need to have the tools ESP-IDF requires to build it properly. That being said, the easiest way to enable ESP-IDF's tooling is exporting the associated environment var, just like described [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#step-4-set-up-the-environment-variables).
i was using export.sh of esp-idf.
which version of export.sh is expected to work?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "tmedicci (via GitHub)" <gi...@apache.org>.
tmedicci commented on issue #13308:
URL: https://github.com/apache/nuttx/issues/13308#issuecomment-2339015822
> > > Hi @yamt ,
> > > The kernel versions of the ESP32 are based on the legacy bootloader (a.k.a IDF bootloader), so you need to have the tools ESP-IDF requires to build it properly. That being said, the easiest way to enable ESP-IDF's tooling is exporting the associated environment var, just like described [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#step-4-set-up-the-environment-variables).
> >
> >
> > i was using export.sh of esp-idf. which version of export.sh is expected to work?
>
> Any version of the `release/v5.1` branch is expected to work. In particular, we have been using commit `1484f2d4f677e3fa41a310bf0952a3a76f69fb76` of ESP-IDF. Don't forget to install the tools used by this version. We test this configuration in our internal CI, so we know that nothing broke about it recently.
Hi @yamt , as I've said previously, we can build it without issues on our internal CI, but I have found that the complete firmware is not booting as expected (HW testing was disabled). I tested it with https://github.com/apache/nuttx/pull/13311 but it still halts during the boot-up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "tmedicci (via GitHub)" <gi...@apache.org>.
tmedicci commented on issue #13308:
URL: https://github.com/apache/nuttx/issues/13308#issuecomment-2352900522
Yes, it was fixed!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "tmedicci (via GitHub)" <gi...@apache.org>.
tmedicci commented on issue #13308:
URL: https://github.com/apache/nuttx/issues/13308#issuecomment-2333899449
Hi @yamt ,
The kernel versions of the ESP32 are based on the legacy bootloader (a.k.a IDF bootloader), so you need to have the tools ESP-IDF requires to build it properly. That being said, the easiest way to enable ESP-IDF's tooling is exporting the associated environment var, just like described [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#step-4-set-up-the-environment-variables).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #13308:
URL: https://github.com/apache/nuttx/issues/13308#issuecomment-2352848037
@yamt @tmedicci is it done? May I close this Issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "tmedicci (via GitHub)" <gi...@apache.org>.
tmedicci commented on issue #13308:
URL: https://github.com/apache/nuttx/issues/13308#issuecomment-2338956774
> > Hi @yamt ,
> > The kernel versions of the ESP32 are based on the legacy bootloader (a.k.a IDF bootloader), so you need to have the tools ESP-IDF requires to build it properly. That being said, the easiest way to enable ESP-IDF's tooling is exporting the associated environment var, just like described [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#step-4-set-up-the-environment-variables).
>
> i was using export.sh of esp-idf. which version of export.sh is expected to work?
Any version of the `release/v5.1` branch is expected to work. In particular, we have been using commit `1484f2d4f677e3fa41a310bf0952a3a76f69fb76` of ESP-IDF. Don't forget to install the tools used by this version. We test this configuration in our internal CI, so we know that nothing broke about it recently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] esp32 "make bootloader" doesn't work [nuttx]
Posted by "tmedicci (via GitHub)" <gi...@apache.org>.
tmedicci closed issue #13308: [BUG] esp32 "make bootloader" doesn't work
URL: https://github.com/apache/nuttx/issues/13308
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org