Our software implementation currently consists of an SSL/bootloader and "main" application. We wish to use a Secure Boot Stream to secure both the application and the SSL.
Our SSL .ldr file includes the initcode that's used to initialize DDR3, clocks etc. However, when using a Secure Boot Stream the bootrom fails to load the SSL because it includes the initcode block (this behavior is documented in EE-366).
Therefore, I believe we have to:
- Run the SSL has to run in onboard L2 memory (since the L3/DDR is not yet initialized)
- Import the "initcode" routines into the SSL, and execute them at startup.
I've implemented the above, using a custom linker script derived from the project provided here, however the main application doesn't boot.
I think the problem is that, since we're executing in L2 memory (the SSL is large, ~200K) this conflicts overlaps with the L2 memory that's reserved for the primary application.
Please can you confirm that aby L2 memory used by the SSL cannot be "reused" by the main application? If so, then do you have any other suggestions for how we can perform the "init" functionality within a Secure Boot Stream SSL?
Many thanks in advance.