ArduinoA
Arduino5mo ago
4 replies
bsdinis

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
# <file system>    <mount pt>    <type>    <options>    <dump>    <pass>
/dev/root    /        ext2    rw,noauto    0    1
proc        /proc        proc    defaults    0    0
devpts        /dev/pts    devpts    defaults,gid=5,mode=620,ptmxmode=0666    0    0
tmpfs        /dev/shm    tmpfs    mode=0777    0    0
tmpfs        /tmp        tmpfs    mode=1777    0    0
tmpfs        /run        tmpfs    mode=0755,nosuid,nodev    0    0
sysfs        /sys        sysfs    defaults    0    0
mtd:etc        /etc        jffs2    nofail        0    0


partition_table.esp32s3
## Label          type  ST       Offset      Length
nvs,              data, nvs,     0x0000a000, 0x00005000
phy_init,         data, phy,     0x0000f000, 0x00001000
factory,          app,  factory, 0x00010000, 0x000a0000
etc,              0x40, 0x1,     0x000b0000, 0x00070000
linux,            0x40, 0x0,     0x00120000, 0x00360000
rootfs,           0x40, 0x1,     0x00480000, 0x00380000
Was this page helpful?