exporting GPIO through SYSFS

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

exporting GPIO through SYSFS

1,461 Views
danix
Contributor III

Hey all,

 

I have been working on my custom board with imx233. During the boared design, I made some imx pins (as GPIO) to control other components on board.

 

The imx wiki page has all the instruction on how to use GPIOs in the user space on the following link:

http://www.imxdev.org/wiki/index.php?title=FAQ_ALL_BOARDS_GPIO_TEST

 

But there is no option, or I can't see,  in LTIB config that allows to configure SYSFS

I mean I can't see this

Device Drivers --->
      --- GPIO Support
            [*] /sys/class/gpio/... (sysfs interface)

as mentioned in the wiki

so, how do I configure LTIB to export GPIO thru SYSFS?
Tags (1)
0 Kudos
6 Replies

916 Views
MarianoGoluboff
Contributor III

I had the syntax wrong, by the way. Try:

 

%http_proxy

http://proxy.server:port

 

%gpp_proxy

1

 

 

If this still doesn't work, post your .ltibrc here. Also, can you ping bitshrine.org? Does network connectivity still fail if you do: ./ltib --dltest

0 Kudos

916 Views
danix
Contributor III
yes I did that, but no effect
0 Kudos

916 Views
MarianoGoluboff
Contributor III

Hi Daniel,

Did you add these two lines to .ltibrc:

%http_proxy=proxy.server:port

%proxy=1

 

Mariano

0 Kudos

916 Views
danix
Contributor III

Thank you guys,

 

Another problem is, LTIB can't download packages either from the GPP or PPP; it always reports "No network connection is  available to download.."  I tried to edit the proxy in .ltibrc, but didn't help

 

can you tell me how can I enable LTIB to access the PPP/GPP. I'm using proxy to connect to the Internet

0 Kudos

916 Views
fabio_estevam
NXP Employee
NXP Employee

Daniel,

 


Mariano is correct. This is a kernel configuration option.

 

Regards,

 

Fabio Estevam

0 Kudos

916 Views
MarianoGoluboff
Contributor III

Hi Daniel,

 

I haven't double checked this (I will in a few hours if this doesn't help you), but I believe that's a kernel option. So to change that, in LTIB you'd need to check the box to re-configure the kernel.

 

Then once LTIB starts building, it'll bring up the kernel menuconfig, and then you'll be able to find this option there.

 

Mariano

0 Kudos