FSL_shw returns error code 1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FSL_shw returns error code 1

1,617 次查看
MichaelMcCarty
Contributor II

I'm using a custom iMX.51 board that uses the digi connect core (Wi-iMX51). 

I'm trying to use the sahara api and linux. I've reduced the code down to the bare minimum but it always returns a 1 which is unspecified error. I define the platform as "CONFIG_ARCH_MX5" 

code = fsl_shw_register_user(my_ctx);

printf("Finished, Code: 0x%X", code);

Anyone have a clue ? 

标记 (1)
0 项奖励
回复
2 回复数

1,465 次查看
MichaelMcCarty
Contributor II

Never mind I got it figured out. I just needed to setup everything right, meaning load the modules. 

0 项奖励
回复

1,465 次查看
shashankpathak
Contributor II

Hi Michael,

I want to test sahara on imx51.

I referred the PDF file at below location,

read.pudn.com/downloads137/sourcecode/embed/588140/mx27_linux.pdf

But i am not able to get "User-Mode API Library (and test code)".

It is mentioned that it is located at location "LINUX2.6/misc/lib/sahara2", but i can not find it.

Can you guide me from where can i get this test_code?

or

How can i test or use sahara driver for encryption?

Thanks,

Shashank.

0 项奖励
回复