On link https://www.kernel.org/doc/Documentation/gpio/sysfs.txt it is talked about gpio
It has comments: Note that standard kernel drivers exist for common "LEDs and Buttons" GPIO tasks: "leds-gpio" and "gpio_keys", respectively. Use those instead of talking directly to the GPIOs; they integrate with kernel frameworks better than your userspace code could. What category does GPIO in BeagleBone Black belong to? What is about the built-in GPIO in my AM3358 SK board? Thanks, On Mon, Sep 7, 2015 at 10:19 AM, RJ Wang <rxjw...@gmail.com> wrote: > Thanks. I just got feedback from e2e forum. GPIO is built in on my board. > I know loadable module but not built-in module. > I have not found any info on built-in module. > Do you know where I can learn on built in module? > > Thanks, > > On Mon, Sep 7, 2015 at 9:20 AM, RJ Wang <rxjw...@gmail.com> wrote: > >> It looks like the question is not related to NFS. When I use sdcard file >> system. It still has no gpio module. See below please. >> Thanks, >> >> root@am335x-evm:~# lsmod >> Module Size Used by >> bufferclass_ti 5396 0 >> omaplfb 12042 1 >> musb_dsps 7319 0 >> musb_hdrc 54316 1 musb_dsps >> snd_soc_evm 5589 0 >> pvrsrvkm 177007 6 bufferclass_ti,omaplfb >> wlcore_sdio 5153 0 >> compat 2624 1 wlcore_sdio >> cryptodev 32483 1 >> lis3lv02d_i2c 3153 0 >> lis3lv02d 14936 1 lis3lv02d_i2c >> snd_soc_tlv320aic3x 40349 1 >> input_polldev 3345 1 lis3lv02d >> snd_soc_davinci_mcasp 15606 2 >> musb_am335x 1217 0 >> root@am335x-evm:~# >> >> On Mon, Sep 7, 2015 at 8:49 AM, RJ Wang <rxjw...@gmail.com> wrote: >> >>> Hi, >>> >>> The lsmod online help says it reads /proc/modules. >>> >>> The SK board is using NFS TFTP, see below please. >>> >>> >>> root@am335x-evm:~# cat >>> /proc/cmdline >>> console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.0.109: >>> /home/u64rj/ti-proces >>> sor-sdk-linux-am335x-evm-01.00.00.03/targetNFS,nolock rw >>> ip=dhcp >>> root@am335x-evm:~# >>> lsmod >>> Module Size Used >>> by >>> bufferclass_ti 5396 >>> 0 >>> omaplfb 12042 >>> 1 >>> musb_dsps 7319 >>> 0 >>> musb_hdrc 54316 1 >>> musb_dsps >>> snd_soc_evm 5589 >>> 0 >>> wlcore_sdio 5153 >>> 0 >>> pvrsrvkm 177007 6 >>> bufferclass_ti,omaplfb >>> compat 2624 1 >>> wlcore_sdio >>> lis3lv02d_i2c 3153 >>> 0 >>> lis3lv02d 14936 1 >>> lis3lv02d_i2c >>> snd_soc_tlv320aic3x 40349 >>> 1 >>> input_polldev 3345 1 >>> lis3lv02d >>> cryptodev 32483 >>> 1 >>> musb_am335x 1217 >>> 0 >>> snd_soc_davinci_mcasp 15606 2 >>> >>> >>> On host Ubuntu PC folder: >>> /home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/targetNFS/proc, >>> there is no file at all. Where is the above lsmod content from? >>> Thanks, >>> >>> On Mon, Sep 7, 2015 at 8:38 AM, RJ Wang <rxjw...@gmail.com> wrote: >>> >>>> The board is from TI, Sitara AM335(9?) Starter Kit board. There are two >>>> GbE (Ethernet) ports on the board. Thanks >>>> >>>> On Mon, Sep 7, 2015 at 8:32 AM, RJ Wang <rxjw...@gmail.com> wrote: >>>> >>>>> The SDK is a rather new one from TI. It is released this year. The >>>>> kernel is this one: >>>>> >>>>> am335x-evm login: >>>>> root >>>>> root@am335x-evm:~# uname >>>>> -r >>>>> 3.14.43-g875c69b >>>>> >>>>> Thanks, >>>>> >>>>> On Mon, Sep 7, 2015 at 12:35 AM, William Hermans <yyrk...@gmail.com> >>>>> wrote: >>>>> >>>>>> *Yes, your post: * >>>>>>> *leds_gpio 3186 0* >>>>>>> >>>>>>> *is what I want. I don't know why my board has no such module.* >>>>>>> >>>>>>> *For whats it's worth though none of the modules you have loaded >>>>>>> resemble those that a beaglebone has loaded.* >>>>>>> >>>>>>> *You think my board does not load leds? I have been supposing that >>>>>>> Sitara board SK is similar to BeagleBone Black. It has 5 LEDS D1--D5, >>>>>>> quite >>>>>>> similar to BBB.* >>>>>>> >>>>>>> *Thanks,* >>>>>> >>>>>> >>>>>> As Robert says, we do not know what kernel you're running. For that >>>>>> matter, we really have no idea what rootfs you're running either. We do >>>>>> not >>>>>> even know if its ubuntu, debian, or Angstrom*cough*. >>>>>> >>>>>> So assuming best case scenario it's debian, and some form of 3.8.x >>>>>> kernel. If it does not use the same modules, then it is quite different. >>>>>> >>>>>> Also, which board is this ? The original dual GbE ethenet board ? >>>>>> >>>>>> -- >>>>>> For more options, visit http://beagleboard.org/discuss >>>>>> --- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "BeagleBoard" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/beagleboard/GoYJdV9MI3c/unsubscribe >>>>>> . >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> beagleboard+unsubscr...@googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>> >>> >> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.