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

Unable to increase the RAM size (QEMU-57) #52

Open
manimathma opened this issue Aug 11, 2022 · 1 comment
Open

Unable to increase the RAM size (QEMU-57) #52

manimathma opened this issue Aug 11, 2022 · 1 comment

Comments

@manimathma
Copy link

We are getting following error message when we try to increase the ram size
==2766==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
RAM size larger than 4 MB not supported
Adding SPI flash device

~/qemu/build/qemu-system-xtensa -nographic -machine esp32 -drive file=flash_image.bin,if=mtd,format=raw -nic user,model=open_eth --m 8M

@github-actions github-actions bot changed the title Unable to increase the RAM size Unable to increase the RAM size (QEMU-57) Aug 11, 2022
@igrr
Copy link
Member

igrr commented Aug 12, 2022

@manimathma ESP32 only has 4MB of address space which can be used for the external RAM, so this error is intentional.

Larger PSRAM sizes can be accessed using a banking mechanism (himem API), but it is relatively uncommon so we haven't implemented support for it.

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

3 participants