ESP32-S3 Linux partition table
The existent partition table is made for 8MB flash, and I am trying to add a new R/W partition that will make use of the remaining 8MB, but I have no idea how to edit the partition table or the fstab file.
this post has some information but it is not clear enough for me https://github.com/jcmvbkbc/esp32-linux-build/issues/16#issuecomment-2364978673
these are the original contents of the files in question
fstab
partition_table.esp32s3
3 Replies
but it's still super confusing, what FS do I use to add a R/W partition, and what do I have to edit in the
fstab
after that?
and in the first example they show offset and size as hexadecimal and in the other examples it's shown as K(B) / M(B)
I added this line to the end of the partition table, not sure if it's correct
spiffs, data, spiffs, 0x00800000, 0x00800000
but if it is, what do I have to edit in the fstab now?I don't think you can use spiffs.
The offset should probably be 0x008600000.
In fstab it should probably be like etc,
ie:
mtd:myfs /myfs jffs2 nofail 0 0
You could probably also just increase the size of the rootfs like the github user did.