This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Why cannot I see the GPIO module in the Sitara SK board with the newest processor SDK?

Other Parts Discussed in Thread: AM3359

Hi,

I have a Sitara AM3359 SK board. The SDK is the new ti-processor-sdk-linux-am335x-evm-01.00.00.03.

When I run lsmod, there is such info:

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 BeagleBone website, some posts say they have a gpio module when run lsmod command. Why is it different for Sitara SK board?
The LEDS works as I can see it flashes, but I don't see it above in the modular list. What category is the LEDS in the driver modules?

Thanks,

  • 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,

  • Jeff,

    To see GPIO as a module with lsmod, you should build and loaded it as a module (.ko file). Refer to the below links for more details:

    processors.wiki.ti.com/.../Processor_SDK_Linux_GPIO_Driver_Overview
    processors.wiki.ti.com/.../Linux_PSP_GPIO_Driver_Guide
    www.kernel.org/.../modules.txt

    BR
    Pavel