sle118 / squeezelite-esp32

ESP32 Music streaming based on Squeezelite, with support for multi-room sync, AirPlay, Bluetooth, Hardware buttons, display and more
1.07k stars 100 forks source link

Documentation: Proposal for warning: Incompatibility Issue with some wrover boards #387

Open dierochade opened 5 months ago

dierochade commented 5 months ago

there are incompatible wrover boards, that give you flash errors and/or only boot when holding the boot hardware button.

This was discussed here (https://github.com/sle118/squeezelite-esp32/issues/182) and closed as resolved, but according to recent reports in this thread, it is still unsolved, at least for some users.

I have bought these: https://aliexpress.com/item/1005005885233367.html

And I also experience fatal errors on bootup, after flashing with the normal webtool:

`ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:6424 load:0x40078000,len:15632 load:0x40080400,len:4348 entry 0x40080688 I (27) boot: ESP-IDF v4.3.5-dirty 2nd stage bootloader I (27) boot: compile time 05:43:17 I (27) boot: chip revision: v1.0 I (31) qio_mode: Enabling default flash chip QIO I (36) boot.esp32: SPI Speed : 80MHz I (41) boot.esp32: SPI Mode : QIO I (45) boot.esp32: SPI Flash Size : 4MB I (50) boot: Enabling RNG early entropy source... I (55) boot: Partition Table: I (59) boot: ## Label Usage Type ST Offset Length I (66) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (73) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (81) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (88) boot: 3 recovery factory app 00 00 00010000 00140000 I (96) boot: 4 ota_0 OTA app 00 10 00150000 002a0000 I (103) boot: 5 settings WiFi data 01 02 003f0000 00010000 I (111) boot: End of partition table I (115) boot: Defaulting to factory image I (120) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=53868h (342120) map I (223) esp_image: segment 1: paddr=00063890 vaddr=3ffbdb60 size=04858h ( 18520) load I (228) esp_image: segment 2: paddr=000680f0 vaddr=40080000 size=07f28h ( 32552) load I (239) esp_image: segment 3: paddr=00070020 vaddr=400d0020 size=d1724h (857892) map I (476) esp_image: segment 4: paddr=0014174c vaddr=40087f28 size=0c8a8h ( 51368) load I (493) esp_image: segment 5: paddr=0014dffc vaddr=400c0000 size=00068h ( 104) load I (503) boot: Loaded app from partition at offset 0x10000 I (503) boot: Disabling RNG early entropy source... I (515) psram: This chip is ESP32-D0WD ets Jun 8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371

looping...`

I would suggest to issue an warning in the documentation or recommendation for compatible boards for the time being?

adamflorizone commented 2 months ago

Just a heads up. I discovered that Tasmota32 Cam using the web programmer (https://tasmota.github.io/install/) boots without issue. The previous issue matches the same board I tested. Tasmota boots and the camera works. There might be something wrong with this (16 bits) project, that Tasmota (32 bits) solves.

The boards factory image:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5564
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
I (28) boot: ESP-IDF v3.0.1 2nd stage bootloader
I (29) boot: compile time 05:35:52
I (29) boot: Enabling RNG early entropy source...
I (33) boot: SPI Speed      : 40MHz
I (37) boot: SPI Mode       : DIO
I (41) boot: SPI Flash Size : 4MB

After programing with Tasmota32 Cam:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:184
load:0x40078000,len:13244
ho 0 tail 12 room 4
load:0x40080400,len:4
load:0x40080404,len:2924
entry 0x40080570

00:00:00.001-216/51 HDW: ESP32-D0WDQ6 v1.0 (PSRAM)
00:00:00.015-214/50 UFS: FlashFS mounted with 304 kB free
00:00:00.025 CFG: Loaded from File, Count 9
00:00:00.033 QPC: Count 1
00:00:00.058 BRY: Berry initialized, RAM used 3136 bytes
00:00:00.065 Project tasmota - Tasmota Version 13.4.1.2(50979c3-webcam)-3_0_0(2024-05-01T13:22:41)

Tasmota Info:

Freenove-WROVER-Cam
Tasmota
Program Version 13.4.0(webcam)
Build Date & Time   2024-02-14T16:17:31
Core/SDK Version    2_0_14/4.4.6.240105
Uptime  0T00:01:11
Flash Write Count   30
Boot Count  9
Restart Reason  Vbat power on reset
AP1 Information SSId ....
RSSI 100%, -40 dBm
Mode 11n
Channel 11
BSSId 74:83:C2:BA:2C:97
Hostname    tasmota-...
IPv6 Global (WiFi)  ...
IPv6 Local (WiFi)   ...
MAC Address ...
IP Address (WiFi)   ...
Gateway ...
Subnet Mask ...
DNS Server1 ...
DNS Server2 0.0.0.0
HTTP API    Enabled
MQTT    Disabled
ESP Chip Id 9340128 (ESP32-D0WDQ6 v1.0)
Flash Chip Id   0x16405E (DIO)
Flash Size  4096 KB
Program Flash Size  4096 KB
Program Size    1235 KB
Free Program Space  1644 KB
Free Memory 112.8 KB (frag. 10%)
PS-RAM Memory   4093 KB
PS-RAM free Memory  3338 KB
Partition safeboot  832 KB (used 93%)
Partition app0* 2880 KB (used 42%)
Partition fs    320 KB