*NO NOT MERGE* Set PSRAM type to Quad#1234
Conversation
|
I think we abandoned other psram variants ... |
We currently detect if there's no PSRAM on board, so we have minimal support. However, that won't help anymore as it just crashes shortly after as it runs out of memory before it finished booting. A possible low-effort solution is #1239, which disables non-essential things, so at least the firmware boots, but that's fairly tricky as we would always need to test if that's still functional. If it does work, it helps in troubleshooting, as these out of memory crashes are difficult to analyse. It needs either a detailed picture of the ESP to determine the model (which is hard for some users) or capture of boot logs before the crash (even harder). Alternatively, we could stop the boot if no PSRAM is detected and show a proper error message on the display, instead of just crashing into a boot-loop. In the case someone has a Quad PSRAM (2MB versions), it's still possible to run the full firmware, as we've only just started to use the PSRAM. This PR was (is) a placeholder just for generating those binaries. This helped a few people already, which is a win. Of course there's #826, but that's more involved. IMO a combination would be nice: proper error message if no PSRAM is there, and a Quad PSRAM support firmware. Or hopefully espressif/esp-idf#13343 gets solved at some point. |

This is a ad-hoc way of generating a
esp-miner.binfile for devices which have Quad PSRAM.See #826