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-S3 documentation (QEMU-201) #98

Open
PatrickV82 opened this issue Jun 19, 2024 · 5 comments
Open

ESP32-S3 documentation (QEMU-201) #98

PatrickV82 opened this issue Jun 19, 2024 · 5 comments

Comments

@PatrickV82
Copy link

I am trying to use the ESP32-S3 implementation that was released with the version 9.0.0

I have the following questions:

  1. Is there a updated documentation for the bootstrapping pins values?
  2. Does the esp32s3 implementation already support the efuses?
  3. Does the esp32s3 implementation support Flash Encryption and SecureBoot ?

When i try to use the efuse in the same manor as the ESP32-C3 i get the following error

qemu-system-xtensa -nographic -machine esp32s3 -global driver=esp32s3.gpio,property=strap_mode,value=0x08 -drive file=build/qemu_efuse.bin,if=none,format=raw,id=efuse -global driver=nvram.esp32s3.efuse,property=drive,value=efuse -serial tcp::5555,server,nowait

QEMU 9.0.0 monitor - type 'help' for more information
Not initializing SPI Flash
c:\qemu\bin\qemu-system-xtensa: warning: global nvram.esp32s3.efuse.drive has invalid class name

@github-actions github-actions bot changed the title ESP32-S3 documentation ESP32-S3 documentation (QEMU-201) Jun 19, 2024
@igrr
Copy link
Member

igrr commented Jun 19, 2024

Hi @PatrickV82,

Currently there is a stub of eFuse implementation for ESP32-S3, which is simply a copy of the one from ESP32-C3. I think if you replace driver=nvram.esp32s3.efuse with driver=nvram.esp32c3.efuse then QEMU will run. However, I am not sure yet how different ESP32-C3 and ESP32-S3 eFuse modules are, so this might not actually work with ESP-IDF or esptool.

We'll update this issue once ESP32-S3 eFuse support is done!

To get into the download mode on ESP32-S3, set the strapping value to 0x07.

@greenaddress
Copy link

@igrr is there support for openeth driver in qemu for esp32s3? I've tried to build but had some issue around openeth not building for esp32s3 target (but ok for esp32)

@igrr
Copy link
Member

igrr commented Jun 27, 2024

@greenaddress It should have been added in espressif/esp-idf@f95caa75. Have you enabled CONFIG_ETH_USE_OPENETH in menuconfig?

@greenaddress
Copy link

@igrr We are on 5.2.2 right now, hope 5.2.3 or 5.3.x will have it

@igrr
Copy link
Member

igrr commented Nov 14, 2024

@greenaddress Forgot to update you, openeth driver support for ESP32-S3 has been released in IDF v5.2.3 (espressif/esp-idf@c143e68)

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

4 participants