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.

filesystem support for dm385 ipncrdk3.8?

Other Parts Discussed in Thread: DM385, WL1271

Hi guys,

               well i have a custom dm385 board, I have already tried ipnc rdk3.5 but due to some issue it is not performing as expected(mainly wifi). at the same I have tried dm385cbb but same issue.

Now i have taken ipncrdk3.8 kernel from

git://arago-project.org/git/projects/linux-ipnc-rdk-dm81xx.git

and uboot

git://arago-project.org/git/projects/u-boot-ipnc-rdk-dm81xx.git


i have cross compiler toolchain, i can build and customize but i need to know about the filesystem. where can i get. which version i need to use. if i'm able boot and apply wifi patches it worked then my company will officially ask for total ipnc rdk3.8 from TI.

one last thing can we ipncrdk3.5 ti_tools with 3.8?.

regards,

Ganesh

  • Hello,

    I will notify the IPNC team for help.

    BR
    Margarita
  • Hi , thanks for your response. i need one more help.

    with respect above mention link. i want to apply wifi patches from below link

    processors.wiki.ti.com/index.php

    can i get a proper procedure to build wifi with respect RDK3.8 kernel if you have any new link which can be helpful to me. because i have tried above wifi procedure with RDK3.5d but it is unsuccesfull. all modules are loading but i'm not getting wlan0 interface.

    i'm using Jorgin WG7833-B0 wifi chipset.

    regards,
    ganesh
  • Hello,

    Check this thread hope it helps:
    e2e.ti.com/.../1921713

    You also could post in our wifi forum:
    e2e.ti.com/.../307

    BR
    Margarita
  • Hi , thanks for the link but you revert back same link which i have posted above. please check the first reply Margarita from me.

    regards,
    Ganesh
  • Hi,

    Check the below command to confirm whether you are getting WLAN0 interface
    ifconfig -a

    If its available in the list, you need to up it through the below command. Change command according to the interface.
    ifconfig WLAN0 up

    if its not available in the list, make sure that wifi is clean build.

    Issue may be in source. if it is there then please post the same query in WIFI forum (WiLink™ WiFi + Bluetooth Forum.

    Regards
    Gajanan
  • Hi , we are not getting wlan0 interface. i posted WIFI forum too but not much help.

    anyhow i'm posting what are the thing i have done so far what i'm getting.

    udevadm control --log-priority debug

    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/ipv6.ko
    NET: Registered protocol family 10
    KERNEL[1408532963.098189] add      /module/ipv6 (module)
    <6>NET: Registered protocol family 10
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/ipv6
    SUBSYSTEM=module
    SEQNUM=763

    KERNEL[1408532963.100026] add      /kernel/slab/TCPv6 (slab)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/kernel/slab/TCPv6
    SUBSYSTEM=slab
    SEQNUM=764

    KERNEL[1408532963.100154] add      /kernel/slab/tw_sock_TCPv6 (slab)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/kernel/slab/tw_sock_TCPv6
    SUBSYSTEM=slab
    SEQNUM=765

    KERNEL[1408532963.100270] add      /kernel/slab/UDPv6 (slab)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/kernel/slab/UDPv6
    SUBSYSTEM=slab
    SEQNUM=766

    KERNEL[1408532963.100382] add      /kernel/slab/UDPLITEv6 (slab)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/kernel/slab/UDPLITEv6
    SUBSYSTEM=slab
    SEQNUM=767

    KERNEL[1408532963.100495] add      /kernel/slab/:t-0000640 (slab)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/kernel/slab/:t-0000640
    SUBSYSTEM=slab
    SEQNUM=768

    root@dm814x-evm:~# UDEV  [1408532963.109233] add      /kernel/slab/UDPLITEv6 (slab)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/kernel/slab/UDPLITEv6
    SUBSYSTEM=slab
    SEQNUM=767

    UDEV  [1408532963.112189] add      /kernel/slab/UDPv6 (slab)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/compat/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/ipv6.ko
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/compat/co
    mpat.ko
    Loading modules backported from Linux version R8.4-0-gd03410c
    Backport generated by backports.git R8.4-0-g0d46f43
    KERNEL[1408532976.043622] add      /module/compat (module)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/compat
    SUBSYSTEM=module
    SEQNUM=769

    UDEV  [1408532976.046020] add      /module/compat (module)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/module/compat
    SUBSYSTEM=module
    SEQNUM=769

    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/mac80211/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/wireless/
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/wirel
    ess/cfg80211.ko
    PM: Adding info for platform:regulatory.0
    KERNEL[1408532990.257624] add   cfg80211: Calling CRDA to update world regulatory domain
       /module/cfg80211 (module)
    <7>PM: Adding info for platform:regulatory.0
    root@dm814x-evm:~# UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/cfg80211
    SUBSYSTEM=module
    SEQNUM=770

    KERNEL[1408532990.293332] add      /class/ieee80211 (class)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/class/ieee80211
    SUBSYSTEM=class
    SEQNUM=771

    UDEV  [1408532990.293464] add      /module/cfg80211 (module)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/module/cfg80211
    SUBSYSTEM=module
    SEQNUM=770

    KERNEL[1408532990.293593] add      /devices/platform/regulatory.0 (platform)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/devices/platform/regulatory.0
    SUBSYSTEM=platform
    MODALIAS=platform:regulatory
    SEQNUM=772

    UDEV  [1408532990.293720] add      /class/ieee80211 (class)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/class/ieee80211
    SUBSYSTEM=class
    SEQNUM=771

    KERNEL[1408532990.293848] change   /devices/platform/regulatory.0 (platform)
    UDEV_LOG=3
    ACTION=change
    DEVPATH=/devices/platform/regulatory.0
    SUBSYSTEM=platform
    COUNTRY=00
    MODALIAS=platform:regulatory
    SEQNUM=773

    UDEV  [1408532990.293982] add      /devices/platform/regulatory.0 (platform)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/devices/platform/regulatory.0
    SUBSYSTEM=platform
    MODALIAS=platform:regulatory
    SEQNUM=772

    cfg80211: World regulatory domain updated:
    cfg80211:  DFS Master region: unset
    cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    <6>cfg80211: World regulatory domain updated:
    <6>cfg80211:  DFS Master region: unset
    <6>cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    <6>cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    <6>cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    <6>cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    <6>cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    <6>cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    <6>cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    UDEV  [1408532990.470487] change   /devices/platform/regulatory.0 (platform)
    UDEV_LOG=7
    STARTUP=1
    ACTION=change
    DEVPATH=/devices/platform/regulatory.0
    SUBSYSTEM=platform
    COUNTRY=00
    MODALIAS=platform:regulatory
    SEQNUM=773


    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/mac80
    211/
    insmod: can't read '/lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/mac80211/': Is a directory
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/mac80
    211/mac80211.ko
    KERNEL[1408533005.084862] add      /module/mac80211 (module)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/mac80211
    SUBSYSTEM=module
    SEQNUM=774

    UDEV  [1408533005.087085] add      /module/mac80211 (module)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/module/mac80211
    SUBSYSTEM=module
    SEQNUM=774

    root@dm814x-evm:~#
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/compat/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/ipv6.ko
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/net/
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/n
    et/wireless/ti/wl
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wl12xx/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wl18xx/
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wlcore/
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/n
    et/wireless/ti/wlcore/wlcore
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wlcore/wlcore.ko
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/n
    et/wireless/ti/wlcore/wlcore
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wlcore/wlcore.ko
    /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/n
    et/wireless/ti/wlcore/wlcore.ko
    KERNEL[1408533021.314919] add      /module/wlcore (module)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/wlcore
    SUBSYSTEM=module
    SEQNUM=775

    UDEV  [1408533021.317138] add      /module/wlcore (module)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/module/wlcore
    SUBSYSTEM=module
    SEQNUM=775

    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/n
    et/wireless/ti/wl18xx/wl18xx.ko
    KERNEL[1408533026.230223] add      /module/wl18xx (module)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/wl18xx
    SUBSYSTEM=module
    SEQNUM=776

    KERNEL[1408533026.231363] add      /bus/platform/drivers/wl18xx_driver (drivers)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/bus/platform/drivers/wl18xx_driver
    SUBSYSTEM=drivers
    SEQNUM=777

    UDEV  [1408533026.233447] add      /bus/platform/drivers/wl18xx_driver (drivers)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/bus/platform/drivers/wl18xx_driver
    SUBSYSTEM=drivers
    SEQNUM=777

    root@dm814x-evm:~# UDEV  [1408533026.236655] add      /module/wl18xx (module)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/module/wl18xx
    SUBSYSTEM=module
    SEQNUM=776


    root@dm814x-evm:~# insmod /lib/modules/2.6.37_DM385_IPNC_3.50.00/extra/drivers/n
    et/wireless/ti/wlcore/wlcore_sdio.ko
    KERNEL[1408533036.112887] add      /module/wlcore_sdio (module)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/module/wlcore_sdio
    SUBSYSTEM=module
    SEQNUM=778

    KERNEL[1408533036.114023] add      /bus/sdio/drivers/wl1271_sdio (drivers)
    UDEV_LOG=3
    ACTION=add
    DEVPATH=/bus/sdio/drivers/wl1271_sdio
    SUBSYSTEM=drivers
    SEQNUM=779

    UDEV  [1408533036.116060] add      /module/wlcore_sdio (module)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/module/wlcore_sdio
    SUBSYSTEM=module
    SEQNUM=778

    root@dm814x-evm:~# UDEV  [1408533036.119108] add      /bus/sdio/drivers/wl1271_sdio (drivers)
    UDEV_LOG=7
    STARTUP=1
    ACTION=add
    DEVPATH=/bus/sdio/drivers/wl1271_sdio
    SUBSYSTEM=drivers
    SEQNUM=779


    lsmod
    Module                  Size  Used by
    wlcore_sdio             3838  0
    wl18xx                 80096  0
    wlcore                166193  1 wl18xx
    mac80211              312914  2 wl18xx,wlcore
    cfg80211              177855  3 wl18xx,wlcore,mac80211
    compat                 16371  5 wlcore_sdio,wl18xx,wlcore,mac80211,cfg80211
    ipv6                  212918  9 mac80211
    syslink               775446  0



    ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 20:C3:8F:1A:71:7E  
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:40

    lo        Link encap:Local Loopback  
              LOOPBACK  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



    regards,
    Ganesh

  • Hi Ganesh,

    Check these below file if exist in ur filesys::
    ./target/filesys/opt/ipnc/wlan_AP_demo.sh
    ./target/filesys/etc/hostapd.conf
    ./target/filesys/etc/udhcpd.conf
    Plz cross verify the ip assigned to wlan0 and run the wlan script.

    Regards
    Gajanan
  • Hi , thanks for your help. my wifi working properly it was patch issue. irq was not configured in patch properly.