Skip to content

Customizing the filesystem / partitions for N16R8 #16

@johandevlabs

Description

@johandevlabs

I have a ESP32-S3 N16R8 (https://www.robotics.org.za/ESP32-S3-N16R8).

The rebuild-esp32s3-linux-wifi.sh scripts works flawlessly on my device, but it is configured to N8R8 (with 8MB flash total).

How do I reconfigure the build to make full use of the 16MB flash? Ideally, I would like to allocate an additional 8MB to the rootfs (and make it read/write) so I can place files in the /root folder. Is this possible?

~ # ls /dev/mtd*
/dev/mtd0       /dev/mtd2ro     /dev/mtd5       /dev/mtdblock3
/dev/mtd0ro     /dev/mtd3       /dev/mtd5ro     /dev/mtdblock4
/dev/mtd1       /dev/mtd3ro     /dev/mtdblock0  /dev/mtdblock5
/dev/mtd1ro     /dev/mtd4       /dev/mtdblock1
/dev/mtd2       /dev/mtd4ro     /dev/mtdblock2
~ # df -h
Filesystem                Size      Used Available Use% Mounted on
mtd:rootfs                4.2M      4.2M         0 100% /
mtd:etc                 448.0K    216.0K    232.0K  48% /etc

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