esphome / firmware

Holds firmware configuration files for projects that the ESPHome team provides.
https://esphome.io/projects
Apache License 2.0
162 stars 123 forks source link

M5 Atom Lite won't boot with ESPHome #278

Closed fschwarz86 closed 5 hours ago

fschwarz86 commented 1 day ago

Hi there,

I've flashed ESPHome on my M5 Atom Lite, but it won't boot. All I get is:

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, 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:0x3fff0030,len:6652
ho 0 tail 12 room 4
load:0x40078000,len:15052
load:0x40080400,len:3836
entry 0x4008069c
I (29) boot: ESP-IDF 4.4.7 2nd stage bootloader
I (29) boot: compile time 03:39:35
I (29) boot: Multicore bootloader
I (33) boot: chip revision: v1.1
I (37) boot.esp32: SPI Speed      : 40MHz
I (41) boot.esp32: SPI Mode       : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (59) boot: ## Label            Usage          Type ST Offset   Length
I (67) boot:  0 otadata          OTA data         01 00 00009000 00002000
I (74) boot:  1 phy_init         RF data          01 01 0000b000 00001000
I (81) boot:  2 app0             OTA app          00 10 00010000 001c0000
I (89) boot:  3 app1             OTA app          00 11 001d0000 001c0000
I (96) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
I (104) boot: End of partition table
I (108) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=451f0h (283120) map
I (219) esp_image: segment 1: paddr=00055218 vaddr=3ffbdb60 size=05054h ( 20564) load
I (227) esp_image: segment 2: paddr=0005a274 vaddr=40080000 size=05da4h ( 23972) load
I (238) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=f897ch (1018236) map
I (606) esp_image: segment 4: paddr=001589a4 vaddr=40085da4 size=17ef8h ( 98040) load
I (661) boot: Loaded app from partition at offset 0x10000
I (661) boot: Disabling RNG early entropy source...
I (673) cpu_start: Multicore app
I (673) cpu_start: Pro cpu up.
I (673) cpu_start: Starting app cpu, entry point is 0x400821dc
I (664) cpu_start: App cpu up.
I (693) cpu_start: Pro cpu start user code
I (694) cpu_start: cpu freq: 160000000
I (694) cpu_start: Application information:
I (698) cpu_start: Project name:     m5stack-atom-lite
I (704) cpu_start: App version:      2024.7.3
I (709) cpu_start: Compile time:     Sep  9 2024 03:38:35
I (715) cpu_start: ELF file SHA256:  1e5c7004da431814...
I (721) cpu_start: ESP-IDF:          4.4.7
I (726) cpu_start: Min chip rev:     v0.0
I (730) cpu_start: Max chip rev:     v3.99 
I (735) cpu_start: Chip rev:         v1.1
I (740) heap_init: Initializing. RAM available for dynamic allocation:
I (747) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (753) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (759) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (766) heap_init: At 3FFCB668 len 00014998 (82 KiB): DRAM
I (772) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (778) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (784) heap_init: At 4009DC9C len 00002364 (8 KiB): IRAM
I (792) spi_flash: detected chip: gd
I (795) spi_flash: flash io: dio
I (801) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.

I've tried the pre-compiled version as well as compiling it myself in ESPHome, but without success. I've also tried another M5 Atom Lite, but both don't work.

Any ideas what I'm doing wrong?

Thanks, Florian

fschwarz86 commented 5 hours ago

After doing some more test, I found that it just seems to take forever for the device to boot up, therefore I'm closing this issue.