BSC9131 RDB: Accessing GPIO via Linux

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

BSC9131 RDB: Accessing GPIO via Linux

ソリューションへジャンプ
1,895件の閲覧回数
rcreddy
Contributor III

Hi All,

        By means of this below post on forum

https://community.freescale.com/message/254497#254497

I am able to understand how to enable GPIO pin to be accessed at Linux. But, i am not sure of which file to modify. If you look at the above link, there is specific file which needs tobe modified.

Can somebody please let me know which file to modify [I am working on BSC9131 RDB].

Also, wanted to know what other options do i have to access GPIO apart from the method stated above [in the weblink].

Thanks

RC Reddy

0 件の賞賛
返信
1 解決策
1,702件の閲覧回数
Pavel
NXP Employee
NXP Employee

Freescale SDK supports sysfs possibility for GPIO using from user space.

Usually sysfs is used for GPIO. See the following pages (http://elinux.org/GPIO) and (https://www.kernel.org/doc/Documentation/gpio/sysfs.txt).

Usually mmap possibility of the Linux is used for accessing to GPIO.

See the following pages:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F4482872.html

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F4482887.html

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,702件の閲覧回数
rcreddy
Contributor III

Hi Freescale team,

                          I am awaiting your response/reply. Kindly answer.

Thanks

RC Reddy

0 件の賞賛
返信
1,703件の閲覧回数
Pavel
NXP Employee
NXP Employee

Freescale SDK supports sysfs possibility for GPIO using from user space.

Usually sysfs is used for GPIO. See the following pages (http://elinux.org/GPIO) and (https://www.kernel.org/doc/Documentation/gpio/sysfs.txt).

Usually mmap possibility of the Linux is used for accessing to GPIO.

See the following pages:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F4482872.html

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F4482887.html

0 件の賞賛
返信
1,702件の閲覧回数
rcreddy
Contributor III

Hi,

    Thanks for your reply.

Thanks

RC Reddy

0 件の賞賛
返信