-
Notifications
You must be signed in to change notification settings - Fork 72
Wrong Flash size detection, cannot use flash image more that 4Mb (QEMU-101) #66
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
Labels
Status: Done
Issue is done internally
Comments
ping |
Thanks for reporting this issue @listout! If you open a PR with your proposed change, I can merge it into the next release based on QEMU 8.0. |
I'll do that |
listout
pushed a commit
to listout/qemu
that referenced
this issue
Feb 23, 2023
In commit 0152246 4MB (or gd25q32) was being hardcoded, as a result we could not use larger image size could not be used. This PR should fix it, by using the largest available (gd25q64). Fixes: espressif#66 Signed-off-by: listout <[email protected]>
listout
pushed a commit
to listout/qemu
that referenced
this issue
Feb 23, 2023
In commit 0152246 4MB (or gd25q32) was being hardcoded, as a result we could not use larger image size (> 4Mb). This PR should fix it, by using the largest available (gd25q64). Fixes: espressif#66 Signed-off-by: listout <[email protected]>
listout
pushed a commit
to listout/qemu
that referenced
this issue
Mar 4, 2023
In commit 0152246 4MB (or gd25q32) was being hardcoded, as a result we could not use larger image size (> 4Mb). This PR should fix it, by using the largest available (gd25q64). Fixes: espressif#66 Fixes: espressif#17 Signed-off-by: listout <[email protected]>
espressif-bot
pushed a commit
that referenced
this issue
Jun 27, 2023
In commit listout@0152246 4MB (or gd25q32) was being hardcoded, as a result we could not use larger image size (> 4Mb). This PR should fix it, by using the largest available (gd25q64). Fixes: #66 Fixes: #17 Signed-off-by: listout <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue can be traced back to commit 0152246, specifically this line where 4MB (or gd25q32) is being hard coded as the flash_dev for some reason. Thus resulting in
E (6755) spi_flash: Detected size(4096k) smaller than the size in the binary image header(8192k). Probe failed.
Currently the fix is to go into
hw/xtensa/esp32.c
file and edit line 688, replacinggd25q32
withgd25q64
.Full better log:
The text was updated successfully, but these errors were encountered: