-
Notifications
You must be signed in to change notification settings - Fork 60
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 in QEMU: PSRAM cannot work for esp32s3 device (QEMU-211) #103
Comments
Yes, as you found, PSRAM support is not implemented for S3 yet. We'll update this issue when that gets done. |
Can I ask will you implement it recently? |
I try to fix it by #104, please help review it, thanks. |
Hello @dongsheng28849455 , Sorry for not giving more updates about this. A few days ago, we opened an internal MR to add support for the PSRAM on the S3. It is currently under review. |
Thanks for your works, when i test it, seems the get_eid_by_size does not handle the case of size_mbytes equal to 16M or 32M? |
Checklist
Feature description
Is it possible to support PSRAM for S3 also?
Use cases
In nuttx nsh, we expect the umem can be 32M size.
NuttShell (NSH) NuttX-12.6.0-RC1
nsh> free
total used free maxused maxfree nused nfree
Kmem: 359196 16612 342584 17000 342584 43 1
Umem: 33161212 10596 33150616 10984 33150616 9 1
Alternatives
No response
Additional context
When I try to enable the PSRAM, I met several issues:
1, Similar with #57, neither SPIRAM_SPEED_80M nor SPIRAM_SPEED_40M can work
2, The ESP32S3MMUEntry e value will be overwritten by e.reserved
4, dcache was created as rom device, so dbus address cannot be written
3, SSS_PSRAM does not attach to SPI1 for S3 machine
4, RAM size larger than 4 MB not supported, seems S3 can support 32M as maximum.
The text was updated successfully, but these errors were encountered: