]> granicus.if.org Git - esp-idf/commitdiff
global: update note in the partition tables
authorIvan Grokhotkov <ivan@espressif.com>
Sat, 27 Jul 2019 08:27:38 +0000 (10:27 +0200)
committerIvan Grokhotkov <ivan@espressif.com>
Sat, 27 Jul 2019 08:28:16 +0000 (10:28 +0200)
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.

29 files changed:
components/fatfs/test_fatfs_host/partition_table.csv
components/partition_table/partitions_singleapp.csv
components/partition_table/partitions_singleapp_coredump.csv
components/partition_table/partitions_two_ota.csv
components/partition_table/partitions_two_ota_coredump.csv
components/spiffs/test_spiffs_host/partition_table.csv
components/wear_levelling/test_wl_host/partition_table.csv
docs/en/api-guides/bootloader.rst
docs/en/api-guides/core_dump.rst
examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/partitions.csv
examples/build_system/cmake/import_lib/partitions_example.csv
examples/ethernet/iperf/partitions_example.csv
examples/peripherals/i2c/i2c_tools/partitions_example.csv
examples/peripherals/i2s_adc_dac/partitions_adc_dac_example.csv
examples/protocols/http_server/file_serving/partitions_example.csv
examples/protocols/http_server/restful_server/partitions_example.csv
examples/provisioning/ble_prov/partitions.csv
examples/provisioning/manager/partitions.csv
examples/storage/partition_api/partition_find/README.md
examples/storage/partition_api/partition_find/partitions_example.csv
examples/storage/partition_api/partition_mmap/partitions_example.csv
examples/storage/partition_api/partition_ops/partitions_example.csv
examples/storage/parttool/partitions_example.csv
examples/storage/spiffs/partitions_example.csv
examples/storage/spiffsgen/partitions_example.csv
examples/storage/wear_levelling/partitions_example.csv
examples/system/console/partitions_example.csv
examples/wifi/simple_sniffer/partitions_example.csv
tools/unit-test-app/partition_table_unit_test_app.csv

index cb7fccd87ba1fdaed2ce496555856bdb25656605..9b4dbd1ba53073cdf2c84aeec901bb57cd730916 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 22cf97bacb1987fd7712b97f486c57357f59fe5c..5156e827b4342ae4ca7bf3ee9e8a7e101e9ec45f 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
 nvs,      data, nvs,     ,        0x6000,
 phy_init, data, phy,     ,        0x1000,
 factory,  app,  factory, ,        1M,
index 8bcf89c20f5f58f9f1a650636990e33f05d1ac6c..bbb55e2b475b37b482ae4464500e833039184946 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
 nvs,      data, nvs,           ,  0x6000
 phy_init, data, phy,           ,  0x1000
 factory,  app,  factory,       ,  1M
index 0a325b2f5a697bd2dcf393ec6021052c1dba6f34..7aee909cd1efcb5a37fac1125c32d118b22cbb09 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,   Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
 nvs,      data, nvs,     ,        0x4000,
 otadata,  data, ota,     ,        0x2000,
 phy_init, data, phy,     ,        0x1000,
index 3a2143690b4bc6195cc0cee0ace1055298332b47..2e1af0eca68f81050a325c1b43bf8533a4c8f188 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,   Size
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
 nvs,      data, nvs,     ,         0x4000
 otadata,  data, ota,     ,         0x2000
 phy_init, data, phy,     ,         0x1000
index d02771b51b8e3a6ea93cba9853323cf23adc353f..3c2903a70d36064842d0b2860358e42c8e62dcfc 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index af5bc831ebe215eab9b3e741f523261ec783ee68..f6383e46d46af6a4ea5901c0c3cd87f3aa7d1b79 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index aea98d6c91aea73cc9d962e020eb7660063440df..2671b353fcc2d82a58b88844db704c81f0648a97 100644 (file)
@@ -33,7 +33,7 @@ Partitions of type "app" cannot be specified here.
 Partition table.::
 
        # Name,   Type, SubType, Offset,   Size, Flags
-       # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+       # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
        nvs,      data, nvs,     0x9000,   0x4000
        otadata,  data, ota,     0xd000,   0x2000
        phy_init, data, phy,     0xf000,   0x1000
index c590efeea7af2262a2ceb4d4bee52984dbe56c3b..f96d4e2cb009e0e641563f2b33989c6a6f103228 100644 (file)
@@ -37,7 +37,7 @@ allocates necessary space on flash, But if user wants to use its own layout file
 as it is shown below::
 
   # Name,   Type, SubType, Offset,  Size
-  # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+  # 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
index 96141670f31539fa996fadd23b2ca3f0cee481bd..24200e5b33eeae9472ac3c81405f68dfdd816956 100644 (file)
@@ -1,5 +1,5 @@
 # Name,         Type,   SubType,    Offset,     Size,   Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
 nvs,            data,   nvs,        0x9000,     16k
 otadata,        data,   ota,        0xd000,     8k
 phy_init,       data,   phy,        0xf000,     4k
index 3e9543311e6b3d3044b5e1faed22f109985a814b..3337f316427145961499c0e93326183d2e5b4f1e 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 7e28b5668c589d9b0d5a15ad48d788def18787ca..ac18e080c8e993ae003e6ad5410da5f1302c79cf 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 7e28b5668c589d9b0d5a15ad48d788def18787ca..ac18e080c8e993ae003e6ad5410da5f1302c79cf 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index c9a081314e827d8584bda2b857d0231f8987fcdc..85bc43e33c0ffdb6c5c46603b629c68a30afdd4f 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 6d9ee2e74586a4803d790efa44a928d34dd3274b..0eebc192aea58c30075cb551d002ac9e471241e0 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index ca4898e5965de29732a3cf5cdffc3ffb595f31ac..a5b16e199bf67b7fe073bebffcca1f8074a461b2 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index e382463f943e64d595a8cc675e07501abc9fd7c3..d01414b8a900883b6d770b69398bef278fc31d71 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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, 1200000,
index e382463f943e64d595a8cc675e07501abc9fd7c3..d01414b8a900883b6d770b69398bef278fc31d71 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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, 1200000,
index 03b71cbc5c705c1fe649a4a118d606cf65fc177b..a05152850e35d548690d056e6295e3d0415f00c1 100644 (file)
@@ -20,7 +20,7 @@ The iterator is obtained using `esp_partition_find` and is released after its us
 I (310) example: Printing partition table csv file contents for reference...
 
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index a0ff092cc11bceb9c850638c6c554a098bc28ea6..f3c3b68e56e5b5567ea5d1a16c4e3d1d3d87ca0b 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 52a5fce840f29d8d41a59ed4e7a4752cdff7ee9c..a70efe6a754420423daca3af35755a27007649a3 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 52a5fce840f29d8d41a59ed4e7a4752cdff7ee9c..a70efe6a754420423daca3af35755a27007649a3 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index f76d1ca37adf727ee97b0858ecd0e64f39e47b5b..f49ae3c602834decbd3fd6f3da20875e6fb616cf 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 6d9ee2e74586a4803d790efa44a928d34dd3274b..0eebc192aea58c30075cb551d002ac9e471241e0 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 6d9ee2e74586a4803d790efa44a928d34dd3274b..0eebc192aea58c30075cb551d002ac9e471241e0 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 7e28b5668c589d9b0d5a15ad48d788def18787ca..ac18e080c8e993ae003e6ad5410da5f1302c79cf 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 7e28b5668c589d9b0d5a15ad48d788def18787ca..ac18e080c8e993ae003e6ad5410da5f1302c79cf 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index 7e28b5668c589d9b0d5a15ad48d788def18787ca..ac18e080c8e993ae003e6ad5410da5f1302c79cf 100644 (file)
@@ -1,5 +1,5 @@
 # Name,   Type, SubType, Offset,  Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# 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,
index f4bd924310c5a1c60f72554f8b0e0d02ea43cdf5..948f00c5c17b67ec0de7c6b44799639a0d830c19 100644 (file)
@@ -1,7 +1,7 @@
 # Special partition table for unit test app
 #
 # Name,     Type, SubType, Offset,   Size, Flags
-# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
+# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
 nvs,        data, nvs,      0x9000,  0x4000
 otadata,    data, ota,      0xd000,  0x2000
 phy_init,   data, phy,      0xf000,  0x1000