|
AM263Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
33 #ifndef BOOTLOADER_SOC_AM263X_H_
34 #define BOOTLOADER_SOC_AM263X_H_
42 #include <drivers/hw_include/cslr_soc.h>
49 #define BOOTLOADER_APP_SEGMENT_CANBE_ENCRYPTED (0xA5U)
51 #define BOOTLOADER_APP_SEGMENT_CANNOTBE_ENCRYPTED (0x5AU)
54 #define BOOTLOADER_SOC_APP_CERT_SIZE (0x1000)
62 #define BOOTLOADER_DEVTYPE_HSSE (0x0AU)
64 #define BOOTLOADER_DEVTYPE_HSFS (0xAAU)
66 #define BOOTLOADER_DEVTYPE_GP (0x03U)
68 #define BOOTLOADER_CLIENT_ID (0x02)
90 typedef struct Bootloader_socCoreOpModeConfig_s
int32_t Bootloader_socCpuSetClock(uint32_t cpuId, uint32_t cpuHz)
Set the clock of a particular CPU in the AM64x SOC.
char * Bootloader_socGetCoreName(uint32_t cpuId)
Get the name of a core.
int32_t Bootloader_authUpdate(uintptr_t startAddr, uint32_t size, uint8_t enc)
API to update the Secure Boot Stream with a new segment.
int32_t Bootloader_socCpuRequest(uint32_t cpuId)
Request for a particular CPU in the AM64x SOC.
void Bootloader_socConfigurePll(void)
API to configure Core and Per PLLS.
int32_t Bootloader_authStart(uintptr_t startAddr, uint32_t size)
API to start streaming boot authentication.
int32_t Bootloader_socCpuSetAppEntryPoint(uint32_t cpuId, uintptr_t entryPoint)
int32_t Bootloader_socCpuSetEntryPoint(uint32_t cpuId, uintptr_t entryPoint)
Set entry point for self CPU in the AM64x SOC from reset.
uint32_t Bootloader_socIsAuthRequired(void)
API to check if authentication is required for the device. Checks the SYS_STATUS register to see if d...
This is a HSMClient type which holds the information needed by hsm client to communicate with HSM .
Definition: hsmclient.h:111
int32_t Bootloader_socCpuPowerOnReset(uint32_t cpuId, void *socCoreOpMode)
Do power-on-reset of a particular CPU in the AM64x SOC.
Data structure containing information about the operating mode specific to the SOC.
Definition: bootloader_soc.h:91
uint32_t defaultClockHz
Definition: bootloader_soc.h:79
int32_t Bootloader_socCpuResetRelease(uint32_t cpuId, uintptr_t entryPoint)
Release a particular CPU in the AM64x SOC from reset.
int32_t Bootloader_authFinish(void)
API to finish streaming boot authentication.
void Bootloader_socLoadHsmRtFw(HsmClient_t *gHSMClient, const uint8_t *HsmRtFw, uint32_t hsmRTSize)
API to load hsm runtime firmware.
Data structure containing information about a core specific to the SOC.
Definition: bootloader_soc.h:78
uint32_t Bootloader_socRprcToCslCoreId(uint32_t rprcCoreId)
Obtain the CSL core ID of a CPU from its RPRC core ID.
uint64_t Bootloader_socCpuGetClock(uint32_t cpuId)
Get the clock of a particular CPU in the AM64x SOC.
void Bootloader_socGetBootSeqOid(uint8_t *boot_seq_oid)
API to get boot sequence oid.
int32_t Bootloader_socCpuRelease(uint32_t cpuId)
Release a particular CPU in the AM64x SOC.
uint32_t r5fss1_opMode
Definition: bootloader_soc.h:95
void Bootloader_socInitL2MailBoxMemory(void)
API to Init L2,L3 Banks and Mailbox Memory.
int32_t Bootloader_socCpuResetReleaseSelf(void)
Release self CPU in the AM64x SOC from reset.
int32_t Bootloader_socAuthImage(uint32_t certLoadAddr)
API to authenticate (and decrypt if needed) an appimage using SYSFW.
uint32_t Bootloader_socTranslateSectionAddr(uint32_t cslCoreId, uint32_t addr)
Translate a CPU address to the SOC address wherever applicable.
uint32_t * Bootloader_socGetSelfCpuList(void)
Get the list of self cpus in the SOC.
void Bootloader_socSetAutoClock()
API to set CPU clock to 200 MHz or 400 MHz on the basis of eFUSE bits configuration.
uint32_t Bootloader_socCpuGetClkDefault(uint32_t cpuId)
Get the default clock of a particular CPU in the AM64x SOC.
int32_t Bootloader_socSecHandover(void)
API to trigger the security handover from SYSFW.
uint32_t r5fss0_opMode
Definition: bootloader_soc.h:92
void Bootloader_socLoadHsmRtFwNonBlocking(HsmClient_t *gHSMClient, const uint8_t *HsmRtFw, uint32_t hsmRTSize)
Non blocking API to load hsm runtime firmware.
int32_t Bootloader_socMemInitCpu(uint32_t cpuId)
Initialize the core memories of a specific core.