We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
> node.LFS.reload("lfs.img") Lua error: stdin: not a precompiled chunk
I noticed a regress in LFS loading. Before commit 'Initial support...' LFS troughs errors, but it works.
> LFS cfg: { lfs_base = 0x190000, lfs_mapped = 0x3f430000, lfs_size = 0x010000, lfs_used = 0x000a04 } > LFS list: 1 main rst:0xc (SW_CPU_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:0x3fff0030,len:7080 load:0x40078000,len:15584 load:0x40080400,len:4 ho 8 tail 4 room 4 load:0x40080404,len:3876 entry 0x4008064c I (31) boot: ESP-IDF v5.1.2 2nd stage bootloader I (31) boot: compile time May 15 2024 10:39:22 I (31) boot: Multicore bootloader I (35) boot: chip revision: v3.0 I (39) boot.esp32: SPI Speed : 40MHz I (44) boot.esp32: SPI Mode : DIO I (48) boot.esp32: SPI Flash Size : 4MB I (53) boot: Enabling RNG early entropy source... I (58) boot: Partition Table: I (62) boot: ## Label Usage Type ST Offset Length I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (76) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (84) boot: 2 factory factory app 00 00 00010000 00180000 I (91) boot: 3 lfs unknown c2 01 00190000 00010000 I (99) boot: 4 storage Unknown data 01 82 001a0000 00070000 I (106) boot: End of partition table I (111) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2a1ech (172524) map I (182) esp_image: segment 1: paddr=0003a214 vaddr=3ff80063 size=00008h ( 8) load I (182) esp_image: segment 2: paddr=0003a224 vaddr=3ffb0000 size=03b38h ( 15160) load I (193) esp_image: segment 3: paddr=0003dd64 vaddr=40080000 size=022b4h ( 8884) load I (200) esp_image: segment 4: paddr=00040020 vaddr=400d0020 size=bf648h (783944) map I (487) esp_image: segment 5: paddr=000ff670 vaddr=400822b4 size=14edch ( 85724) load I (523) esp_image: segment 6: paddr=00114554 vaddr=400c0000 size=00064h ( 100) load I (535) boot: Loaded app from partition at offset 0x10000 I (535) boot: Disabling RNG early entropy source... W (558) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h` W (558) ADC: legacy driver is deprecated, please migrate to `esp_adc/adc_oneshot.h` E (725) mmap: esp_mmu_paddr_to_vaddr(752): paddr isn't mapped Erasing LFS from flash addr 0x190000.�[0;31mE (765) task_wdt: esp_task_wdt_init(592): Invalid arguments�[0m to 0x19ffff LFS image loaded E (825) gpio: gpio_install_isr_service(499): GPIO isr service already installed Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4008fc8d PS : 0x00060033 A0 : 0x8008ff3d A1 : 0x3ffb8520 A2 : 0x3ffb85cc A3 : 0x3ffc0d40 A4 : 0x3ffc0d4c A5 : 0x00000500 A6 : 0xb33fffff A7 : 0xb33fffff A8 : 0x00000006 A9 : 0x00000006 A10 : 0x00040000 A11 : 0x00000a00 A12 : 0x00000b98 A13 : 0x3ffc4120 A14 : 0x00000a00 A15 : 0x0ab03005 SAR : 0x0000001c EXCCAUSE: 0x0000001c EXCVADDR: 0x00000b98 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0xffffffff Backtrace: 0x4008fc8a:0x3ffb8520 0x4008ff3a:0x3ffb8540 0x4008f80e:0x3ffb8580 0x400822d9:0x3ffb85a0 0x40082345:0x3ffb85d0 0x40082375:0x3ffb85f0 0x40091a69:0x3ffb8610 0x400e05d6:0x3ffb8630 0x400e3c8a:0x3ffb8650 0x400e210d:0x3ffb8670 0x400e21bd:0x3ffb8690 0x400e2516:0x3ffb86b0 0x400e26e2:0x3ffb86e0 0x400e2709:0x3ffb8700 0x400e1d0e:0x3ffb8720 0x400e1d6a:0x3ffb8740 0x400e1d91:0x3ffb8790 0x400e89eb:0x3ffb87b0 0x400df339:0x3ffb87d0 0x400dfa76:0x3ffb87f0 0x400e7913:0x3ffb8810 0x400e2553:0x3ffb8830 0x400e26e2:0x3ffb8860 0x400e2709:0x3ffb8880 0x400e1d0e:0x3ffb88a0 0x400e1d6a:0x3ffb88c0 0x400e1d91:0x3ffb8910 0x400e89eb:0x3ffb8930 0x400df339:0x3ffb8950 0x400dfa76:0x3ffb8970 0x400e7913:0x3ffb8990 0x400e2553:0x3ffb89b0 0x400e26e2:0x3ffb89e0 0x400e2709:0x3ffb8a00 0x400e1d0e:0x3ffb8a20 0x400e1d6a:0x3ffb8a40 0x400e1d91:0x3ffb8a90 0x400e89eb:0x3ffb8ab0 0x400df339:0x3ffb8ad0 0x400dfa76:0x3ffb8af0 0x400e7913:0x3ffb8b10 0x400e2553:0x3ffb8b30 0x400e26e2:0x3ffb8b60 0x400e2709:0x3ffb8b80 0x400e1d0e:0x3ffb8ba0 0x400e1d6a:0x3ffb8bc0 0x400e1d91:0x3ffb8c10 0x400e89eb:0x3ffb8c30 0x400df339:0x3ffb8c50 0x400dfa76:0x3ffb8c70 0x400e7913:0x3ffb8c90 0x400e2553:0x3ffb8cb0 0x400e26e2:0x3ffb8ce0 0x400e2709:0x3ffb8d00 0x400e1d0e:0x3ffb8d20 0x400e1d6a:0x3ffb8d40 0x400e1d91:0x3ffb8d90 0x400e89eb:0x3ffb8db0 0x400df339:0x3ffb8dd0 0x400dfa76:0x3ffb8df0 0x400e7913:0x3ffb8e10 0x400e2553:0x3ffb8e30 0x400e26e2:0x3ffb8e60 0x400e2709:0x3ffb8e80 0x400e1d0e:0x3ffb8ea0 0x400e1d6a:0x3ffb8ec0 0x400e1d91:0x3ffb8f10 0x400e89eb:0x3ffb8f30 0x400df339:0x3ffb8f50 0x400dfa76:0x3ffb8f70 0x400e7913:0x3ffb8f90 0x400e2553:0x3ffb8fb0 0x400e26e2:0x3ffb8fe0 0x400e2709:0x3ffb9000 0x400e1d0e:0x3ffb9020 0x400e1d6a:0x3ffb9040 0x400e1d91:0x3ffb9090 0x400e89eb:0x3ffb90b0 0x400df339:0x3ffb90d0 0x400dfa76:0x3ffb90f0 0x400e7913:0x3ffb9110 0x400e2553:0x3ffb9130 0x400e26e2:0x3ffb9160 0x400e2709:0x3ffb9180 0x400e1d0e:0x3ffb91a0 0x400e1d6a:0x3ffb91c0 0x400e1d91:0x3ffb9210 0x400e89eb:0x3ffb9230 0x400df339:0x3ffb9250 0x400dfa76:0x3ffb9270 0x400e7913:0x3ffb9290 0x400e2553:0x3ffb92b0 0x400e26e2:0x3ffb92e0 0x400e2709:0x3ffb9300 0x400e1d0e:0x3ffb9320 0x400e1d6a:0x3ffb9340 0x400e1d91:0x3ffb9390 0x400e89eb:0x3ffb93b0 0x400df339:0x3ffb93d0 0x400dfa76:0x3ffb93f0 0x400e7913:0x3ffb9410 |<-CONTINUES ELF file SHA256: bbce3c15dcd7262d Rebooting... ets Jul 29 2019 12:21:46 rst:0xc (SW_CPU_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:0x3fff0030,len:7080 load:0x40078000,len:15584 load:0x40080400,len:4 ho 8 tail 4 room 4 load:0x40080404,len:3876 entry 0x4008064c I (31) boot: ESP-IDF v5.1.2 2nd stage bootloader I (31) boot: compile time May 15 2024 10:39:22 I (31) boot: Multicore bootloader I (35) boot: chip revision: v3.0 I (39) boot.esp32: SPI Speed : 40MHz I (44) boot.esp32: SPI Mode : DIO I (48) boot.esp32: SPI Flash Size : 4MB I (53) boot: Enabling RNG early entropy source... I (58) boot: Partition Table: I (62) boot: ## Label Usage Type ST Offset Length I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (76) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (84) boot: 2 factory factory app 00 00 00010000 00180000 I (91) boot: 3 lfs unknown c2 01 00190000 00010000 I (99) boot: 4 storage Unknown data 01 82 001a0000 00070000 I (106) boot: End of partition table I (111) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2a1ech (172524) map I (182) esp_image: segment 1: paddr=0003a214 vaddr=3ff80063 size=00008h ( 8) load I (182) esp_image: segment 2: paddr=0003a224 vaddr=3ffb0000 size=03b38h ( 15160) load I (193) esp_image: segment 3: paddr=0003dd64 vaddr=40080000 size=022b4h ( 8884) load I (200) esp_image: segment 4: paddr=00040020 vaddr=400d0020 size=bf648h (783944) map I (487) esp_image: segment 5: paddr=000ff670 vaddr=400822b4 size=14edch ( 85724) load I (523) esp_image: segment 6: paddr=00114554 vaddr=400c0000 size=00064h ( 100) load I (535) boot: Loaded app from partition at offset 0x10000 I (535) boot: Disabling RNG early entropy source... W (558) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h` W (558) ADC: legacy driver is deprecated, please migrate to `esp_adc/adc_oneshot.h` E (724) mmap: esp_mmu_paddr_to_vaddr(752): paddr isn't mapped LFS image loaded NodeMCU ESP32 build unspecified powered by Lua 5.3.5 [5.3-int32-singlefp] on IDF v5.1.2 cannot open init.lua: No such file or directory > node.LFS.get("main")() Print from LFS. stage 1
with PR #3646 LFS doesn't work.
rst:0xc (SW_CPU_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:0x3fff0030,len:7112 load:0x40078000,len:15616 load:0x40080400,len:4 ho 8 tail 4 room 4 load:0x40080404,len:3876 entry 0x4008064c I (31) boot: ESP-IDF v5.1.3 2nd stage bootloader I (31) boot: compile time May 15 2024 10:58:38 I (31) boot: Multicore bootloader I (35) boot: chip revision: v3.0 I (39) boot.esp32: SPI Speed : 40MHz I (44) boot.esp32: SPI Mode : DIO I (48) boot.esp32: SPI Flash Size : 4MB I (53) boot: Enabling RNG early entropy source... I (58) boot: Partition Table: I (62) boot: ## Label Usage Type ST Offset Length I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (76) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (84) boot: 2 factory factory app 00 00 00010000 00180000 I (91) boot: 3 lfs unknown c2 01 00190000 00010000 I (99) boot: 4 storage Unknown data 01 82 001a0000 00070000 I (106) boot: End of partition table I (111) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2a368h (172904) map I (182) esp_image: segment 1: paddr=0003a390 vaddr=3ff80063 size=00008h ( 8) load I (182) esp_image: segment 2: paddr=0003a3a0 vaddr=3ffb0000 size=03b68h ( 15208) load I (193) esp_image: segment 3: paddr=0003df10 vaddr=40080000 size=02108h ( 8456) load I (200) esp_image: segment 4: paddr=00040020 vaddr=400d0020 size=bfbd4h (785364) map I (488) esp_image: segment 5: paddr=000ffbfc vaddr=40082108 size=1541ch ( 87068) load I (524) esp_image: segment 6: paddr=00115020 vaddr=400c0000 size=00064h ( 100) load I (536) boot: Loaded app from partition at offset 0x10000 I (536) boot: Disabling RNG early entropy source... W (559) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h` W (559) ADC: legacy driver is deprecated, please migrate to `esp_adc/adc_oneshot.h` E (725) mmap: esp_mmu_paddr_to_vaddr(752): paddr isn't mapped Erasing LFS from flash addr 0x190000.�[0;31mE (775) task_wdt: esp_task_wdt_init(592): Invalid arguments�[0m to 0x19ffff (null): corrupted precompiled chunk stack traceback: [C]: in ? [C]: in ?
test code: main.lua print("Print from LFS. stage 1")
print("Print from LFS. stage 1")
The corresponding version of luac.cross is used to compile the test code in each build.
The text was updated successfully, but these errors were encountered:
I apologize, the issue was on my end. Closing issue.
Sorry, something went wrong.
No branches or pull requests
Actual behavior
I noticed a regress in LFS loading.
Before commit 'Initial support...' LFS troughs errors, but it works.
Log before 'Initial support ...' commit
with PR #3646 LFS doesn't work.
Log for latest PR
test code: main.lua
print("Print from LFS. stage 1")
The corresponding version of luac.cross is used to compile the test code in each build.
The text was updated successfully, but these errors were encountered: