CAAM RNG error in i.MX 6SX SABRE-SD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAAM RNG error in i.MX 6SX SABRE-SD

750件の閲覧回数
kanimozhi_t
Contributor V

Hi,

We're using Yocto hardknott with Linux kernel version "5.10.52-lts-5.10.y+ga11753a89ec6". Today, suddenly we ran into a problem with CAAM's RNG (earlier it worked as expected in the same hardware but with old kernel builds) that it raises the followin error:

[ 51.708670] caam_jr 2102000.jr: 20003c5b: CCB: desc idx 60: RNG: Hardware error
[ 51.716162] caam_jr 2102000.jr: Failed to execute black key descriptor
[ 51.722707] caam_jr 2102000.jr: Black key generation failed: (-22)

It prints continuously on the screen and pollutes it. It also caused the CAAM' related functions to fail

Finally we solved it following the discussion on the Linux kernel mailing list. The solution involvs modifying the "caamrng.c" file. Now our questions are,

  1. Is this workaround/fix poses any security threat?
  2. Is this issue observed across all the i.MX 6SX?
  3. Will it get fixed on the next kernel revision by NXP?
ラベル(4)
0 件の賞賛
0 返答(返信)