Commit Graph

11 Commits

Author SHA1 Message Date
Marcin Smoczyński
8fbdd6ecc5 [EGD-7361] Fix not booting from image
After moving some files to libboard.a the linker was not eager to look
for symbols that should be in the boot header (.boot_hdr section).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-17 16:28:03 +02:00
DariuszSabala
752033164f [BH-464] Moved USB stack to third-party dir
Moved USB stack, defined separate library and its dependencies,
assigned library to specific sections in linker script, reduced
build time by more than 10 percent thanks to ending building
usb stack file both in module-bsp and module-vfs
2021-06-29 16:40:55 +02:00
DariuszSabala
b95f902f7d [EGD-6916] Fixed makefile build linking issue
Changed the way libraries are linked to sections in the linker
script because linker couldnt find them and was silently failing.
2021-06-15 14:33:01 +02:00
Borys Jelenski
085bccb7a1 [EGD-6355] Adjust MuditaOS to be used with Secure Boot
The start address of the OS image adjusted to comply with HAB
Secure Boot. Proper SNVS initialization performed at system startup.
SNVS drivers updated to most recent version. Image signing can be
performed as a part of build process. See doc/secure_boot.md for
more info.
2021-04-22 15:02:59 +02:00
Marcin Smoczyński
74e6a50989 [EGD-3714] rt1051: dtcm ld cleanup (#708)
There is a memory shortage in the DTCM region. In order to be able to
add new features linker script for the rt1051 needs to be cleanup.

A couple of issues has been fixed:
* double stack definition blocking 4kB
* excessive heap definition blocking 4kB
* a part of DTCM had not been used blocking 24kB.

Data has been split to user and system part, user data has been moved to
the SDRAM, therefore new data will be placed there. To place it inside
the MCU an explicit statement has to be used.

Added a basic description of memory layout and a couple of comments.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-09-18 11:30:11 +02:00
Marcin Smoczyński
f9b4ebfba4 rt1051: merge text sections
Having one .text sections results in faster loading speed (currently 21
vs 44 seconds).
2020-04-07 22:39:26 +02:00
Alek-Mudita
9a1ef61bf3 [EGD-2534][fix] enable c++ exceptions (#145) 2020-01-28 16:20:58 +01:00
Mateusz
ca6fdc8950 Added OCRAM section to linker script with cache turned off. 2019-08-23 12:48:42 +02:00
Robert Borzecki
1e34c1b07d Memory access problem. 2019-06-12 10:44:33 +02:00
Mati
9b69f2b615 Changed memory layout, fixed cache problems 2019-05-27 22:09:53 +02:00
Mati
4244f83d78 Working cross-compilation 2019-05-07 15:41:20 +02:00