You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make configuration:
CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
build and run qemu:
qemu-system-xtensa -nographic -serial mon:stdio -monitor null -machine esp32s3 -drive file=result.bin,if=mtd,format=raw -m 8M
see that PSRAM is not recognized
Project release version
v5.3.1
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Ubuntu 24.04
Shell
ZSH
Additional context
I understand that ESP32S3 doesn't support PSRAM in QEMU in latest release (v9.0.0).
But it's already implemented as described here: Issue 103.
So I got 1311d7b (latest for now on esp-develop), built it and it failed to work with OCTAL PSRAM setup.
In QEMU it works with QUAD mode, but not OCTAL.
And actually, my esp32s3-wroom-1 N8R8 works only for OCTAL, but not QUAD.
I'm asking for adding QEMU-driver property to select manually type of SPIRAM. Best is to make it automated, but I'm not sure it's possible since we have to somehow point QEMU how much lines SPI uses (AFAIU).
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
ESP32S3 QEMU: octal SPI is not working for PSRAM
ESP32S3 QEMU: octal SPI is not working for PSRAM (QEMU-227)
Dec 6, 2024
Hi @albkharisov, so far we haven't implemented octal PSRAM support in QEMU, please switch your project configuration to quad PSRAM when building the project for QEMU. We'll consider adding support for octal Flash/PSRAM in a future release.
We plan to do the next release in the next 2-3 weeks.
However i didn't mean to say that octal PSRAM will be supported in the next release of QEMU, just in a future release :) Sorry that I can't be more specific on when we'll implement up this feature.
Checklist
How often does this bug occurs?
always
Expected behavior
I expect PSRAM to be working on ESP32S3 in QEMU when it's configured as Octal SPIRAM.
Actual behavior (suspected bug)
Instead, it doesn't. It works only with Quad SPIRAM.
Error logs or terminal output
E (99) octal_psram: PSRAM ID read error: 0x00000000, PSRAM chip not found or not supported, or wrong PSRAM line mode
Steps to reproduce the behavior
CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
qemu-system-xtensa -nographic -serial mon:stdio -monitor null -machine esp32s3 -drive file=result.bin,if=mtd,format=raw -m 8M
Project release version
v5.3.1
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Ubuntu 24.04
Shell
ZSH
Additional context
I understand that ESP32S3 doesn't support PSRAM in QEMU in latest release (v9.0.0).
But it's already implemented as described here: Issue 103.
So I got 1311d7b (latest for now on esp-develop), built it and it failed to work with OCTAL PSRAM setup.
In QEMU it works with QUAD mode, but not OCTAL.
And actually, my esp32s3-wroom-1 N8R8 works only for OCTAL, but not QUAD.
I'm asking for adding QEMU-driver property to select manually type of SPIRAM. Best is to make it automated, but I'm not sure it's possible since we have to somehow point QEMU how much lines SPI uses (AFAIU).
The text was updated successfully, but these errors were encountered: