Trying to run A71CH on MX6UL-EVK2 board
ran the following commands:
1. root@imx6ulevk:~# cd axHostSw/hostLib/embSeEngine/a71chDemo/scripts/
2. root@imx6ulevk:~/axHostSw/hostLib/embSeEngine/a71chDemo/scripts# ./a71chPrepareEcc.sh
and failed with the following error:
NXP i.MX Release Distro 4.9.88-2.0.0 imx6ulevk ttymxc0
imx6ulevk login: root
root@imx6ulevk:~# cd axHostSw/hostLib/embSeEngine/a71chDemo/scripts/
root@imx6ulevk:~/axHostSw/hostLib/embSeEngine/a71chDemo/scripts# ./a71chPrepareEcc.sh
A71CH Key provisioning script (Rev.0.9).
Executing this script will create new keys and insert these keys
in the attached A71CH secure element.
Are you sure? [y/N] y
Continuing
GNU/Linux
Assume we run on Linux
>> openssl ecparam -name prime256v1 -out ../ecc/prime256v1.pem
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_kp_0.pem
>> openssl ec -in ../ecc/ecc_key_kp_0.pem -pubout -out ../ecc/ecc_key_kp_pubonly_0.pem
read EC key
writing EC key
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_kp_1.pem
>> openssl ec -in ../ecc/ecc_key_kp_1.pem -pubout -out ../ecc/ecc_key_kp_pubonly_1.pem
read EC key
writing EC key
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_kp_2.pem
>> openssl ec -in ../ecc/ecc_key_kp_2.pem -pubout -out ../ecc/ecc_key_kp_pubonly_2.pem
read EC key
writing EC key
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_kp_3.pem
>> openssl ec -in ../ecc/ecc_key_kp_3.pem -pubout -out ../ecc/ecc_key_kp_pubonly_3.pem
read EC key
writing EC key
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_pub_0.pem
>> openssl ec -in ../ecc/ecc_key_pub_0.pem -pubout -out ../ecc/ecc_key_pub_pubonly_0.pem
read EC key
writing EC key
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_pub_1.pem
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/ecc_key_pub_2.pem
>> openssl ecparam -in ../ecc/prime256v1.pem -genkey -noout -out ../ecc/remote_ecc_kp.pem
>> ../../../../linux/a71chConfig_i2c_imx debug reset
a71chConfig (Rev 1.20) .. connect to A71CH. Chunksize at link layer = 256.
I2CInit: opening /dev/i2c-1
I2C driver: PEC flag cleared
I2C driver supports plain i2c-level commands.
I2C driver supports Read Block.
Error: Failed to retrieve ready status.
sci2c_Init failed 2
SM_Connect failed with status 0x7013 (Could not establish communication protocol)
==========SELECT-FAILED=========
Select failed. SW = 0x0005
"../../../../linux/a71chConfig_i2c_imx debug reset" failed to run successfully, returned 12
nd88_0-1626951025212.png
appreciate if anyone could help.