我目前正在使用 Flex-Builder Tool 版本 21.08 来构建 firmware.img、boo tloader.tgz 和 root fs_lsdk2108_ubuntumain.tgz。 使用 Flex-Installer 将这些二进制文件放在 SD 卡上以启动主 板。
我有以下关于配置更改和相关文件的技术问题:
1. 我正在使用恩智浦 LS1046A-RDB 板,并尝试使用 高效密码学标准(SEC)/CAAM 引擎提供的所有 4 个工作环(JR0—JR3)。
目前,Linux 内核似乎只初始化/公开了 2 个作业环(JR0 和 JR1)。我需要利用所有 4 种技术来满足我的应用要求。
I 通过 root@localhost:# dmesg | grep -i caam, 返回以下输出
[1790.522486] caam 1700000.crypto:Linux CAAM 队列 I/F 驱动程序已初始化
[1790.523182] caam 1700000.crypto: 设备 ID = 0x0a1103010000000(Era
[1790.523190] caam 1700000.crypto:作业环 = 3,qi = 1
[1790.780457] caam 算法,注册于 /proc/crypto
[17990.523190] caam 17000000000 caam 1700000.crypto: 在 /proc/crypto [1790.784495] 中注册的 caam pkc 算法
caam 1700000.crypto:在 /proc/crypto
[1790.784503] 中注册的算法 caam 1700000.crypto: 在 /proc/crypto 中注册的算法
caam 17 注册 rng-caam[1790.784718] 设备 caam-keygen 已注册
[1790.786153] caam _jr 1730000.jr:无法刷新任务环 2
[1790.791749] caam_jr:1730000.jr 的探测失败,出现错误 -5
root@localhost:# cat /proc/interrupts | grep jr
78: 25 0 0 0 GICv2 103 Level 1710000.jr
79: 0 0 0 GICv2 104 Level 1720000.jr
我各自的 .dts 片段 :
加密:crypto @1700000 {
兼容 = " fsl,sec-v5.4 "," fsl,sec-v5.0 ",
" fsl,sec-v4.0 ";
fsl,sec-era =<8> ;
<1><1><0x0 0x00 0x1700000 0x100000>
<0x00 0x1700000 0x0 0x100000>
#address-cells =
#size-cells =
; 范围 = ;reg = <
0x00 0x00 0x1700000 0x1700000 0x0 0x100000;中断 = >; dma-COHERENT;
sec_jr0: jr @10000 {compatible = " fsl,sec-v
5.4-job-ring ",
" fsl,sec-v5.0-job-ring ",
" fsl,sec-v4.0-job-ring ";
reg =<0x10000 0x10000>;
interrupts =
};
sec_jr1: jr @20000 {compatible = " fsl,sec-v
5.4-job-ring ",
" fsl,sec-v5.0-job-ring ",
" fsl,sec-v4.0-job-ring ";
reg =<0x20000 0x10000>;
interrupts =
};
sec_jr2: jr @30000 {compatible = " fsl,sec-v
5.4-job-ring ",
" fsl,sec-v5.0-job-ring ",
" fsl,sec-v4.0-job-ring ";
reg =<0x30000 0x10000>;
interrupts =
};
高效密码学标准(SEC)_jr3: jr@40000 {
兼容 = " fsl,高效密码学标准(SEC)-v5.4-job-ring ",
" fsl,sec-v5.0-job-ring ",
" fsl,sec-v4.0-job-ring ";
reg =<0x40000 0x10000>;
interrupts =
};
};