当前位置:首页 > 报告详情

使用MCU固件SDK移植到Caliptra子系统.pdf

上传人: 明**** 编号:1011746 2025-12-21 17页 1.03MB

1、Christopher Swenson(Microsoft)XilingSun(Microsoft)Porting to Caliptra Subsystem using MCU Firmware SDKPorting to Caliptra Subsystem using MCU Firmware SDKChristopher Swenson(Microsoft)XilingSun(Microsoft)SecurityCaliptra Subsystem and MCU overviewMCU responsibilitiesBuilding with MCU SDKHow to use t

2、he MCU SDKOutlineCaliptra CoreCaliptra Security SubsystemSecond RISC-V core,ROM,and firmwareResponsible for booting Caliptra and securely booting the SoCActive Component Root of Trust(ACROT)Unlike Caliptra Core,is customizableoi.e.,Caliptra WG cannot release blessed firmware for itManufacturer Contr

3、ol Unit(MCU)Caliptra WG has developed a Rust firmware SDKCommon ROM routinesRuntime based on TockOS secure RTOSTools for CSR and fuse map code generationSupports in-tree and out-of-tree developmentMCU Firmware SDKMCU StackTock is an academic project to develop a highly customizable,secure RTOS writt

4、en in Rust that uses Rust-like memory managementMicrokernel architectureKernel is custom to your board and chipUser-mode applications should be mostly hardware independentoUse Tock syscalls to use hardwareKernel services syscalls using capsules(kernel modules)Enforce memory protection with hardware

5、supportoe.g.,RISC-V ePMPTockOSA Tock capsule generally provides a service,e.g.,send/receive MCTP packets,run a cryptographic operationTo interact with a Tock capsule,an application only uses 5 syscalls:allow_ro:share read-only memory with kernelallow_rw:share mutable memory with kernelsubscribe:setu

6、p a notificationcommand:execute a capsule commandyield:wait for a subscriptionTock CapsulesClone https:/ Rust(rustup)if you havent alreadyRun cargo xtask to see available commandsoBuilding,running,linting,etc.,are all available through xtask commandsoRun cargo xtask runtimeoBuild

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
根据标记内容,全文主要介绍了Caliptra子系统及其安全架构,以及如何使用MCU Firmware SDK进行移植和开发。以下是关键点: 1. Caliptra子系统包含Caliptra Core和Caliptra Security Subsystem,后者负责启动和安全启动SoC。 2. MCU Firmware SDK支持Rust语言,基于TockOS安全RTOS,提供工具生成CSR和fuse map代码。 3. TockOS采用微内核架构,支持硬件独立的用户模式应用,通过syscalls和capsules(内核模块)进行内存保护。 4. Tock capsule提供服务,如发送/接收MCTP数据包或运行加密操作,应用通过5个syscalls与之交互。 5. MCU SDK支持在树内和树外开发,提供构建、运行、linting等命令。 6. 用户可编写自己的ROM和Tock应用,使用PLDM和SPDM协议的Rust库。 7. MCU SDK适用于Caliptra 2.0,2.1版本即将推出。 8. 更多信息和资源可在Caliptra官网和MCU SDK GitHub仓库找到。
构建安全RTOS的秘诀?" "Rust编程,打造Caliptra子系统!" "从零开始,掌握Caliptra MCU SDK!"
客服
商务合作
小程序
服务号
折叠