Skip to content

Latest esp-idf (VFS V2?) cannot be mounted after reboot #7

@paulreimer

Description

@paulreimer

Noticed that esp-idf has made some updates to VFS, or at least this component now behaves differently with the latest esp-idf master.

The filesystem seems to work (all files read as expected) after a fresh erase_flash and then flashing the fatfs image to the partition offset. But it does not persist a reboot (e.g. it cannot be mounted after reset button is toggled, or after a software triggered reboot)

There is some new logging here on the first boot here:

I (105) wl_flash: updateV1_V2 Update from V1 to V2, crc=0x69c05153,
I (107) wl_flash: updateV1_V2 max_pos=29, pos=25, state.ver=1, state2.ver=1

Upon reboot I get the following error when mounting:

W (521) vfs_fat_spiflash: f_mount failed (13)

This makes me think esp-idf has changed upstream, and this repo should update the esp-idf components to be generating images in this new "V2" format? At least, in my case I do not need to support both formats -- preferably only the latest one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions