This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: AM572x EVM boot failed : alg: skcipher: Chunk test 1 failed on encryption at page 0 for ecb-aes-omap

Part Number: AM5728

Tool/software: Linux

Hi,

I am testing AM572x boot up with Linux OS( using SD card) on AM572x EVM.

I have boot fail once each 100 times. At that time, I see the error message.

        [   18.454801] alg: skcipher: Chunk test 2 failed on encryption at page 0 for cbc-aes-omap

And, I found the similar E2E thread for this error message.

https://e2e.ti.com/support/arm/automotive_processors/f/1020/t/542020

But I could not find  "GIC CPU mask not found - kernel will fail to boot " message. Please see the atached log file.

3107.boot_fail.txt

Is my boot fail same issue of this E2E thread?

Please advise me.

Best regards,

Michi

  • Hi Michi,

    The described above boot fail printing
    "alg: skcipher: Chunk test 2 failed on encryption at page 0 for cbc-aes-omap"
    can be due to memory corruption caused by some kind of electromagnetic confusion or noise.
    I suggest you to add debug message which dumps not only the first string but both compared strings. This can be done by adding in "../linux../crypto/testmgr.c" file after:


    pr_err("alg: skcipher%s: Chunk test %d failed on %s at page %u for %s\n",
    d, j, e, k, algo);
    hexdump(q, template[i].tap[k]);


    printing of second string with:

    hexdump(template[i].result + temp, template[i].tap[k]);


    You can share the booting log after this kernel source modification.

    BR
    Tsvetolin Shulev