SoC Internal Memory Routing for Secure Firmware Boot
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional root of trust (RoT) mechanisms fail to protect firmware integrity when the non-volatile memory storing the firmware is within a system on a chip (SoC), as the SPI bus for accessing internal flash is not accessible to the RoT, rendering the computing system less secure.
Innovation Solution
Implementing a root of trust hardware connected to the internal memory and a selector to intercept commands, allowing secure communication via SPI ports, with the selector controlling the routing of commands through either the processor directly to the internal memory or through the RoT hardware for filtering unexpected commands.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If conventional RoT mechanisms are used with external non-volatile memory, then firmware security is maintained, but the system cannot protect firmware stored in internal SoC memory
Solution Approach 1:
A selector circuit is introduced as an intermediary component between the processor and internal memory. This selector can route commands either directly to memory or through the RoT hardware, enabling the RoT mechanism to protect internal memory firmware while maintaining system functionality. The intermediary allows the RoT hardware to inspect and control commands without preventing normal memory operations.
2Reliability
If the SPI bus is made accessible to RoT hardware for internal memory protection, then firmware integrity is protected, but the system complexity increases
Solution Approach 1:
The selector circuit provides dynamic routing capability, allowing the system to switch between two operational modes: direct memory access for normal operations and RoT-mediated access for security-critical operations. This dynamic approach enables the system to maintain simplicity during routine operations while activating security measures only when needed, thus balancing protection requirements with system complexity.
3Reliability
If all commands are routed through RoT hardware for security checking, then firmware protection is maximized, but processing speed decreases
Solution Approach 1:
The command routing is segmented into two distinct paths: a fast direct path for trusted or routine commands that bypass the RoT hardware, and a secure path through the RoT hardware for commands requiring verification. This segmentation allows the system to maintain high processing speed for common operations while ensuring security for critical firmware protection operations, avoiding the performance penalty of routing all commands through security checks.
Data Source
AI summary
A computing system is provided. The computing system includes a system on a chip. The system on a chip includes a processor and an internal memory. The computing system further includes a root of trust hardware connected to the internal memory and configured to intercept commands from the processor to the internal memory.


