ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received PU: Power-off latency exceeded, new value 27667 ns segmentation fault while running test-video application for hardware caam with libsrtp.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received PU: Power-off latency exceeded, new value 27667 ns segmentation fault while running test-video application for hardware caam with libsrtp.

12,865 Views
veeranjaneyulug
Contributor III

Hi all,

 

we compiled/build libsrtp-1.5.3 source and cryptodev module ,openssl ,caam (cryptodev 1.6 installed on target board).kernel version 3.14.28 with yocto 1.7.

 

we added hardware engine support code in libsrtp source file .file path given below.

libsrtp-1.5.3/crypto/cipher/aes_icm_ossl.c

libsrtp and openssl changes patches attached .crypto modules patch same as openssl .

 

we added ctr support in openssl and crypto module eng_cryptodev.c file.

 

First on target board we inserted #modprobe cryptodev

#./test-video

 

pc side:

gst-launch-1.0 -v rtspsrc location=rtsps://192.168.2.224:8554/test  tls-validation-flags=generic-error user-id=user user-pw=password ! decodebin ! autovideosink

 

we observed streaming .at that time we checked on target board

#lsmod

cryptodev  is showing 1.with out running streaming cryptodev is 0.

===>with out cryptodev and software srtp the cpu % is 20+

#top

with cryptodev and hardware srtp support cpu % is 3%

 

 

streaming happening but after min 5 seconds on tar get we got segmentation fault issue came .

we dont know whis is the problem .for test-video application or libsrtp support code and openssl.

 

can you any body clarify me..

 

root@imx6_zcam:/home# ./test-video

stream ready at rtsps://127.0.0.1:8554/test

ERROR: v4l2 capture: slave not found!

====== IMXV4L2SRC: 4.0.3 build on May  3 2016 12:44:34. ======

null_cipher.c:crypto/cipher/null_cipher.c null_cipher_alloc

null_cipher.c:crypto/cipher/null_cipher.c null_cipher_alloc

Engine successfully enabled

GB -> Hardware Encryption

00000000000000000000000000000000

882b5e85

e622814732ca3cde0e740ae23cc1311d44ec9a896598cde8621918a86ea9a6bbeb70bcbc9dcff08e1f5360d62b

d3f1fbbe12565bfa6d3b027edc3e679ecadc45c7b401683195710d3fec1dc37f833dcf85c65fe6ce7c7d39e46aee53accf777eeb23

 

2557f06e32e51dfe813f894367eadcaf469864d9a567fecb2466dfdff3831d6aacd8981a4ab7a9

fdd4bd374934153f933beedc51f312b6ad2a51365825214f82f686dd3d272bd755

ec24627464743ad62aece3c5c5794216228a946eca33ae412778b4d331e585252db7e847e27a941d622b567384854f636d42394548cafdf133

c5dc8b2742cad18d2ee9dd1fbb5c6aba5b7f883d6489c5e35a25835b4b4e75abac75

80c63e1b83d6cb6954d2

64de83d2417926e9545085

f798bcc8b065b6ba23b8de

f76e28c2f9edcf7eb3b1be4581c6d3

3823b7253c32bfed

7dd9ab3ead6d

7249e99cbc3f6f899df1906f4c7b3758e4e5e1dde28755c5268b4c4dc3601a136fb7c96a

d1e6f03b5fd042e1793913264548beb2c1625cda6937416383a3d57cfacd9fa8d10c6ab48c9609344d5feed321b5fd7c62567fd955c547292e086

d254c58e240c62418651141303393bbacc069bf8693cb93aa7c1cbddf6e3d

67fc9ca79a56dacd67e7c97105cc3d12489c021444933c62de81f53c7349e8024709b

87e84e8e74b6926409cd685d032995642d03df8c0472b2ee63ad17e75b1

a472adf4288cf88971d5485c9b312dbe66dc5fdd92db4ef64ff9e5dc1673c5aab6b7d085daffce

735af519334bf2fe661b358533e8bb1d8c256eac37f24dbb99ccb

39773ce399ead219ab3c56b1b86ec1daddae4cf89e489f130453437a632239d34de0b8bd4f175c1c43295fa462481d5a16c933394894173e8a7

9c71fd7ce09d408a19ac5e45a7d8d918d96a24e5742fefb3658236a26783694cc6430

5e8754d20

a850ef17fec8e1e07e66348a1c6a47147d29509e

1a9c9830198d4c6a058a65692a7eea8b8a25c2c2c89a3f1f7aba3f36bfca23b338d9a368d822d2b3f86d88def2e9a4d4

4f473c5d65233fd886c2f7718d612cafa5179f5923ace30d175

398220f7fc

492d3d8767d57086e33ed808ecd75f7a3338037cf95565a88c8987f757

5be176995576d75e3cc5ab

5b26e15f6d4badc84bffc982c87b4a9157acfcfae81b37e1730313b84c08cf33ab819fb1f9062df3fedeb36247e32ab3d8ac2e51673854

1fc1d6c2fdc9a3511caecf7675bd54198b78c9fd2ed550f63e122885b1bedd94eaaa

d6c65ec84b555d2499d1ef641963e288bac359324793b211eaa3f3ad438b786c1feb1a3f368308585ac0e5d8d366ef1537bdf94f26415

a61a2223a0916f66bde6cbfd4c9d4921efe065cad9afd16148cdf45f4de2721dceb4165a8954bc65f62f64a1317812

44e116ebcf9a2531f63248a115cd80be8273686520d6b1fb8aa318f257561984877b3a2

5682a0496d3b89d957204b5ca54e89c588bedb45ecec1423adf0e75d86fe4c901067996

9fe1b96ce3c4ff5ec24e4cd30edba7e

39e8ac6ffb22fb635c32d3364da92279c4bd73e25a85332c64c3c3a8d

88a7a31be0bdc1d948

4c2b373e6be4ce7a524fab66d684adce0e28996033be7a8760d163

425df757211071cd5ae83710db91bdb94c8125fe98cf4c286ff1fe9e1382568b11125bc74652e5985264

cde65ea5bdfeca2be046f7b7a11f517e137e2e4

9375ccc77ac6771fc258b9c6e7f945917ffd246d175eaec63405c4086694d38ef6e617bc7e1d4ec63d65bc

b04b62792e5e95aba8252abf56ecc925cdae8f855af3502a2275aa42533877393273be166975a4ff660a3ef30beb158b957

fd707c84d1311dea65c387db5d423e379ca202c27c4d9fd4db1

248534e6b81bc0a436d8deb073e7f49c

4fabe34915f89e33a3a319c019cbdcd3e5eae830a03c94c9fd9885496cc09cefe038c33b25ae3531fc0c73e4bd3

34ef1adbab4f7e86e2d36335c7fdb5f1f0d6c9cfd94b29fe6fb4d7b7e5f1baf632526bb9ec2ccc269bd75298ed442d49a13829279eee9df09c3b

9fcf3a99c1904838efb39f7d31c95eeeae61581eda0b0912ca896b019d7cc82e6457782d6af9754dffb5e82eafcee518ec

8541affa405027387e54cdfe4

30ecbf6986838e1ca4fb4b1b22e80cf25af1af8f7aade8437486e2534d142e7095a5

d8929cc416c1e6c6f45d398d81319b2

34cdeb28b6e0856a

e5a446662e5c75

1be9cbe71d8f44339be64d9b8e3fb90a3d995961f

cfe2ef30cca7a27035f8db652136a262da795485d0994fec394dfa

c362168fdcd7fff325c2bff5ee6221f1a3b051d88270d9ae1ca35ed09c799632a22d304d1afc571673fb2c658a78e3f0be6829e7b45efe92dbac7

42f0529a366cce98142c351b6084aa3e76cbbd277d3511b779813537b507ca0af93f72da6bedd484789a67c9f

652d73e2649a772ace13a5b78a9a73f23441d25977f9d6fae88710ab1f9772dee

9f6cfce86c34e8e5833972d2f99dc3eb41514afc3a431bbca

198289293228258232af3b63db829bde7363a47b6a306676c14ce8d17c5468b2448168b2bb77e178676c54a8423477ba924942b4beaef19c98

86e7af45e0ae23a83aa19590d39e7425adeffb6c929823b0ccf32b

c93dab387760fb898c844f4bb23bedec34ea9270f860d7b349281eaafa178ca6af1da280529c80d39219555025b9c618ba2b50fb9ce9e4add32def3

899c659c869c37558985ac69d7b62c5cbdee8e1d9dc42248b8e8ef37d1147b67814ed62159b2f6220ab17d6f92a6846a1b7b58d

be7de8a3b91d8735bc4a

251b522119fd1e607c239c0b55d3e50a7e49be59fa420ce9095f565b1d44bf5e4

7f69d78a43ddc3e5cab562daaefdc2d59e26f4d8db933c8a665

b39ed5ad8405fd33ece459deb4c71e90533a75bdc26448deaa9f3

d9c59925eb91ae08db18a7f1add3252fb93ed8d675a77a4d7010b7c682b224e0ab51882a871805b526884779a157db4cc9399761ffa019ffecdbe127

13e0fa812fda2094eb9ab0ac82c12e7a3beaf999cd7a2e0a4a28761ee0369e5edd

5d9011ca9730b77becbe67acb3eadd30f35cff99bae839174147be30b47945b136d5b5cb44f38a9513a78023e511f35b27ec8b7c1fb8228

f1605bf6b82bae879131f26b5acf2a492885888ae059ff44e3314f1354134b0cd79d41660de993a2f

4f97eff0d55a65cbb13e8778a330a3fc1849649cebf1d761a1663f389cd93fcd9e8fe759ea1bfb64adde360cf9949dcc898a31e47816

b6cd46abb3e4c7bf68ba793ae925fad51ddfba67785f5fe1338c95d42a791158639a4b

177ad03188ad6eabf2aa8de192976bb677fe942b16e119b91ba59

5038fe4af4f757287dd89e02a3a2c72c760bf

842f7b90a9ac206c44b2b874cb8f2b7a4d6f94572ce3f52db6f522e7b1dbe2cd988614386878b1a6fd5693b13f4b6305a14788a

63febcd22ee711d07490

fb5712f2d230684c8a34e2dd534e

30ec8bc3251a37386d80b04f61f9a15406585bf4ef232f874ed2ae068a042e430a3988fde2f3dec

c760e11b3858232593ed712f2465313b9b42a8ecd5551c

5b77e63f3e5dcba299d872d4c904fe0c529f462dd3655e82910a9cb93fabe90b8213a37b498e19a5f7e70a0a578fe7c42

576b7f2b1874f9263d3a84c3225bc1c31481d71084e996cf8b5675ff361ea44b2511ec52e230af40fa45c41860ed3782eb1e851fa6b4

14c1b087bc4e9c4d65da613af6bfe6735f5affd2a043d13d8b767a55a8729b3

1141110dfa7f9b0f2f4fb7f41683e823b36715fb89e7d16392532a27689f473d0c08068738951c3407ef94ed6b2da942bc59b2cf53c65f

595b68ee07931e32398c1a3a5

b665d16d8dacc1f298fd396feb88c12f951d8742f9736827f3cb37fbd0ddc8d2631ad56ce0423c22142b6ed2cda65fa9d27b29efa0c58b2272c9f6

bd288dd017bf47978b9f2326cbca4a4cbea35a5d9ecdf2b429b49febdd188134be0e5114a36410623ed25d5ec6a5fd59d2

bf606ac2d335cfb6bebed851a10c8af7d2ec762594911f1c4d1e08d9c9b2af7dff532efbea95368f0daed747cf964e3ae11db378d472557f4e1bef

eedd84787cd634c0aa40b8cd2331b7c4fdc9e85b8abe2bb63484e609dd92d

12bbd9ea578e2513e27d75e14d

992ce9af2b1a4c184a9f39654d12a1d3cb9826acc9d0233e3e126fba24ff8e7e44c4b588b5cf18d7fb768911b7869de6a68c2923d5b

a9aff94a7bc93c82fff3372f3dd237629efac9ca9654de3118aa6a199b9f1e9a50cd75a49b4d4bdb9a1dea56997a4ed3f5b083ed3942d11f

a1778a4e6278cd55e4e2f

8250b78b8630f3c4dd52ed3c69fb225c2c4b269383df9f2f8aec3b9353793987d7eb9cc677996478df

e2c69c4bf8

39ffcffa6f87a88eae6f24a44f9eb7cdec7c7f2d34548ea649cfd1e23a969e91ab3556924e3de49663395

2f533cf947

44f4bea8282d7483f7175367c3bc3f809fb7d277a56eafde48c31316aed2

4d79d2ce64d45f97e9e34e6f13265b163f7845832beacdf39eda394e6a6f2dec71cd0f716cfb3c75de5d

98f616f487319bf7a4fe66337d4fa7c9e7d9b0c01bdb1c8b6a324b8474c9538a11c807c3ced5451ee

a0ac719cd9f4fad01ac8f8b1d769b1ec3df3f341e44a7260bf2c

b4e274015e0ac3d97c6efc2fc5b1db461a748839

c38194235641280d47dd5acc91a89c884e14f9730419ca0a6cdc23ba431f0a5f2ab

3afffac55c57cc21e38557ce4d34d85ff02e1d9e801e721e423b2e26d08ed48e377d8ed3b67dc07277eb4110e6ab8b8e772f595f32d4e60a06851d7e420

4516497573cc55da7dd4086c74cdb29ab1ef2708a3bddb47f51d7adebb3a0ef4a6d753fac78e7c5865b37a1daf389

2a208aab8345ee5a376d8cd4f39cbb9c7ad20fac6ca2a19eed3c3942d65129e1e23524ac0d6a42c9ec0f657cdc9141a84bf7862

904be5bac5a488235cb7c7354db552f387844a17a4b67c22546dace638b4326ceaaa32c57d909fe71749c4b865818258b845

5cb99ca11995f3748e4c54444175b575b183cf38b92b3574cdd2d6199e6b25ca659b2feb88aa277dad8c227b43f290bbf440cef868c4e38bc1

b985195

db1f637138e83b2dc16b5b76147a5c7e75fffd6f385a7dd71ef1ab1

6fc78e3780665f34ca1820d9ea5f4fbaab9cbf

b1ae8417ac89764fe23e7f4912d1827f5323a730aa4f32fb20d59458812f5ed3f57e2f687b63b98d321aa03e9d69a920169c3e8b12

4bedbe84ed44f04d3e7cb6494e9bbe198537e1f

c4c630f0b4e87b62b559fb9de052f12633ec7cd24d10af5c131ef771f1628b7b5b95f2449dbcc8e31bf24eb3f0f1839cdf

af81a24c2976cc913f47697b5948438788e3544686c26a94c8968e05e96a9402398de591c2d6561c2c553ac1619fb

6a6b2ffd868be4ea4246951eece6ea61b0a76beecd2a5e7f87f16127562b73f7c7b

71beb59b84e2e2efef2ed71d2276b49baa419c4ef727483679d412851a82f6267c7dedaddfa98730f777aee7f81e

215bbce2cf801a53c711cedf319a2ff88082b8ac54eb4ca2c96edeb12390db7ed3483ded

674766fd814ef231fe5d77cb94d09712e2e541eb3b6705bee8d688654b

7eb3189b235e6eaa08f30475634ba

2e34b4bdfdc784f31eb8305e4d95ccb2e389367b1f84164cf5c71fc34eade4bbf4506df224b5453f6cfff47af64255aa7338

7cf6ce7920257237e43e65e337fa1b4a5bae4be

3fe36fe87975b7d713

d96c936ba19362aafee502049393fe937d84968fbad41937ab3a7b60e1207ebc23908fbfd93a968b202de3b7f53882737a60a7e6f1b069756597793

a22

123162ee341bcd2f99e2b637eef

6bed9f9cda3deaed7bd412cc92953ce21e6ef4c7b50902d885ec307093a4cd7f3cc6dafbdcf6d3

[INFO]  Product Info: i.MX6Q/D/S

====== VPUENC: 4.0.3 build on Mar  1 2016 11:13:20. ======

        wrapper: 1.0.58 (VPUWRAPPER_ARM_LINUX Build on May  3 2016 12:43:46)

        vpulib: 5.4.28

        firmware: 3.1.1.46063

[INFO]  ringBufferEnable 0, chromaInterleave 0, mapType 0, linear2TiledEnable 0

84195000000044f100059f1f7861

84195000000045840006cf22b11d017d6c81ca0c14e4ef9a11c757365723137333238363237353840686f73742d66653333363765346

 

(test-video:728): GStreamer-WARNING **: Trying to set string on structure field 'tool', but string is not valid UTF-8. Please file a bug.

Segmentation fault

root@imx6_zcam:/home# ./test-video &

[1] 747

root@imx6_zcam:/home# stream ready at rtsps://127.0.0.1:8554/test

ERROR: v4l2 capture: slave not found!

====== IMXV4L2SRC: 4.0.3 build on May  3 2016 12:44:34. ======

null_cipher.c:crypto/cipher/null_cipher.c null_cipher_alloc

null_cipher.c:crypto/cipher/null_cipher.c null_cipher_alloc

Engine successfully enabled

GB -> Hardware Encryption

00000000000000000000000000000000

1dbd6b2f87

1bcb4bef1cdc8eb0e81863936c6a6392f10437b668886c0d392a7fdf454b61521ca76fadc37779a749bdbc54efd1c

6fc787f1cf30c8bdfd6a1ed136fbd6c91d457d0595a7c91fa6751afea7074463b51fd6c65a1668d5c73907841347ff1215361dab3

 

1d951f7ec92f26d6e73703e83fcbe2a8fcad3ed0d91cf8c1f8aadbe5ee6f285f3cb42a63b5477a0

46f017bfffcc88f1e8eafdfb99bf7c78ea9997e61eae1fb46d0c8cfb4d7af3df6

c9b1c2841ba72e63f9441605dba8defb46efbac28d3baa315548404c178ef5a61d175837118719d27518a4bf1c8b2f8a39d9e5c4535b32fde

bef679c52b1b24c666a68b5ec8c697555b5dac8a6ab443d757bec829de8c28a4839539a1

dd7c5aa43d11b6151a2a

7573469347c9832f47ff1e

566f873224ec972381b655

bb5e89f3fac678a4394581b58312e7dd

e2e5ce41836d9813

4b187d317f7755

dcb126d8daf92c87075c662dac277f0ebeced6f6238e256d930884b9eed73da11b14526

eef296983b5b722af3a7abdada6ca58ebc31b4ecf2297f568cb385474e66b1a0d0b21167e1f8e554572192c4bc71e9844b6737e27dfac2f761a175

5095e1dce7ee42cdf4924aded4848f3199ef801fffa88d59f890cf3cb9ee8

557a71c97eb49ef311ad4a28ebccd48195a2a1dcbd5a50946aa640f3fe5642165ff88

f7ec61ffdd356911f169a2f6f3ec31854dc9d90a1bfc95a24533b8955f6

9b36dcdde8dbf4df8198343630e9e625551c9821c3af943ae2c8ea2bd3dd65a51a9d5f6ebdfb0e2

7bc70dc97215dff485a2df4e8b6b3865969bb65d9bdcb191fa4fa2d

dab7d1a0d7eef2bb429f13aa62f446bef3e4d749646fa5d3f667b2c5bda02e17762697401f732a974cb9b65b9bc3244e4aea761ae06523861936

316d196179869de8c1117eddda724461c6e7eb7124f8b15ef9bbdd3cfe3fe072c1117a

e4d718bdb4

df93deb86f557ce620e69fb489509688b12aa434

446b58e652e4858261deeb63a5a1e2b76d5f2932bc0fe8ec31dc772c5e437da591aef894cc1d18bfa13921ae8c21f1bd34996

7b8650ebdaeb8a937820988d174bd6cf3f5551216db1fe656b2

6a849189c0

c1e12f65e4bd12a523bedefceec476924c585f6c659489f4abcada5d2

efdb6d6011f55728843e60

cf6bc187ae1d12fbddfbca8a7f6107a4bebdac7f8d0505cf8eed627f5805fe87dc66f53e811522a269261d78b3958f19cdb36e38e495b1

c6d69c6ee83f6a8d7d251aa818967b3f3ecd399ce49a9dd17ae1b4030d1166adb7a

eee363b39c8f9602af79c395a4d42dce40b57ebbb4d1a2af30fdd373331e3e9cec8fc6af4711c7a82536a79ffcf646dc1b11044d75c25f232

4bb2656fda9443c88b56ca1c794cb053a948fad7da8c743dbe34fd1599d7e169686b6ffc584fde4cacecc47fefbf7dd

83ef8b1ebde347c815e0f169e4fb9256642b6bd8c5b7c10fce6a19de3885f54664e679

d2d865b4f2aa7e77d82381b2b566bbf72b6310ab76d46a5cadf37561b84eda2118e2fdab

4fcb5f49db751e2e5629d19d7e0aa15ec

5e49d18b60d9d9a5bb64cf36ed3bf101292fddf13b14d357b29ba5661e

a5311045ae35f0ab

1015fb95d273662d86ba21b14c54abd72402aab5bc3b1d64e3cc4b7

1f25e675b4fad83713255cc81dedb2d35e3177280aedb924c69a5b5c436ef4c39c2befc2951a0d7a5ed

9f493e91e2e616ab9cfde74efe86f3dde2352645

c39accb772c553958efe1dfe47c390fbccf09cd48daf223182f3d46d1cc24976ad66734fbc494775e922

93b1f1f9c1d853d55a4886d74f696f62726edf5038b2bc667d2ad2f30199f989d318945bfdb34bb181d7c58af81d094ab1e

20f9a52f78eb2fb7568d57d7b2f389bd3c1e6718bc9c12cc0b778

28fd53309ebd8e2ff383366bf28fb13

ba224e4e5b5acc2f74286843de715edc2f5aafdda89b8ad403cc6a8886a43b751eca33dfa4dfacc79a4eefadfa56

b0ce77bba45b51a21d1cbc14cab3187fc3dcdb7d86214a58c78b2e3e975e4d364414f0ebd2241028d5ceb969f45d703165469bf606a68fb7f

abcdaa71bbed14c4a217c17acb90ea5ac0b62ab1dc512b6a17cc4b84b3d6fd1e5a8d6f4951960a6b45213f712972d854acf9

93f9168d4c89bdc9b375c1ad1

77d191f4d37d988721a18ff5f94aecbe9aca9b163e9b50e59f124a558345c88d5d9e2

2d1df533a7c179e1f213c3e480b733

1cfb3a7a73555fe

7139a0d8ea7751

da2c3241ede2b68cbe70fb864d5839309de8ccc3

33e8717661bdd12176915e53a3ad5ada88e8c72d8095f22cfee20fe

ce326b42dcdf6d8e154fc0807295daff81267dc0f3f71ad083eb49e19ed24c7748ecef43850f9d5ebee75e18e72abc96448c21d5ac83a03a

245aa273e3934c2a56a38f345ae7fd5714b2997d441bbc89c2ad1e5d77166b44b90e8cdb95ace58f445efc3ec

bebcf79e771ccbe22f6811e2d29834534643a6d7f5973688b0e12a1aac1fcf3d863b

6ba62ff058de94a1de60e997a393369da890973b757fe6864f

20ce5d4d80764430b03f9a64705977ecc66a0c82e8d2368736272893b3518f13f2928cfd8b9994c965779e99694e911bebb53da545ae446e

c5c22f1a3132ad75cc3242651b473c4984fd4d29d99ab6b78b325

21c17694a7155cd151ebb13ee6fa74a493fbdfd4081d6cc7fd2d7af4ab0d376375c9d37febedd375fbc4bb871fe61e4e9699a9aaddd9ff79351759e7

ef6835bdf3bdc248ec422620372a4e7ae989a1822ebf39d2f33710f4a93fd5bfe6d3fbb178a6e3999835ee14ec693bb71dbc453d6

f8bc278be981161e3541e7

65793d5ff31ec87977d9c4743a9c79dedde47afee31fcae112c1fa41a729fd79

462fa777546ca0997abb3cbaa3d072670d0a337d7c63377f9

a4313c173be3a98a79ed33873416864df6e512394784be17c72885f3

1250f16375607e6250e058c020fc6a49fe4cddeffe1fc181fe169623ea9bec9cf3373df6fd22a126ac28dfead6d889a6523ed6b329c9fe35c8af31bee354b

38dc29e7508d5638ee4faf8af98cd31263f84c6dddf916738c8d627b6a4311c424f9

bcad34488e59b315a2caaa2e16252724a1705f4213e0709dde9a777f2dc3b844148de28c4ca583db851a5bb658e5b5a77ca5313e794fcf

6cd2c78cbad88a5dd1ef77b2676fe67c8d3f903d2f11283d713eff11c84a7dd9176963fd012246b12

3430c34c23d131cb9a0fc15e0939761e94f9585c2b101f9e2a4474ceec2ff46126c623492979fd3d54afb6f5369f2d8e92bc649db57

691d1510234352686699e583f02747c26a8175a1239768d789a687a73beff97cb747534

9e11b231050b5d3273bc8ea2aa3b90ec15895b7122d5c4f31d6

4f697a9476daff5ee9b5e31b6a812a174b5ee

5d199d2cec32c58b3d59cc46311a76c2789e80be6804628e936156b28b697fc465b449fbf455bbf6aea7d24687155364a8fedcb

513532a7f4e3fc76b393

6f5b9b84d6bafa74455c29f93a7

228e1443ebbb896a4c1d34bb569d97c617bdc5ab712ccb9c2bd6aef52dcc2573a6c3f430f41d1476

b61c37b4609c7aaff228f71e44e5198edbeeb0467ca1e5

a0e5ab116388d9526beda935d01eb2eed9d364d498715cafcc9fb6a4c5eeb2e3ed97e99c212ec6b6e70d192579d4280

ee838f6b484ec4ffa13135bb44207c5ab541547e3bafd45fbab019b61c4c3edfe1535b8491d9c8b9e3392912d3a671e694c636058d94a69

f256291960392b6952bfa925b4862d21456b608171ee77351ddc561124b16184

4b1e93d0b271139cd832fbc9e93976cc67147881c169b120c44c46eb6dde65e017b1413624688bd22bc1bead4fbb28a7decc71168a9ac3d

ec8ae4595483199eac7ddb7a3

6d95341ca649dd256657b6b4b3e75e82896eb3c2851cc6d7fc4434f7c9b33a17d6c7237615d11901cfba8a0e7ab14f686ee600aa1f2e4e801eb2fa

2c5b32677fe6d5d84d13b12d1179bad1dbaeda8b011cb23a159547ee2d2e71a914fb8202e3cc66d78aec21efaef7a456787f

88c55a116a6d3b0838768c83570a6944e4a9365cde11f196313c19f51c43dc97ac675c72d2a66852d332a44f17efb24e333c33f886fcc15b

eae35cb8b7af4846d27186efe9d0511d1b1e357a599c9d215135e6628be80

621f8168c2a8f8d2722bb73911c

e81ecb82c59b95d5b7db4624179869eea1fa83ee645d7caa18d07c76bfd64f599b98c75b77b17bbe1739d145c66b66eb6ceae5b2d3a

4af01ef0c595b14bfc7a364b55f16b47955554cab73893a975274011bf54a5bc1c2e746cbe9e649585d18e535449407c4a742e706eac63d8

ab2da678c9231eb91668d

73b34a136f4f3913273dddd1d55e2b532843b7ab555e32138822ec66c8ebbe0dfeb996a127d23bbf7b

69cddef1e

e7a31c5875a46331206fd26b5d3af2e0b46684847ba34a594749cf375e48445f63d58d9f3cb2a39e0371fce

74aa1822618

6f88207dba66bfab1fec36e38436673d6c52e868ae43a89f475342d5ba5a54c0

43e3f1bc5ab33ea35be5ccc7f2e749571ad111fbf77497f2d765303fffd4a75a99fbc78139829bbef9ef

9b1ba890f78f1ac04b1ad8eb34f8a47fc785804e5bf9eed657a99a5fe8f1e7505146d2d651f7a10dc

2ebfb0f52cdfa935b5e8ed636b5224eba03367fda01443595ec2

1213ffdbc241dab0d7f75ba7d0b534649780d25b88

08314969c954c1987c09ce7f242ffc929e42aa5b697faaafa7b255bb40e77413a5

89cc73b1a6bc534c7709f1720f348273acc5c742304a84d12aa9c8657e70a8a64e186e758b4a8e7ffa8bc7b7870ec72d6d4b213b3160d11c44b23ce

e568c795a887bd8b653a5d4f756cda3b4913546d2d771238392119e54129890a74cb36f020e0f158f64d21b35ac619

5a46e42e4298efc7dfca87512ccbc128bf9c8a5489968179f6fcc847107b81961b33a3a84a95cdcd275d3e56181cb6f4f72ff50

ef6949ea1995ea833d39fff4daa8c9d653da1bca74535a96c75ab2e55831dc79a1c447b11d834c8e44343fc35df37662d5

7222501bd0bc70b89dc19e4ca62a361df2f3c3184kk6665ff5c2efae68d3c4bf6ec9f7f81df27f3539807b6a8fd3a1a73c49e26a3f14ce6b7c5

8d3617fa

ed72c235e7363d26b8d30162b92ee864ba3ed061b08fa4374aea75

3d651133951ca66c1acfdd8ea0d4c0c36bbf9a

76a6307b98a1d610be845e2126946f3acf84c3b1f3589d2fe22bc6b9761fcae82d429bc86a22fa93f37c3838594453bff28b1c

6469779815d4726536f4d5adb6417985b4314e

c33b4b3f7765b48669eaefbfd2fae55d6c886e5f6ef488555b95cac944b50442d7c5e2a04bccc38025e4451d8e5392423

1550c36a3201be3345f307150de6e4cb588536215642c1e506a134cb37edee3733607c293f763430c9cd29696910

32dae997cf77da42171e628325b5c7279c5773ad3840f1fc26a469cf2380ab86e8f4

945f06fdb25d6bbafa1bbca538f12ffe013efbcf14e80c018834baeccdb6538aebacc28124dbadbcab680727124d6

6f34afc235e0c6efb5aa1c7a96df0ed24535d704445eaee9efe1d31e852427173832c

abbab134b376ba4de8f4cf88b987f09b342b1bc49e365da6dc9ef37387

51cbc9d01a33b473e5a0296b2e22a

6e6b97e8675d6550e4deaf1d23d14764af77a7b9493f268361b0af5cdefa2e6956f29cce83393bee2a2813bf6f5b96019

a4277c1af6c4ba74fde9a946ff165b46e2befb0e

67c6b4c613311107e

16674168d95b6289c8bbf11d2b47b08bd4fa1dfa523a734c86caa566f6e73fc8825207d97ba7124a2247e827ddd4cdb3c8fb88acdcb9b32e4b7a798

aeae

446121ed8c97b2313cf872a727ee

cd41198591cad940e890c2a22a239a6c3148947aa58f9f37d329b0cd6dec86489f78e8063735bfe

[INFO]  Product Info: i.MX6Q/D/S

====== VPUENC: 4.0.3 build on Mar  1 2016 11:13:20. ======

        wrapper: 1.0.58 (VPUWRAPPER_ARM_LINUX Build on May  3 2016 12:43:46)

        vpulib: 5.4.28

        firmware: 3.1.1.46063

[INFO]  ringBufferEnable 0, chromaInterleave 0, mapType 0, linear2TiledEnable 0

50486eca00000

50486eca000000732600155f33ce1c02d5af81ca0cd413fd611c7573657232

 

(test-video:747): GStreamer-WARNING **: Trying to set string on structure field 'cname', but string is not valid UTF-8. Please file a bug.

50486eca00000073c400078f391042025cb481ca0cd413fd611c757365723233323436303131353440686f73742d

 

(test-video:747): GStreamer-WARNING **: Trying to set string on structure field 'cname', but string is not valid UTF-8. Please file a bug.

50486eca00000074c50013ff3f358023cdd81ca0cd413fd611c757365723233323436303131353440686f73742d6331666666333037694753747265616d6572000374e2311d35f9af1c5d7f5a74170418390ada5c

ERROR: v4l2 capture: mxc_v4l_dqueue() interrupt received

PU: Power-off latency exceeded, new value 27667 ns

 

Segmentation fault

 

 

Thanks & Regards

veeranjaneyulu

Original Attachment has been moved to: 0001_imx6-zcam-openssl_with_caam_support.patch.zip

Original Attachment has been moved to: 0001_imx6_zcam_libsrtp_hardware_caam_support.patch.zip

0 Kudos
Reply
5 Replies

9,498 Views
igorpadykov
NXP Employee
NXP Employee

Hi veeranjaneyulu

for "power-off latency exceeded" error please look at

http://permalink.gmane.org/gmane.linux.drivers.devicetree/61770

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

9,498 Views
864535720
Contributor II

hi,igorpadykov

I also encountered a problem with power outage delay: PU: Power-on latency exceeded, new value 2224666 ns
The link you gave in the post is invalid:http://permalink.gmane.org/gmane.linux.drivers.devicetree/61770
can you update the link?

look forward to your reply

0 Kudos
Reply

9,498 Views
veeranjaneyulug
Contributor III

Thanks igor ,

But we are using linux kernel version 3.14.28 actually your suggestion is suitable for 3.0.35 version right?

That power latency issue got some times only not frequent.But we got frequent error is segmentation fault.

flow is :

test-video===>libgstsrtp===>libsrtp===>openssl==>cryptodev===>hardware caam.

we added some engine support code below source files

1.libsrtp source crypto/cipher/aes_icm_ossl.c file

2.openssl also added some support code in crypto/engine/eng_cryptodev.c

3.crypo-modules also added some code in crypto/engine/eng_cryptodev.c

we run gstreamer1.0-rtsp-server's test application test-video on target board.But streaming happening ,after min 6 six seconds video closed and given segmentation fault.At that time we checked cpu % with cam support is 3% and with out caam support 20%.with software srtp streaming continuously working with test-video .Same test-video application used but in place of software libsrtp we used hardware libsrtp with cryptodev.This time only give segmentation fault ,mxc_v4l2_capture_dequeue_interrupt received,some time test-video double free error gave.

I'm in confusion which one gave segmentaion fault .either gstreamer test-video or libsrtp i dont know .

Thanks & Regards

veeranjaneyulu

0 Kudos
Reply

9,498 Views
letan
Contributor III

Did you solve the issue?

I run into the same problem.

0 Kudos
Reply

9,498 Views
igorpadykov
NXP Employee
NXP Employee

are you able to reproduce that on Sabre board?

In general one can debug it using AN4553

http://cache.nxp.com/files/32bit/doc/app_note/AN4553.pdf

~igor

0 Kudos
Reply