1
0
mirror of https://github.com/skot/ESP-Miner.git synced 2025-03-17 13:22:53 +01:00

Increase parition sizes and include coredump partition

This commit is contained in:
johnny9 2023-09-12 23:56:19 -04:00 committed by Johnny
parent e549d28c07
commit bc4afd39b7
3 changed files with 10 additions and 9 deletions

@ -28,7 +28,7 @@ for file in "${required_files[@]}"; do
done
# Call esptool.py with the specified arguments
esptool.py --chip esp32s3 merge_bin --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/esp-miner.bin 0x110000 build/www.bin 0x510000 build/ota_data_initial.bin -o "$output_file"
esptool.py --chip esp32s3 merge_bin --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/esp-miner.bin 0x410000 build/www.bin 0xf10000 build/ota_data_initial.bin -o "$output_file"
# Check if esptool.py command was successful
if [ $? -eq 0 ]; then

@ -2,8 +2,9 @@
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, 0x9000, 0x6000
phy_init, data, phy, 0xf000, 0x1000
factory, app, factory, 0x10000, 1M
www, data, spiffs, 0x110000, 2M
ota_0, app, ota_0, 0x310000, 1M
ota_1, app, ota_1, 0x410000, 1M
otadata, data, ota, 0x510000, 8k
factory, app, factory, 0x10000, 4M
www, data, spiffs, 0x410000, 3M
ota_0, app, ota_0, 0x710000, 4M
ota_1, app, ota_1, 0xb10000, 4M
otadata, data, ota, 0xf10000, 8k
coredump, data, coredump, , 64K

1 # Name, Type, SubType, Offset, Size, Flags
2 # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
3 nvs, data, nvs, 0x9000, 0x6000
4 phy_init, data, phy, 0xf000, 0x1000
5 factory, app, factory, 0x10000, 1M factory, app, factory, 0x10000, 4M
6 www, data, spiffs, 0x110000, 2M www, data, spiffs, 0x410000, 3M
7 ota_0, app, ota_0, 0x310000, 1M ota_0, app, ota_0, 0x710000, 4M
8 ota_1, app, ota_1, 0x410000, 1M ota_1, app, ota_1, 0xb10000, 4M
9 otadata, data, ota, 0x510000, 8k otadata, data, ota, 0xf10000, 8k
10 coredump, data, coredump, , 64K

@ -3,9 +3,9 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
CONFIG_PARTITION_TABLE_MD5=y
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="8MB"
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
CONFIG_ESP_MAXIMUM_RETRY=5
CONFIG_HTTPD_WS_SUPPORT=y
CONFIG_SPIFFS_OBJ_NAME_LEN=64
CONFIG_HTTPD_MAX_URI_LEN=2048
CONFIG_HTTPD_MAX_URI_LEN=2048