wanlei
e89e8e0ded
feat(esp32c61): update for rom freeze
2024-05-14 12:46:51 +08:00
Aditya Patwardhan
0dcd692d59
Merge branch 'fix/fix_esp32p4_flash_encryption' into 'master'
...
fix(bootloader_support): Fix default key usage for flash encryption
See merge request espressif/esp-idf!29968
2024-04-02 19:57:38 +08:00
Aditya Patwardhan
51a91259d7
fix(bootloader_support): Fix default key usage for flash encryption
2024-04-02 12:27:53 +05:30
Wan Lei
7116671f4d
Merge branch 'feat/c6lite_c61_final_helloworld' into 'master'
...
feat(esp32c61): birth and say hello world 🎄 (stage 8/8)
Closes IDF-9290
See merge request espressif/esp-idf!29751
2024-04-02 14:11:36 +08:00
wanlei
20c18ac52b
feat(esp32c61): final introduce helloworld support
2024-04-02 10:50:52 +08:00
laokaiyao
0cb1057915
change(rom): update the frozen rom for esp32c5mp
2024-04-01 20:53:49 +08:00
laokaiyao
0d8dcd183c
feat(esp32c5mp): add temporary esp-rom
2024-03-14 15:09:22 +08:00
Marius Vikhammer
c90681a167
feat(bootloader): check and update bootloader/bootloader support component for C5
2024-03-08 10:25:21 +08:00
laokaiyao
01e3c85322
refactor(esp32c5): change beta3 path in esp_system and bootloader
2024-03-01 11:12:36 +08:00
nilesh.kale
59c5b5fe6b
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe
2024-01-18 12:15:15 +05:30
Kevin (Lao Kaiyao)
1e6a76419b
Merge branch 'feature/support_hello_world_on_esp32c5' into 'master'
...
feat(esp32c5): support hello world on esp32c5 beta3 (stage 8/8)
See merge request espressif/esp-idf!27870
2024-01-09 18:41:43 +08:00
laokaiyao
d0a8f3e5c4
feat(esp32c5): support esptool on esp32c5 beta3
2024-01-09 13:11:11 +08:00
laokaiyao
11e19f40b9
feat(esp32c5): support to build hello world on esp32c5 beta3
2024-01-09 13:11:11 +08:00
Marius Vikhammer
b958ac700f
fix(bootloader): increased iram section length on C6/H2
...
Bootloader would fail to link if compiled with -O0
2023-12-29 11:36:57 +08:00
Guillaume Souchere
fd2b8b5eb3
fix(heap): Update the heap memory layout on esp32p4 target
...
- fix the value of SOC_ROM_STACK_START in soc.h
- Update the memory usage of ROM bootloader appendix in bootloader.ld
- Update the soc_memory_regions table to minimize the number of regions
created after the startup stack is added back as a heap.
2023-11-10 07:29:22 +01:00
Armando
aa245489fb
change(bootloader): added address check in bootloader.ld
2023-08-09 19:33:26 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Alexey Gerenkov
e9345bcced
build: Adds support for Clangs's toolchain compiler-rt
2023-06-08 16:49:37 +03:00
Zim Kalinowski
e9405e42ab
bootloader: bootloader_random line
2023-05-15 22:06:47 +02:00
KonstantinKondrashov
69838403f9
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
...
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Armando
89fa53f1c0
mmu: support configurable mmu page size
2023-03-04 02:48:40 +00:00
Armando
0fb0be3817
ld: fixed bootloader and app potential overlap issue
2023-03-01 10:39:30 +08:00
cje
0fb408cc68
pmu active state ICG map initialize and modify i2c master force enable to enable
2023-01-31 22:12:27 +08:00
wuzhenghui
05e37ba214
esp32h2 memory: update esp32h2 memory layout
2023-01-06 05:30:24 +00:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Marius Vikhammer
4144451bdc
bootloader: increase iram_loader_seq size on S2
...
Segment was full when compiling with -O0
2022-11-28 15:16:48 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
wuzhenghui
66fb86972d
bootloader: update bootloader memory map
2022-09-29 11:13:06 +08:00
wuzhenghui
1c820b0a6d
esp32c6: add bootloader support
2022-09-26 20:24:52 +08:00
wuzhenghui
5e8ba9cea8
use enum and designated initializers in soc_memory_type define
2022-07-29 17:07:41 +08:00
wuzhenghui
2ad49a9be5
update bootloader.ld rom_boot ram usage info
2022-07-29 10:51:47 +08:00
wuzhenghui
d6461d91e2
update bootloader memory allocation
2022-07-29 10:51:47 +08:00
Omar Chebib
3c9856bdd1
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-07-05 04:39:29 +00:00
Alexey Lapshin
69b317368e
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-06-27 03:29:08 +00:00
Ivan Grokhotkov
8ee3decdba
bootloader, esp_system: increase static allocation space for esp32s3
...
The previously used splits between memory allocated for ROM code,
2nd stage bootloader and the app were somewhat safe and conservative.
This resulted in some space being unavailable for static allocation
in the app.
This commit increases the space available for static allocation to the
maximum possible amount.
1. Some of the ROM code static allocation is only used in UART/USB/SPI
download modes. This region ("shared buffers") has been placed at
the lower end of ROM memory area, to be reusable in flash boot
mode. The 2nd stage bootloader linker script is modified to "pack"
all sections exactly up to the end but with roughly 8K margin between
startup stacks.
2. Instead of calculating the sections placement and hardcoding the
addresses in the LD script again, rewrite it to calculate the
start address of each memory region automatically based on the
logic above.
3. Adjust the app memory layout (SRAM_IRAM_END) accordingly,
increasing the space available for static allocation.
Overall these changes increase the space available for static
allocation by about 78kB.
The downside of these changes is that the 2nd stage bootloader .data
segment is now directly adjacent to the startup stack on the PRO CPU.
Previously, there was effectively about 78kB of extra stack space for
the PRO CPU, before the stack would run into the data segment.
2022-06-15 17:57:11 +05:30
Michael (XIAO Xufeng)
aab535fe4a
Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'
...
hw_support: fixed regi2c not protected by lock on ESP32S2
See merge request espressif/esp-idf!16653
2022-03-13 02:47:53 +08:00
Michael (XIAO Xufeng)
d5bdf95580
hw_support: fixed regi2c not protected by lock on ESP32S2
2022-03-13 00:24:08 +08:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
Cao Sen Miao
3a4db97cec
spi_flash: move patch files to common rom patch folder
2021-12-30 14:05:12 +08:00
Jakob Hasse
64a355eba8
feat (bootloader): added rng sampling
...
Set maximum RNG query frequency to save value known from tests
2021-12-27 13:59:20 +08:00
Cao Sen Miao
e81841318f
CI: Enable ESP8684 build stage CI on master
2021-12-13 19:18:47 +08:00
Cao Sen Miao
bf6fa70812
ESP8684: update bootloader, bootloader_support, esp_rom
2021-11-06 17:33:44 +08:00
Sachin Parekh
bf1dde7233
bootloader: Enable clock glitch detection
...
Reset the device when clock glitch detected. Clock glitch detection is
only active in bootloader
2021-09-02 12:25:12 +05:30
Wu Zheng Hui
fb7894382b
Merge branch 'bugfix/fix_c3_bootloader_ld_addr_err' into 'master'
...
update c3 bootloader ld rom addr info
See merge request espressif/esp-idf!14168
2021-07-31 05:43:58 +00:00
KonstantinKondrashov
4ccb5515ef
fpga/bootloader: Fix LoadProhibited error when bootloader_fill_random() is not in iram_loader_seg
2021-07-16 10:50:06 +10:00