1*4882a593SmuzhiyunThe trusted boot framework on Marvell Armada 38x 2*4882a593Smuzhiyun================================================ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunContents: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun1. Overview of the trusted boot 7*4882a593Smuzhiyun2. Terminology 8*4882a593Smuzhiyun3. Boot image layout 9*4882a593Smuzhiyun4. The secured header 10*4882a593Smuzhiyun5. The secured boot flow 11*4882a593Smuzhiyun6. Usage example 12*4882a593Smuzhiyun7. Work to be done 13*4882a593Smuzhiyun8. Bibliography 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun1. Overview of the trusted boot 16*4882a593Smuzhiyun------------------------------- 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunThe Armada's trusted boot framework enables the SoC to cryptographically verify 19*4882a593Smuzhiyuna specially prepared boot image. This can be used to establish a chain of trust 20*4882a593Smuzhiyunfrom the boot firmware all the way to the OS. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunTo achieve this, the Armada SoC requires a specially prepared boot image, which 23*4882a593Smuzhiyuncontains the relevant cryptographic data, as well as other information 24*4882a593Smuzhiyunpertaining to the boot process. Furthermore, a eFuse structure (a 25*4882a593Smuzhiyunone-time-writeable memory) need to be configured in the correct way. 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunRoughly, the secure boot process works as follows: 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun* Load the header block of the boot image, extract a special "root" public RSA 30*4882a593Smuzhiyun key from it, and verify its SHA-256 hash against a SHA-256 stored in a eFuse 31*4882a593Smuzhiyun field. 32*4882a593Smuzhiyun* Load an array of code signing public RSA keys from the header block, and 33*4882a593Smuzhiyun verify its RSA signature (contained in the header block as well) using the 34*4882a593Smuzhiyun "root" RSA key. 35*4882a593Smuzhiyun* Choose a code signing key, and use it to verify the header block (excluding 36*4882a593Smuzhiyun the key array). 37*4882a593Smuzhiyun* Verify the binary image's signature (contained in the header block) using the 38*4882a593Smuzhiyun code signing key. 39*4882a593Smuzhiyun* If all checks pass successfully, boot the image. 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunThe chain of trust is thus as follows: 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun* The SHA-256 value in the eFuse field verifies the "root" public key. 44*4882a593Smuzhiyun* The "root" public key verifies the code signing key array. 45*4882a593Smuzhiyun* The selected code signing key verifies the header block and the binary image. 46*4882a593Smuzhiyun 47*4882a593SmuzhiyunIn the special case of building a boot image containing U-Boot as the binary 48*4882a593Smuzhiyunimage, which employs this trusted boot framework, the following tasks need to 49*4882a593Smuzhiyunbe addressed: 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun1. Creation of the needed cryptographic key material. 52*4882a593Smuzhiyun2. Creation of a conforming boot image containing the U-Boot image as binary 53*4882a593Smuzhiyun image. 54*4882a593Smuzhiyun3. Burning the necessary eFuse values. 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun(1) will be addressed later, (2) will be taken care of by U-Boot's build 57*4882a593Smuzhiyunsystem (some user configuration is required, though), and for (3) the necessary 58*4882a593Smuzhiyundata (essentially a series of U-Boot commands to be entered at the U-Boot 59*4882a593Smuzhiyuncommand prompt) will be created by the build system as well. 60*4882a593Smuzhiyun 61*4882a593SmuzhiyunThe documentation of the trusted boot mode is contained in part 1, chapter 62*4882a593Smuzhiyun7.2.5 in the functional specification [1], and in application note [2]. 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun2. Terminology 65*4882a593Smuzhiyun-------------- 66*4882a593Smuzhiyun 67*4882a593Smuzhiyun CSK - Code Signing Key(s): An array of RSA key pairs, which 68*4882a593Smuzhiyun are used to sign and verify the secured header and the 69*4882a593Smuzhiyun boot loader image. 70*4882a593Smuzhiyun KAK - Key Authentication Key: A RSA key pair, which is used 71*4882a593Smuzhiyun to sign and verify the array of CSKs. 72*4882a593Smuzhiyun Header block - The first part of the boot image, which contains the 73*4882a593Smuzhiyun image's headers (also known as "headers block", "boot 74*4882a593Smuzhiyun header", and "image header") 75*4882a593Smuzhiyun eFuse - A one-time-writeable memory. 76*4882a593Smuzhiyun BootROM - The Armada's built-in boot firmware, which is 77*4882a593Smuzhiyun responsible for verifying and starting secure images. 78*4882a593Smuzhiyun Boot image - The complete image the SoC's boot firmware loads 79*4882a593Smuzhiyun (contains the header block and the binary image) 80*4882a593Smuzhiyun Main header - The header in the header block containing information 81*4882a593Smuzhiyun and data pertaining to the boot process (used for both 82*4882a593Smuzhiyun the regular and secured boot processes) 83*4882a593Smuzhiyun Binary image - The binary code payload of the boot image; in this 84*4882a593Smuzhiyun case the U-Boot's code (also known as "source image", 85*4882a593Smuzhiyun or just "image") 86*4882a593Smuzhiyun Secured header - The specialized header in the header block that 87*4882a593Smuzhiyun contains information and data pertaining to the 88*4882a593Smuzhiyun trusted boot (also known as "security header") 89*4882a593Smuzhiyun Secured boot mode - A special boot mode of the Armada SoC in which secured 90*4882a593Smuzhiyun images are verified (non-secure images won't boot); 91*4882a593Smuzhiyun the mode is activated by setting a eFuse field. 92*4882a593Smuzhiyun Trusted debug mode - A special mode for the trusted boot that allows 93*4882a593Smuzhiyun debugging of devices employing the trusted boot 94*4882a593Smuzhiyun framework in a secure manner (untested in the current 95*4882a593Smuzhiyun implementation). 96*4882a593SmuzhiyunTrusted boot framework - The ARMADA SoC's implementation of a secure verified 97*4882a593Smuzhiyun boot process. 98*4882a593Smuzhiyun 99*4882a593Smuzhiyun3. Boot image layout 100*4882a593Smuzhiyun-------------------- 101*4882a593Smuzhiyun 102*4882a593Smuzhiyun+-- Boot image --------------------------------------------+ 103*4882a593Smuzhiyun| | 104*4882a593Smuzhiyun| +-- Header block --------------------------------------+ | 105*4882a593Smuzhiyun| | Main header | | 106*4882a593Smuzhiyun| +------------------------------------------------------+ | 107*4882a593Smuzhiyun| | Secured header | | 108*4882a593Smuzhiyun| +------------------------------------------------------+ | 109*4882a593Smuzhiyun| | BIN header(s) | | 110*4882a593Smuzhiyun| +------------------------------------------------------+ | 111*4882a593Smuzhiyun| | REG header(s) | | 112*4882a593Smuzhiyun| +------------------------------------------------------+ | 113*4882a593Smuzhiyun| | Padding | | 114*4882a593Smuzhiyun| +------------------------------------------------------+ | 115*4882a593Smuzhiyun| | 116*4882a593Smuzhiyun| +------------------------------------------------------+ | 117*4882a593Smuzhiyun| | Binary image + checksum | | 118*4882a593Smuzhiyun| +------------------------------------------------------+ | 119*4882a593Smuzhiyun+----------------------------------------------------------+ 120*4882a593Smuzhiyun 121*4882a593Smuzhiyun4. The secured header 122*4882a593Smuzhiyun--------------------- 123*4882a593Smuzhiyun 124*4882a593SmuzhiyunFor the trusted boot framework, a additional header is added to the boot image. 125*4882a593SmuzhiyunThe following data are relevant for the secure boot: 126*4882a593Smuzhiyun 127*4882a593Smuzhiyun KAK: The KAK is contained in the secured header in the form 128*4882a593Smuzhiyun of a RSA-2048 public key in DER format with a length of 129*4882a593Smuzhiyun 524 bytes. 130*4882a593SmuzhiyunHeader block signature: The RSA signature of the header block (excluding the 131*4882a593Smuzhiyun CSK array), created using the selected CSK. 132*4882a593SmuzhiyunBinary image signature: The RSA signature of the binary image, created using 133*4882a593Smuzhiyun the selected CSK. 134*4882a593Smuzhiyun CSK array: The array of the 16 CSKs as RSA-2048 public keys in DER 135*4882a593Smuzhiyun format with a length of 8384 = 16 * 524 bytes. 136*4882a593Smuzhiyun CSK block signature: The RSA signature of the CSK array, created using the 137*4882a593Smuzhiyun KAK. 138*4882a593Smuzhiyun 139*4882a593SmuzhiyunNOTE: The JTAG delay, Box ID, and Flash ID header fields do play a role in the 140*4882a593Smuzhiyuntrusted boot process to enable and configure secure debugging, but they were 141*4882a593Smuzhiyunnot tested in the current implementation of the trusted boot in U-Boot. 142*4882a593Smuzhiyun 143*4882a593Smuzhiyun5. The secured boot flow 144*4882a593Smuzhiyun------------------------ 145*4882a593Smuzhiyun 146*4882a593SmuzhiyunThe steps in the boot flow that are relevant for the trusted boot framework 147*4882a593Smuzhiyunproceed as follows: 148*4882a593Smuzhiyun 149*4882a593Smuzhiyun1) Check if trusted boot is enabled, and perform regular boot if it is not. 150*4882a593Smuzhiyun2) Load the secured header, and verify its checksum. 151*4882a593Smuzhiyun3) Select the lowest valid CSK from CSK0 to CSK15. 152*4882a593Smuzhiyun4) Verify the SHA-256 hash of the KAK embedded in the secured header. 153*4882a593Smuzhiyun5) Verify the RSA signature of the CSK block from the secured header with the 154*4882a593Smuzhiyun KAK. 155*4882a593Smuzhiyun6) Verify the header block signature (which excludes the CSK block) from the 156*4882a593Smuzhiyun secured header with the selected CSK. 157*4882a593Smuzhiyun7) Load the binary image to the main memory and verify its checksum. 158*4882a593Smuzhiyun8) Verify the binary image's RSA signature from the secured header with the 159*4882a593Smuzhiyun selected CSK. 160*4882a593Smuzhiyun9) Continue the boot process as in the case of the regular boot. 161*4882a593Smuzhiyun 162*4882a593SmuzhiyunNOTE: All RSA signatures are verified according to the PKCS #1 v2.1 standard 163*4882a593Smuzhiyundescribed in [3]. 164*4882a593Smuzhiyun 165*4882a593SmuzhiyunNOTE: The Box ID and Flash ID are checked after step 6, and the trusted debug 166*4882a593Smuzhiyunmode may be entered there, but since this mode is untested in the current 167*4882a593Smuzhiyunimplementation, it is not described further. 168*4882a593Smuzhiyun 169*4882a593Smuzhiyun6. Usage example 170*4882a593Smuzhiyun---------------- 171*4882a593Smuzhiyun 172*4882a593Smuzhiyun### Create key material 173*4882a593Smuzhiyun 174*4882a593SmuzhiyunTo employ the trusted boot framework, cryptographic key material needs to be 175*4882a593Smuzhiyuncreated. In the current implementation, two keys are needed to build a valid 176*4882a593Smuzhiyunsecured boot image: The KAK private key and a CSK private key (both have to be 177*4882a593Smuzhiyun2048 bit RSA keys in PEM format). Note that the usage of more than one CSK is 178*4882a593Smuzhiyuncurrently not supported. 179*4882a593Smuzhiyun 180*4882a593SmuzhiyunNOTE: Since the public key can be generated from the private key, it is 181*4882a593Smuzhiyunsufficient to store the private key for each key pair. 182*4882a593Smuzhiyun 183*4882a593SmuzhiyunOpenSSL can be used to generate the needed files kwb_kak.key and kwb_csk.key 184*4882a593Smuzhiyun(the names of these files have to be configured, see the next section on 185*4882a593Smuzhiyunkwbimage.cfg settings): 186*4882a593Smuzhiyun 187*4882a593Smuzhiyunopenssl genrsa -out kwb_kak.key 2048 188*4882a593Smuzhiyunopenssl genrsa -out kwb_csk.key 2048 189*4882a593Smuzhiyun 190*4882a593SmuzhiyunThe generated files have to be placed in the U-Boot root directory. 191*4882a593Smuzhiyun 192*4882a593SmuzhiyunAlternatively, instead of copying the files, symlinks to the private keys can 193*4882a593Smuzhiyunbe placed in the U-Boot root directory. 194*4882a593Smuzhiyun 195*4882a593SmuzhiyunWARNING: Knowledge of the KAK or CSK private key would enable an attacker to 196*4882a593Smuzhiyungenerate secured boot images containing arbitrary code. Hence, the private keys 197*4882a593Smuzhiyunshould be carefully guarded. 198*4882a593Smuzhiyun 199*4882a593Smuzhiyun### Create/Modifiy kwbimage.cfg 200*4882a593Smuzhiyun 201*4882a593SmuzhiyunThe Kirkwook architecture in U-Boot employs a special board-specific 202*4882a593Smuzhiyunconfiguration file (kwbimage.cfg), which controls various boot image settings 203*4882a593Smuzhiyunthat are interpreted by the BootROM, such as the boot medium. The support the 204*4882a593Smuzhiyuntrusted boot framework, several new options were added to faciliate 205*4882a593Smuzhiyunconfiguration of the secured boot. 206*4882a593Smuzhiyun 207*4882a593SmuzhiyunThe configuration file's layout has been retained, only the following new 208*4882a593Smuzhiyunoptions were added: 209*4882a593Smuzhiyun 210*4882a593Smuzhiyun KAK - The name of the KAK RSA private key file in the U-Boot 211*4882a593Smuzhiyun root directory, without the trailing extension of ".key". 212*4882a593Smuzhiyun CSK - The name of the (active) CSK RSA private key file in the 213*4882a593Smuzhiyun U-Boot root directory, without the trailing extension of 214*4882a593Smuzhiyun ".key". 215*4882a593Smuzhiyun BOX_ID - The BoxID to be used for trusted debugging (a integer 216*4882a593Smuzhiyun value). 217*4882a593Smuzhiyun FLASH_ID - The FlashID to be used for trusted debugging (a integer 218*4882a593Smuzhiyun value). 219*4882a593Smuzhiyun JTAG_DELAY - The JTAG delay to be used for trusted debugging (a 220*4882a593Smuzhiyun integer value). 221*4882a593Smuzhiyun CSK_INDEX - The index of the active CSK (a integer value). 222*4882a593SmuzhiyunSEC_SPECIALIZED_IMG - Flag to indicate whether to include the BoxID and FlashID 223*4882a593Smuzhiyun in the image (that is, whether to use the trusted debug 224*4882a593Smuzhiyun mode or not); no parameters. 225*4882a593Smuzhiyun SEC_BOOT_DEV - The boot device from which the trusted boot is allowed to 226*4882a593Smuzhiyun proceed, identified via a numeric ID. The tested values 227*4882a593Smuzhiyun are 0x34 = NOR flash, 0x31 = SDIO/MMC card; for 228*4882a593Smuzhiyun additional ID values, consult the documentation in [1]. 229*4882a593Smuzhiyun SEC_FUSE_DUMP - Dump the "fuse prog" commands necessary for writing the 230*4882a593Smuzhiyun correct eFuse values to a text file in the U-Boot root 231*4882a593Smuzhiyun directory. The parameter is the architecture for which to 232*4882a593Smuzhiyun dump the commands (currently only "a38x" is supported). 233*4882a593Smuzhiyun 234*4882a593SmuzhiyunThe parameter values may be hardcoded into the file, but it is also possible to 235*4882a593Smuzhiyunemploy a dynamic approach of creating a Autoconf-like kwbimage.cfg.in, then 236*4882a593Smuzhiyunreading configuration values from Kconfig options or from the board config 237*4882a593Smuzhiyunfile, and generating the actual kwbimage.cfg from this template using Makefile 238*4882a593Smuzhiyunmechanisms (see board/gdsys/a38x/Makefile as an example for this approach). 239*4882a593Smuzhiyun 240*4882a593Smuzhiyun### Set config options 241*4882a593Smuzhiyun 242*4882a593SmuzhiyunTo enable the generation of trusted boot images, the corresponding support 243*4882a593Smuzhiyunneeds to be activated, and a index for the active CSK needs to be selected as 244*4882a593Smuzhiyunwell. 245*4882a593Smuzhiyun 246*4882a593SmuzhiyunFurthermore, eFuse writing support has to be activated in order to burn the 247*4882a593SmuzhiyuneFuse structure's values (this option is just needed for programming the eFuse 248*4882a593Smuzhiyunstructure; production boot images may disable it). 249*4882a593Smuzhiyun 250*4882a593SmuzhiyunARM architecture 251*4882a593Smuzhiyun -> [*] Build image for trusted boot 252*4882a593Smuzhiyun (0) Index of active CSK 253*4882a593Smuzhiyun -> [*] Enable eFuse support 254*4882a593Smuzhiyun [ ] Fake eFuse access (dry run) 255*4882a593Smuzhiyun 256*4882a593Smuzhiyun### Build and test boot image 257*4882a593Smuzhiyun 258*4882a593SmuzhiyunThe creation of the boot image is done via the usual invocation of make (with a 259*4882a593Smuzhiyunsuitably set CROSS_COMPILE environment variable, of course). The resulting boot 260*4882a593Smuzhiyunimage u-boot-spl.kwb can then be tested, if so desired. The hdrparser from [5] 261*4882a593Smuzhiyuncan be used for this purpose. To build the tool, invoke make in the 262*4882a593Smuzhiyun'tools/marvell/doimage_mv' directory of [5], which builds a stand-alone 263*4882a593Smuzhiyunhdrparser executable. A test can be conducted by calling hdrparser with the 264*4882a593Smuzhiyunproduced boot image and the following (mandatory) parameters: 265*4882a593Smuzhiyun 266*4882a593Smuzhiyun./hdrparser -k 0 -t u-boot-spl.kwb 267*4882a593Smuzhiyun 268*4882a593SmuzhiyunHere we assume that the CSK index is 0 and the boot image file resides in the 269*4882a593Smuzhiyunsame directory (adapt accordingly if needed). The tool should report that all 270*4882a593Smuzhiyunchecksums are valid ("GOOD"), that all signature verifications succeed 271*4882a593Smuzhiyun("PASSED"), and, finally, that the overall test was successful 272*4882a593Smuzhiyun("T E S T S U C C E E D E D" in the last line of output). 273*4882a593Smuzhiyun 274*4882a593Smuzhiyun### Burn eFuse structure 275*4882a593Smuzhiyun 276*4882a593Smuzhiyun+----------------------------------------------------------+ 277*4882a593Smuzhiyun| WARNING: Burning the eFuse structure is a irreversible | 278*4882a593Smuzhiyun| operation! Should wrong or corrupted values be used, the | 279*4882a593Smuzhiyun| board won't boot anymore, and recovery is likely | 280*4882a593Smuzhiyun| impossible! | 281*4882a593Smuzhiyun+----------------------------------------------------------+ 282*4882a593Smuzhiyun 283*4882a593SmuzhiyunAfter the build process has finished, and the SEC_FUSE_DUMP option was set in 284*4882a593Smuzhiyunthe kwbimage.cfg was set, a text file kwb_fuses_a38x.txt should be present in 285*4882a593Smuzhiyunthe U-Boot top-level directory. It contains all the necessary commands to set 286*4882a593Smuzhiyunthe eFuse structure to the values needed for the used KAK digest, as well as 287*4882a593Smuzhiyunthe CSK index, Flash ID and Box ID that were selected in kwbimage.cfg. 288*4882a593Smuzhiyun 289*4882a593SmuzhiyunSequentially executing the commands in this file at the U-Boot command prompt 290*4882a593Smuzhiyunwill write these values to the eFuse structure. 291*4882a593Smuzhiyun 292*4882a593SmuzhiyunIf the SEC_FUSE_DUMP option was not set, the commands needed to burn the fuses 293*4882a593Smuzhiyunhave to be crafted by hand. The needed fuse lines can be looked up in [1]; a 294*4882a593Smuzhiyunrough overview of the process is: 295*4882a593Smuzhiyun 296*4882a593Smuzhiyun* Burn the KAK public key hash. The hash itself can be found in the file 297*4882a593Smuzhiyun pub_kak_hash.txt in the U-Boot top-level directory; be careful to account for 298*4882a593Smuzhiyun the endianness! 299*4882a593Smuzhiyun* Burn the CSK selection, BoxID, and FlashID 300*4882a593Smuzhiyun* Enable trusted boot by burning the corresponding fuse (WARNING: this must be 301*4882a593Smuzhiyun the last fuse line written!) 302*4882a593Smuzhiyun* Lock the unused fuse lines 303*4882a593Smuzhiyun 304*4882a593SmuzhiyunThe command to employ is the "fuse prog" command previously enabled by setting 305*4882a593Smuzhiyunthe corresponding configuration option. 306*4882a593Smuzhiyun 307*4882a593SmuzhiyunFor the trusted boot, the fuse prog command has a special syntax, since the 308*4882a593SmuzhiyunARMADA SoC demands that whole fuse lines (64 bit values) have to be written as 309*4882a593Smuzhiyuna whole. The fuse prog command itself allows lists of 32 bit words to be 310*4882a593Smuzhiyunwritten at a time, but this is translated to a series of single 32 bit write 311*4882a593Smuzhiyunoperations to the fuse line, where the individual 32 bit words are identified 312*4882a593Smuzhiyunby a "word" counter that is increased for each write. 313*4882a593Smuzhiyun 314*4882a593SmuzhiyunTo work around this restriction, we interpret each line to have three "words" 315*4882a593Smuzhiyun(0-2): The first and second words are the values to be written to the fuse 316*4882a593Smuzhiyunline, and the third is a lock flag, which is supposed to lock the fuse line 317*4882a593Smuzhiyunwhen set to 1. Writes to the first and second words are memoized between 318*4882a593Smuzhiyunfunction calls, and the fuse line is only really written and locked (on writing 319*4882a593Smuzhiyunthe third word) if both words were previously set, so that "incomplete" writes 320*4882a593Smuzhiyunare prevented. An exception to this is a single write to the third word (index 321*4882a593Smuzhiyun2) without previously writing neither the first nor the second word, which 322*4882a593Smuzhiyunlocks the fuse line without setting any value; this is needed to lock the 323*4882a593Smuzhiyununused fuse lines. 324*4882a593Smuzhiyun 325*4882a593SmuzhiyunAs an example, to write the value 0011223344556677 to fuse line 10, we would 326*4882a593Smuzhiyunuse the following command: 327*4882a593Smuzhiyun 328*4882a593Smuzhiyunfuse prog -y 10 0 00112233 44556677 1 329*4882a593Smuzhiyun 330*4882a593SmuzhiyunHere 10 is the fuse line number, 0 is the index of the first word to be 331*4882a593Smuzhiyunwritten, 00112233 and 44556677 are the values to be written to the fuse line 332*4882a593Smuzhiyun(first and second word) and the trailing 1 is the value for the third word 333*4882a593Smuzhiyunresponsible for locking the line. 334*4882a593Smuzhiyun 335*4882a593SmuzhiyunA "lock-only" command would look like this: 336*4882a593Smuzhiyun 337*4882a593Smuzhiyunfuse prog -y 11 2 1 338*4882a593Smuzhiyun 339*4882a593SmuzhiyunHere 11 is the fuse number, 2 is the index of the first word to be written 340*4882a593Smuzhiyun(notice that we only write to word 2 here; the third word for fuse line 341*4882a593Smuzhiyunlocking), and the 1 is the value for the word we are writing to. 342*4882a593Smuzhiyun 343*4882a593SmuzhiyunWARNING: According to application note [4], the VHV pin of the SoC must be 344*4882a593Smuzhiyunconnected to a 1.8V source during eFuse programming, but *must* be disconnected 345*4882a593Smuzhiyunfor normal operation. The AN [4] describes a software-controlled circuit (based 346*4882a593Smuzhiyunon a N-channel or P-channel FET and a free GPIO pin of the SoC) to achieve 347*4882a593Smuzhiyunthis, but a jumper-based circuit should suffice as well. Regardless of the 348*4882a593Smuzhiyunchosen circuit, the issue needs to be addressed accordingly! 349*4882a593Smuzhiyun 350*4882a593Smuzhiyun7. Work to be done 351*4882a593Smuzhiyun------------------ 352*4882a593Smuzhiyun 353*4882a593Smuzhiyun* Add the ability to populate more than one CSK 354*4882a593Smuzhiyun* Test secure debug 355*4882a593Smuzhiyun* Test on Armada XP 356*4882a593Smuzhiyun 357*4882a593Smuzhiyun8. Bibliography 358*4882a593Smuzhiyun--------------- 359*4882a593Smuzhiyun 360*4882a593Smuzhiyun[1] ARMADA(R) 38x Family High-Performance Single/Dual CPU System on Chip 361*4882a593Smuzhiyun Functional Specification; MV-S109094-00, Rev. C; August 2, 2015, 362*4882a593Smuzhiyun Preliminary 363*4882a593Smuzhiyun[2] AN-383: ARMADA(R) 38x Families Secure Boot Mode Support; MV-S302501-00 364*4882a593Smuzhiyun Rev. A; March 11, 2015, Preliminary 365*4882a593Smuzhiyun[3] Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography 366*4882a593Smuzhiyun Specifications Version 2.1; February 2003; 367*4882a593Smuzhiyun https://www.ietf.org/rfc/rfc3447.txt 368*4882a593Smuzhiyun[4] AN-389: ARMADA(R) VHV Power; MV-S302545-00 Rev. B; January 28, 2016, 369*4882a593Smuzhiyun Released 370*4882a593Smuzhiyun[5] Marvell Armada 38x U-Boot support; November 25, 2015; 371*4882a593Smuzhiyun https://github.com/MarvellEmbeddedProcessors/u-boot-marvell 372*4882a593Smuzhiyun 373*4882a593Smuzhiyun2017-01-05, Mario Six <mario.six@gdsys.cc> 374