cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mik1234mc
Visitor
Visitor
228 Views
Registered: ‎02-15-2017

U-boot error with CONFIG_CMD_ZYNQ_AES / CONFIG_CMD_ZYNQ_RSA configs

Hi all,

we are using boards with Zynq FPGA (xc7z015) with xilinx fsbl, u-boot and linux. We have u-boot (V2018.01) config from the board manufacturer, it is attached. If u-boot is used with default config for QSPI boot, booting into Linux works perfectly. Now, we would like to add cryptography capability and encrypt our bitstream. According to Xilinx documentation, we need for this zynqaes command which is enabled with u-boot CONFIG_CMD_ZYNQ_AES define. However, if we add this define and the others below to allow u-boot to compile, this u-boot binary hangs up during boot and we cannot even reach u-boot shell.

CONFIG_SHA256=y
CONFIG_CMD_MD5SUM=y
CONFIG_CMD_ZYNQ_RSA=y
CONFIG_CMD_ZYNQ_AES=y

The only message which appears on the UART port is:

initcall sequence 0407db50 failed at call 040013cc (err=-12)
### ERROR ### Please RESET the board ###

Can you advice us what is wrong, what else should be changed in the config or how to debug this issue?

Thank you in advance,
Michael

0 Kudos
Reply
0 Replies