Skip to content
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

ESP32-C3 in QEMU: panic after OTA and restart (QEMU-210) #102

Open
3 tasks done
valkuc opened this issue Sep 18, 2024 · 0 comments
Open
3 tasks done

ESP32-C3 in QEMU: panic after OTA and restart (QEMU-210) #102

valkuc opened this issue Sep 18, 2024 · 0 comments

Comments

@valkuc
Copy link

valkuc commented Sep 18, 2024

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Firmware successfully restart.

Actual behavior (suspected bug)

The system will not boot with every time different panics. Some of them:

assert failed: esp_mmu_map_init esp_mmu_map.c:211 (hw_mem_regions[i].region_size % CONFIG_MMU_PAGE_SIZE == 0)
assert failed: s_prepare_reserved_regions memory_layout_utils.c:102 (reserved[i].start <= reserved[i].end)

Error logs or terminal output

No response

Steps to reproduce the behavior

In order to reproduce this problem you need to have a firmware with OTA support.

  1. Boot flashed firmware in QEMU (OTA1)
  2. Prepare OTA2 for upload (pay attention, the content of OTA image should differ for at least in 4-8 bytes from one that is booted right now)
  3. Flash OTA2, now wait white system reboots, ESP32 will panic and will revert to OTA1.

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Windows 10

Shell

PowerShell

Additional context

Ticket created as continuation of espressif/esp-toolchain-docs#3 (comment)

@github-actions github-actions bot changed the title ESP32-C3 in QEMU: panic after OTA and restart ESP32-C3 in QEMU: panic after OTA and restart (QEMU-210) Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants