diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2026-10-24 07:30:47 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2026-10-27 11:35:22 -0400 |
| commit | 428ea28a9102d966eda5b9c39644ff66c5f59c59 (patch) | |
| tree | cc553277851f4f421701563ce340f827d83ea4db /src/host/imxrt-link.x | |
| parent | 5ad4b42b4bd810eecf47d3a13853658ffb263a16 (diff) | |
Preload RAM sections, maybe, if ECC RAM is active
Blasting all of RAM with zeros would wipe ourselves away if we were
executing from RAM. It also wipes out the HAB event log, which seems to
reside in the boot ROM reservation.
We now zero individual memory regions. Similar to the copy loops,
we'll skip the loop if the VMA and LMA are equal. It looks silly to
zero things like bss when we know cortex-m's reset handler will do it;
but, the usual loop doesn't use the 64 bit writes we'd need to preload
ciphers in ITCM and OCRAM.
Tested RAM loading with probe-rs, using an 1170EVK w/ ECC RAM active.
Diffstat (limited to 'src/host/imxrt-link.x')
0 files changed, 0 insertions, 0 deletions
