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

[4.0.0-beta1] ESP32 -- File system infinite loop #362

Closed
henrygab opened this issue Sep 27, 2021 · 5 comments
Closed

[4.0.0-beta1] ESP32 -- File system infinite loop #362

henrygab opened this issue Sep 27, 2021 · 5 comments
Assignees
Labels

Comments

@henrygab
Copy link
Contributor

--------- Instructions - Delete this ---------
Please provide answers directly below each section.
--------- Instructions - Delete to here ---------
ESPixelStick Firmware Version
4.0.0-Beta1 (7083637)

Hardware Version
TwilightLord ESP32 16MB

Binary release or compiled yourself?
Binary release

Operating System
N/A

Access Point
Ubiquiti Nanostation M2 Loco

Describe the bug

Bare, fresh module -- nothing attached to any pins. Fully erased flash just before flashing this beta, choosing Generic ESP32 4MB (should just ignore the extra 12MB).

Gets into an infinite cycle, and appears to have errors saving its own config to the internal flash?

The following output lines may be of particular interest:

./components/esp_littlefs/src/littlefs/lfs.c:495:error: No more free space 50
...
[FileMgr] ***Configuration File: '/input_config.json' Deserialzation Error. Error code = EmptyInput***
[InputMgr] EEEE Error loading Input Manager Config File. EEEE

Attached an example log showing the infinitely looping output.

espixelstick_fs_error.txt

(The module itself is fine ... WLED works on this same module.)

@henrygab henrygab changed the title [4.0.0-beta1] Infinite boot loop on new ESP32? [4.0.0-beta1] ESP32 -- File system infinite loop Sep 27, 2021
@MartinMueller2003
Copy link
Collaborator

The File System on this device is in a bad state. It looks like it was not properly set up. This line is the key:
./components/esp_littlefs/src/littlefs/lfs.c:495:error: No more free space 50
We do not use anywhere near the total space available in a properly formatted FS.

@forkineye
Copy link
Owner

@henrygab
For this one, can you try this as well? #360 (comment)

@forkineye forkineye self-assigned this Sep 27, 2021
@forkineye
Copy link
Owner

@henrygab
Normally, we just erase the filesystem area on flash. I just changed the flash tool to do a full erase, can you give this one a try - https://github.com/forkineye/ESPixelStick/actions/runs/1279404057

@forkineye
Copy link
Owner

I've tried on all my modules can still can't re-produce this. If you're still experiencing this in the newer builds, let us know.

@henrygab
Copy link
Contributor Author

I apologize for the delayed response. (Real life is sometimes busy.)

I had been fully erasing the flash using espytool.py before loading any of the 4.0 builds. So, I don't think having the flash tool full erase would change the result.

However, it appears that ESPixelStick_Firmware-4.0-ci1282596145 no longer reproduces the issue, so OK to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants