FSL_shw returns error code 1

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

FSL_shw returns error code 1

1,027 Views
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 ? 

Tags (1)
0 Kudos
Reply
2 Replies

875 Views
MichaelMcCarty
Contributor II

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

0 Kudos
Reply

875 Views
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 Kudos
Reply