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

Web update from 3.6.5 to 3.7.0 on E32 V2 defaults to S32 board profile #2151

Open
bbqkees opened this issue Oct 28, 2024 · 5 comments
Open
Milestone

Comments

@bbqkees
Copy link
Contributor

bbqkees commented Oct 28, 2024

I got several emails already from users with an E32 V2 who updated from 3.6.5 to 3.7.0 release.
After upload and the reboot, the Ethernet port does not work anymore, so they think they bricked the device.
I checked it and can reproduce it: when you try to update from 3.6.5 to 3.7.0 via the web interface, it points to the ESP32.bin instead of the ESP32-16MB+.bin. At reboot the board profile is incorrectly set to S32.

This will disabled Ethernet and also f.i. the reset button does not work anymore.

@proddy
Copy link
Contributor

proddy commented Oct 28, 2024

damn, I thought we tested this all. I'll take a look. Maybe its a simple fix by including different named files in the 3.7.0 GH assets

@proddy
Copy link
Contributor

proddy commented Oct 28, 2024

as a quick fix I made the EMS-ESP-3_7_0-ESP32.bin the same as the 16MB+ (with PSRAM) so that will help E32 users automatically upgrade.

But it will crash any older S32 4MB users. Need to look into what is causing that.

(the change was part of #1941 )

@proddy proddy added the bug Something isn't working label Oct 28, 2024
@proddy proddy added this to the v3.7.0 milestone Oct 28, 2024
@proddy
Copy link
Contributor

proddy commented Oct 28, 2024

I can't find an easy way to fix this. I'll remove the binaries and people will need to manually upgrade using the table on the BBQKees wiki.

@proddy proddy removed the bug Something isn't working label Oct 28, 2024
@proddy proddy closed this as completed Oct 28, 2024
@bbqkees
Copy link
Contributor Author

bbqkees commented Oct 28, 2024

Maybe for future updates have EMS-ESP check a special page like updates.emsesp.org. There you could run a check or a table and load the correct bin file for each device. So a relay-page.

@proddy
Copy link
Contributor

proddy commented Oct 28, 2024

I'll think of another way to detect an upgrade from 3.6.5 to 3.7.0, which bypasses the hardware detection. Maybe that will fix it. I spent 3 hours trying to get around the problem, it isn't trivial. The problem is that E32V2 came out after v3.6.5 and before we had the newer variations (like PSRAM) with different partition tables. The Firmware download check in 3.6.5 is quite simple and doesn't take into account chip-sets for example.

The logic in 3.7.0 is better. No need for a relay-page anymore.

@proddy proddy reopened this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants