Angus Gratton
6b5a15e3da
partition_table: Support same fallback logic as bootloader for default boot partition
...
Generates correct "make flash" command even when partition table has no factory partition.
Also adds unit tests for parttool.py
Closes https://github.com/espressif/esp-idf/issues/2086
2018-06-25 05:36:55 +00:00
Angus Gratton
d0b8f2865f
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
2018-06-19 11:23:33 +00:00
Konstantin Kondrashov
3e0ac4db79
partition_table: Expanding the space under the bootloader
...
Allows you to move the partition table, it gives more space for the bootloader.
Added a new utility - parttool.py. This utility can search for the offset and/or size of the partitions by name and type/subtype. Use for getting APP_OFFSET and PHY_DATA_OFFSET.
The linker(esp32.bootloader.ld) made changes that allow you to write a custom bootloader code more.
TW14125
2018-06-08 18:47:29 +05:00
Marcin Jaworski
5bc1bf4add
Fix PartitionDefinition comparison in Python 3
...
Merges https://github.com/espressif/esp-idf/pull/2018
2018-06-04 17:18:41 +10:00
Angus Gratton
fa3205737f
partition_table: Check configured flash size fits in partition table
...
Check happens at build time, so flash size config may need to be changed.
Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867
2018-04-26 09:51:55 +10:00
Roland Dobai
4017cf3516
partition_table: Optionally disable the MD5 checksum in partition tables
2018-02-22 07:46:41 +01:00
Roland Dobai
cf7a4cc650
Protect partition table by MD5 checksum
2018-02-05 11:36:03 +01:00
Deomid Ryabkov
1ea082a053
Expand vars before splitting fields
...
This allows making entire partition table line a variable.
Merges https://github.com/espressif/esp-idf/pull/841
2017-09-05 16:23:54 +10:00
Angus Gratton
7eb0b3c2d7
gen_esp32part.py: Correctly error out for non-64KB aligned app partitions
...
Also clean up error handling for verification errors in general.
Ref https://esp32.com/viewtopic.php?f=13&t=1838&p=8685#p8659
2017-05-12 12:27:53 +10:00
Angus Gratton
c9969ab996
gen_esp32part.py: Update documentation link, add license
2017-05-12 12:27:38 +10:00
Angus Gratton
aaa8170865
gen_esp32part.py: Remaining Python 3 changes for unit tests to pass, plus unit tests
...
Ref https://github.com/espressif/esp-idf/pull/577
2017-05-12 12:27:13 +10:00
David M. Palmer
beffcd6468
gen_esp32part: Make compatible with both python2.7 and python3.
...
Merges https://github.com/espressif/esp-idf/pull/577
2017-05-12 11:53:44 +10:00
Angus Gratton
de28d3a655
Merge branch 'feature/partition_table_envvars' into 'master'
...
partition tables: Expand environment variables in gen_esp32part
Allows parametrizing partition table with (exported) make variables.
Merges PR #301 https://github.com/espressif/esp-idf/pull/301
See merge request !505
2017-02-22 07:22:04 +08:00
Angus Gratton
24cfe78962
partition table: Fix comment at top of gen_esp32part.py
2017-02-15 10:28:45 +11:00
Deomid Ryabkov
22c3877183
Expand environment variables in gen_esp32part
...
Allows parametrizing partition table with (exported) make variables.
2017-02-14 13:53:17 +08:00
Deomid Ryabkov
4f7e4dd0f5
Use PART_FLAG_ENCRYPTED value in gen_esp32part.py
...
Currently paritions marked as encrypted by gen_esp32part.py are not
recognized as such and encrypted writes don't work.
This is part of espressif/esp-idf#253
2017-01-26 12:27:00 +11:00
Alexey Gerenkov
ad66fbe5ad
esp32: Fixes issues discussed during code review of MR!341
...
The following issues mentioned during MR!341 review were fixed:
1) Core dump test application description
2) Usage of CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH and CONFIG_ESP32_ENABLE_COREDUMP_TO_UART
3) FLASH_GUARD_START macro usage is fixed in flash API
4) Core dump module logging facility
5) cache util functions doc updated
6) interactive delay before print core dump to uart
7) core dump partion support in build system
2017-01-12 19:38:19 +03:00
Angus Gratton
9eb135fd73
Flash encryption: Support enabling flash encryption in bootloader, app support
...
* App access functions are all flash encryption-aware
* Documentation for flash encryption
* Partition read/write is flash aware
* New encrypted write function
2016-12-01 23:49:12 -08:00
Ivan Grokhotkov
a0feea8daa
partition_table: update layouts, remove unused subtypes, sync with header file
2016-11-18 20:11:16 +08:00
Angus Gratton
e459f803da
secure boot: Functional partition table & app signature verification
2016-11-14 11:08:42 +11:00
Angus Gratton
ff1b2c6039
partition_table: Pad generated table to 0xC00 length, for easier signing
2016-11-14 11:08:42 +11:00
Angus Gratton
d793d23b94
Remove bin/ directory in favour of an add_path.sh script that can be sourced
...
Remaining file in bin/ will be moved out as part of !34
2016-09-01 18:45:10 +10:00