-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
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
ESP-IDF Bootloader bootloop #27068
Comments
I think this needs to be fixed after we have a working SPI driver and initial flash support. For now, I think the path to BT/WiFi is:
|
Hi Everyone Ran into the same issue over the weekend, it seems to be executing application code briefly though. Do we have an idea why it might enter this loop? |
I'm working on flash cache support. At the moment the easiest way to test is by using ESP-IDF Bootloader. |
How have you diagnosed this?
I don't |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Zephyr Linker script is not configured to work with ESP 2nd Stage Bootloader, The Bootloader found Zephyr but failed to find IRAM and DRAM parts, so it is not loading Zephyr. |
This should be fixed when #3723 implemented. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Describe the bug
When enabling
CONFIG_BOOTLOADER_ESP_IDF
, the bootlader load the app but hang afterI (178) boot: Disabling RNG early entropy source...
then restart.To Reproduce
Steps to reproduce the behavior:
1.export ZEPHYR_TOOLCHAIN_VARIANT=espressif; export ESPRESSIF_TOOLCHAIN_PATH=/path/to/xtensa-esp32-elf/; export ESP_IDF_PATH=/path/to/esp-idf
2. west build -b esp32 zephyr/samples/hello_world/ -DCONFIG_BOOTLOADER_ESP_IDF=y
3. west flash
4. Open a serial console
5. Watch the bootloop
Expected behavior
We should the default hello_world sample output
Impact
While mcuboot does not support esp32, this is a showstopper for wifi and bluetooth as esp-idf bootloader is the only second stage bootloader we have, which is necessary for future flash cache support
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: