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.

AM335x Starter Kit wlan0 support

Other Parts Discussed in Thread: AM3352, TPS65910

Hi,

I am using AM335x Starter Kit, it has onboard Wi-Fi support as it was working with older version SDK.

Now I am using images complied from latest SDK and linux code from 04.01.00.06 downloaded from here and it seem this build dont have Wi-Fi support

My questions are as below 

1. How to find which chip is install on HW, is it wl12xx or wl18XX

2. how to include Wi-Fi support with this new SDK 

  • Hi,

    AFAIK the am335x SK has a wl12xx module installed on it.
    while wl12xx is not officially supported in new SDK releases, i belive the .dts file should have the related device nodes and the 4.9.x kernel does include support for wl12xx.

    See the following .dts file:

    git.ti.com/.../am335x-evmsk.dts

    Is this the .dtb file you are building an using?

    BR,
    Eyal

  • yes file is same as per my source folder

    I like to request you to verify my build steps and module installation, I think steps sequence may have issue

    echo '** Start of Script **'
    export PATH=~/home/sdkuser/ti-processor-sdk-linux-am335x-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
    export ARCH=arm
    export CROSS_COMPILE=arm-linux-gnueabihf-
    make clean

    echo '** start building modules **'
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules

    echo '** start building kernal **'
    make -j4 zImage
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-evmsk.dtb

    echo '** Start image Copy **'
    sudo cp arch/arm/boot/zImage /tftpboot
    sudo cp 'arch/arm/boot/zImage' '/media/sdkuser/rootfs/boot'
    sudo cp 'arch/arm/boot/dts/am335x-evmsk.dtb' '/media/sdkuser/rootfs/boot'
    echo '** End Copy **'
    echo '** Start module installation **'
    sudo make ARCH=arm INSTALL_MOD_PATH='/media/sdkuser/rootfs/boot' modules_install
    echo '** End module installation **'
  • Yes, this seems logical to me.
    Can you share the full kernel boot log? Are you seeing the wl12xx module being detected on the SDIO bus?

    Best Regards,
    Eyal
  • No, wl12xx module is not seen in boot log, but it is there in kernel version 3.2

    I checked tisdk_am335x-evm_defconfig file and and found "CONFIG_WL12XX=m"  but not sure what else need to enable for wl12xx, WEXT driver for this linux version

  • AFAIK WEXT is deprecated and is not used with latest versions.
    But you should still see the driver loading.
    Can you share your full kernel boot log (dmesg) and your kernel .config?

    BR,
    Eyal
  • This is prebuild image bootlog, I am not able to build kernel from source code comes with SDK "ti-processor-sdk-linux-am335x-evm-04.02.00.09"

    Boot Log
    U-Boot SPL 2017.01-g340fb36f04 (Dec 23 2017 - 10:20:13)
    Trying to boot from MMC1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2017.01-g340fb36f04 (Dec 23 2017 - 10:20:13 -0500)

    CPU : AM335X-GP rev 1.0
    Model: TI AM335x EVM-SK
    DRAM: 256 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    <ethaddr> not set. Validating first E-fuse MAC
    Net: cpsw, usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3621296 bytes read in 440 ms (7.8 MiB/s)
    41541 bytes read in 39 ms (1 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8df19000, end 8df26244 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.59-ga75d8e9305 (gtbldadm@ubuntu-16) (gcc versi7
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [ 0.000000] OF: fdt:Machine model: TI AM335x EVM-SK
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x8a800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES1.0 (sgx neon)
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa0
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=0c5a51t
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 198316K/262144K available (7168K kernel code, 281K rwdat)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
    [ 0.000000] .data : 0xc0c00000 - 0xc0c465d0 ( 282 kB)
    [ 0.000000] .bss : 0xc0c465d0 - 0xc0c8c834 ( 281 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrus
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
    [ 0.000040] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
    [ 0.000051] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000259] clocksource_probe: no matching clocksources found
    [ 0.000452] Console: colour dummy device 80x30
    [ 0.000482] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000491] This ensures that you still see kernel messages. Please
    [ 0.000496] update your kernel commandline.
    [ 0.000521] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [ 0.118933] pid_max: default: 32768 minimum: 301
    [ 0.119078] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119090] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119993] CPU: Testing write buffer coherency: ok
    [ 0.120414] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.121378] EFI services will not be available.
    [ 0.122899] devtmpfs: initialized
    [ 0.137833] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
    [ 0.138236] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [ 0.138267] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.142455] pinctrl core: initialized pinctrl subsystem
    [ 0.143900] NET: Registered protocol family 16
    [ 0.146080] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.162857] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.238932] cpuidle: using governor ladder
    [ 0.268918] cpuidle: using governor menu
    [ 0.276250] OMAP GPIO hardware version 0.1
    [ 0.295514] No ATAGs?
    [ 0.295545] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.338729] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.339994] reg-fixed-voltage fixedregulator2: could not find pctldev for noe
    [ 0.343737] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_we
    [ 0.343919] media: Linux media interface: v0.10
    [ 0.344001] Linux video capture interface: v2.00
    [ 0.344054] pps_core: LinuxPPS API ver. 1 registered
    [ 0.344063] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [ 0.344091] PTP clock support registered
    [ 0.344136] EDAC MC: Ver: 3.0.0
    [ 0.345431] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.345835] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.347241] clocksource: Switched to clocksource timer1
    [ 0.359534] NET: Registered protocol family 2
    [ 0.360420] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.360462] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.360493] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.360576] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.360598] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.360750] NET: Registered protocol family 1
    [ 0.361258] RPC: Registered named UNIX socket transport module.
    [ 0.361275] RPC: Registered udp transport module.
    [ 0.361283] RPC: Registered tcp transport module.
    [ 0.361290] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.362357] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 countee
    [ 0.365125] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.374463] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.375616] NFS: Registering the id_resolver key type
    [ 0.375669] Key type id_resolver registered
    [ 0.375677] Key type id_legacy registered
    [ 0.375728] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.378136] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [ 0.378161] io scheduler noop registered
    [ 0.378170] io scheduler deadline registered
    [ 0.378345] io scheduler cfq registered (default)
    [ 0.379997] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.383751] backlight supply power not found, using dummy regulator
    [ 0.455640] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.460282] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud 0
    [ 1.061766] console [ttyS0] enabled
    [ 1.067472] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.074312] [drm] Initialized
    [ 1.078635] panel panel: found backlight
    [ 1.083661] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.090403] [drm] No driver support for vblank timestamp query.
    [ 1.124253] Console: switching to colour frame buffer device 60x34
    [ 1.132795] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 1.183573] brd: module loaded
    [ 1.194450] loop: module loaded
    [ 1.200567] libphy: Fixed MDIO Bus: probed
    [ 1.277289] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.283467] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [ 1.291143] libphy: 4a101000.mdio: probed
    [ 1.295193] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, drit
    [ 1.304606] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, drit
    [ 1.314818] cpsw 4a100000.ethernet: Detected MACID = 00:18:31:e0:18:f6
    [ 1.321777] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [ 1.328886] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.337425] cpsw 4a100000.ethernet: cpsw: Detected MACID = 00:18:31:e0:18:f7
    [ 1.346374] mousedev: PS/2 mouse device common for all mice
    [ 1.352558] i2c /dev entries driver
    [ 1.358376] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.366208] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.374136] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.383788] NET: Registered protocol family 10
    [ 1.390098] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.397009] NET: Registered protocol family 17
    [ 1.402144] Key type dns_resolver registered
    [ 1.406818] omap_voltage_late_init: Voltage driver support not added
    [ 1.447486] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.455649] vrtc: supplied by vbat
    [ 1.463040] vio: supplied by vbat
    [ 1.468012] vdd1: supplied by vbat
    [ 1.473343] vdd2: supplied by vbat
    [ 1.478497] random: fast init done
    [ 1.483713] vdig1: supplied by vbat
    [ 1.488710] vdig2: supplied by vbat
    [ 1.493709] vpll: supplied by vbat
    [ 1.498603] vdac: supplied by vbat
    [ 1.503473] vaux1: supplied by vbat
    [ 1.508381] vaux2: supplied by vbat
    [ 1.513332] vaux33: supplied by vbat
    [ 1.518423] vmmc: supplied by vbat
    [ 1.523317] vbb: supplied by vbat
    [ 1.528396] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.536114] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.704703] mmc0: host does not support reading read-only switch, assuming we
    [ 1.715037] mmc0: new high speed SDHC card at address aaaa
    [ 1.721851] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
    [ 1.728459] mmcblk0: p1 p2
    [ 1.749403] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/in0
    [ 1.760764] hctosys: unable to open rtc device (rtc0)
    [ 1.766248] omap_hsmmc 481d8000.mmc: card claims to support voltages below de
    [ 1.774901] lis3_reg: disabling
    [ 1.778396] ALSA device list:
    [ 1.778401] No soundcards found.
    [ 1.802624] mmc1: new SDIO card at address 0001
    [ 11.863444] EXT4-fs (mmcblk0p2): recovery complete
    [ 11.870183] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [ 11.878624] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 11.894538] devtmpfs: mounted
    [ 11.902052] Freeing unused kernel memory: 1024K
    [ 12.185156] systemd[1]: System time before build time, advancing clock.
    [ 12.239274] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SE)
    [ 12.258492] systemd[1]: Detected architecture arm.

    Welcome to Arago 2017.10!

    [ 12.298942] systemd[1]: Set hostname to <am335x-evm>.
    [ 12.634231] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown'
    [ 12.971925] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 13.015819] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 13.047949] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 13.077973] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 13.107909] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ 13.148168] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Listening on Syslog Socket.
    [ OK ] Listening on udev Control Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Created slice System Slice.
    Mounting Debug File System...
    Mounting Temporary Directory...
    Starting Journal Service...
    [ OK ] Created slice system-getty.slice.
    Starting Remount Root and Kernel File Systems...
    [ 13.656843] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    Starting Load Kernel Modules...
    [ 13.750527] cryptodev: loading out-of-tree module taints kernel.
    Starting Setup Virtual Console...
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ 13.788172] cryptodev: driver 1.8 loaded.
    [ OK ] Reached target Slices.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Reached target Remote File Systems.
    Starting alignment.service...
    Starting Create Static Device Nodes in /dev...
    Mounting POSIX Message Queue File System...
    [ OK ] Mounted Debug File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Temporary Directory.
    [ OK ] Started Journal Service.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started alignment.service.
    [ OK ] Started Create Static Device Nodes in /dev.
    Starting udev Kernel Device Manager...
    Mounting Configuration File System...
    Starting Apply Kernel Variables...
    Starting udev Coldplug all Devices...
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    Mounting /media/ram...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Mounted Configuration File System.
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Apply Kernel Variables.
    [ 15.117177] systemd-journald[87]: Received request to flush runtime journal 1
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Load/Save Random Seed.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    Starting Update UTMP about System Boot/Shutdown...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Created slice system-systemd\x2dbacklight.slice.
    Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [ OK ] Found device /dev/ttyS0.
    [ 17.078899] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    [ 17.252732] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting uim-sysfs.service...
    Starting Avahi mDNS/DNS-SD Stack...
    [ OK ] Started Kernel Logging Service.
    [ OK ] Started System Logging Service.
    [ OK ] Started D-Bus System Message Bus.
    [ 18.403131] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 18.634034] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 18.707469] omap-aes 53500000.aes: will run requests pump with realtime prioy
    [ 18.838067] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [ 18.900663] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 18.958472] remoteproc remoteproc0: wkup_m3 is available
    [ 19.147622] remoteproc remoteproc0: powering up wkup_m3
    [ 19.159679] PM: Cannot get wkup_m3_ipc handle
    [ 19.243601] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,8
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ 19.412367] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 19.412388] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    Starting Network Service...
    [ 19.554428] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mappk
    Starting Print notice about GPLv3 packages...
    Starting Telephony service...
    [ 19.698543] PM: Cannot get wkup_m3_ipc handle
    Starting Login Service...
    [ OK ] Found device /dev/ttyS3.
    [ OK ] Started Network Service.
    [ 20.856814] net eth1: initializing cpsw version 1.12 (0)
    [ 20.955376] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 20.963505] Bluetooth: Core ver 2.22
    [ 20.963600] NET: Registered protocol family 31
    [ 20.963605] Bluetooth: HCI device and connection manager initialized
    [ 20.963630] Bluetooth: HCI socket layer initialized
    [ 20.963642] Bluetooth: L2CAP socket layer initialized
    [ 20.963682] Bluetooth: SCO socket layer initialized
    [ OK ] Started Telephony service.
    [ 21.662645] cpsw 4a100000.ethernet: ALE Table size 1024
    [ OK ] Started Login Service.
    [ 21.911092] Atheros 8031 ethernet 4a101000.mdio:01: attached PHY driver [Ath)
    [ 22.187901] cpts ptp bc clkid 0
    [ OK ] Reached target Network.
    [ 22.287222] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    Starting Simple Network Management Protocol (SNMP) Daemon....
    [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [ 22.507835] net eth0: initializing cpsw version 1.12 (0)
    Starting Enable and configure wl18xx bluetooth stack...
    [ 22.738362] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Ath)
    Starting Lightning Fast Webserver With Light System Requirements...
    Starting Permit User Sessions...
    [ 23.090978] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 23.141480] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data.
    Starting Network Name Resolution...
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Network Name Resolution.
    [ 24.714553] NET: Registered protocol family 15
    [ OK ] Found device /dev/mmcblk0p1.
    Starting Start USB gadget...
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ OK ] Started Serial Getty on ttyS3.
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Enable and configure wl18xx bluetooth stack.
    [ 26.088538] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow contf
    [ 26.172067] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 26.389166] udc-core: couldn't find an available UDC - added [g_multi] to lis
    [ 26.543620] Initializing XFRM netlink socket
    [ 26.697880] random: crng init done
    [ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [ 30.112810] PM: bootloader does not support rtc-only!
    [ 30.178575] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 30.272130] usbcore: registered new interface driver usbfs
    [ 30.272220] usbcore: registered new interface driver hub
    [ 30.328082] usbcore: registered new device driver usb
    [ 30.525068] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 30.666064] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numb1
    [ 30.668169] hub 1-0:1.0: USB hub found
    [ 30.668226] hub 1-0:1.0: 1 port detected
    [ 30.825077] using random self ethernet address
    [ 30.825085] using random host ethernet address
    [ 30.825125] using host ethernet address: 00:18:31:E0:18:F7
    [ 30.825126] using random self ethernet address
    [ 30.825131] using random host ethernet address
    [ 30.874387] using host ethernet address: 00:18:31:E0:18:F7
    [ 30.874390] usb0: HOST MAC 00:18:31:e0:18:f7
    [ 30.875615] usb0: MAC 46:73:3e:89:5f:cb
    [ 31.074911] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [ 31.075331] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x1
    [ 31.102335] ti-pruss 4a300000.pruss: creating PRU cores and other child plats

    [ 31.104218] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4!
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2017.10 am335x-evm ttyS0

    am335x-evm login: [ 31.104903] irq: no irq domain found for /ocp/pruss_soc_bu!
    [ 31.802793] Mass Storage Function, version: 2009/09/11
    [ 31.847797] LUN: removable file: (no medium)
    [ 31.848161] LUN: removable read only file: /dev/mmcblk0p1
    [ 31.848169] Number of LUNs=1
    [ 31.865175] g_multi gadget: Multifunction Composite Gadget
    [ 31.865186] g_multi gadget: g_multi ready
    [ 31.866452] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 32.014660] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 32.014706] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numb2
    [ 32.028716] hub 2-0:1.0: USB hub found
    [ 32.028774] hub 2-0:1.0: 1 port detected
    [ 32.062866] remoteproc remoteproc1: 4a334000.pru0 is available
    [ 32.062955] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326y
    [ 32.063629] remoteproc remoteproc2: 4a338000.pru1 is available
    [ 32.063702] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326y
    [ 32.322818] g_multi gadget: high-speed config #2: Multifunction with CDC ECM
    [ 46.160290] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    binutils
    cifs-utils
    cpp-symlinks
    cpp
    dosfstools
    g++-symlinks
    g++
    gawk-dev
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    glmark2
    gstreamer1.0-libav
    hidapi
    libcairo-perf-utils
    libgmp10
    libidn11
    libmpc3
    libmpfr4
    libreadline-dev
    libreadline6
    m4-dev
    m4
    make
    nettle
    swig-dev
    swig

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [ 50.638039] hrtimer: interrupt took 188000 ns

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2017.10 am335x-evm ttyS0

    am335x-evm login: root
    root@am335x-evm:~#
  • Hi,

    I do see the wl12xx module being detected on mmc1 on boot in the log above:

    [ 1.802624] mmc1: new SDIO card at address 0001

    What is the output of "lsmod"? Are the mac80211/wl12xx modules loaded?

    BR,
    Eyal
  • No I cannot see mac80211 or wl12xx in output of lsmod

    root@am335x-evm:~# lsmod
    Module Size Used by
    bc_example 7326 0
    pru_rproc 10584 0
    pruss_intc 7163 1 pru_rproc
    pruss 9582 1 pru_rproc
    usb_f_acm 5276 1
    u_serial 11171 3 usb_f_acm
    usb_f_ecm 6492 1
    musb_dsps 9734 0
    musb_hdrc 87874 1 musb_dsps
    usbcore 201869 1 musb_hdrc
    phy_am335x 2372 2
    phy_generic 5372 1 phy_am335x
    phy_am335x_control 2937 1 phy_am335x
    ti_am335x_tsc 6029 0
    sha512_generic 9967 0
    sha512_arm 12252 0
    sha256_generic 10178 0
    sha1_generic 2864 0
    sha1_arm_neon 6261 0
    sha1_arm 3862 1 sha1_arm_neon
    md5 2219 0
    des_generic 17608 0
    cbc 2388 0
    g_multi 6145 0
    usb_f_mass_storage 37218 2 g_multi
    usb_f_rndis 15482 2 g_multi
    u_ether 13001 3 usb_f_ecm,g_multi,usb_f_rndis
    libcomposite 44446 5 usb_f_ecm,usb_f_acm,usb_f_mass_storage,g_multi,s
    udc_core 19450 8 usb_f_ecm,usb_f_acm,usb_f_mass_storage,u_seriale
    usb_common 4737 6 phy_am335x,udc_core,musb_hdrc,libcomposite,musbe
    xfrm_user 22370 2
    xfrm4_tunnel 2040 0
    ipcomp 2257 0
    xfrm_ipcomp 4311 1 ipcomp
    esp4 6402 0
    ah4 5627 0
    af_key 27032 0
    xfrm_algo 6989 5 xfrm_user,esp4,ah4,af_key,xfrm_ipcomp
    bluetooth 337541 2
    snd_soc_simple_card 5844 0
    snd_soc_simple_card_utils 5095 1 snd_soc_simple_card
    pm33xx 6433 0
    wkup_m3_rproc 3670 1
    wkup_m3_ipc 8240 1 pm33xx
    remoteproc 28645 3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
    pvrsrvkm 403500 5 bc_example
    omap_aes_driver 19334 0
    crypto_engine 7098 1 omap_aes_driver
    omap_sham 21950 0
    ti_emif_sram 5663 1 pm33xx
    pruss_soc_bus 4105 0
    wlcore_sdio 6897 0
    snd_soc_tlv320aic3x 48423 1
    musb_am335x 1426 0
    rtc_omap 9662 1
    omap_wdt 4634 0
    ti_am335x_tscadc 6290 1 ti_am335x_tsc
    sch_fq_codel 9115 4
    uio_module_drv 7251 0
    uio 9121 1 uio_module_drv
    cryptodev 38083 1
    root@am335x-evm:~#

  • So, the modules are probably not built...

    How does your .config look like?

    Did you run:
    make ti_sdk_am3x_debug_defconfig

    to create the correct .config before building the kernel/modules?

    Best Regards,
    Eyal
  • No, I compiled kernel by using  tisdk_am335x-evm_defconfig as it is mentioned in Configuring the Kernel with below steps

    # make ARCH=arm CROSS_COMPILE=/home/sdkusr/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- distclean

    # make ARCH=arm CROSS_COMPILE=/home/sdkusr/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_am335x-evm_defconfig

    # make ARCH=arm CROSS_COMPILE=/home/sdkusr/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- zImage

    but not able to build the kernel with modules and DTS files not sure what is wrong.

  • Hi Dattatray,

    There are additional steps in this link.
    What about?:
    processors.wiki.ti.com/.../Linux_Kernel_Users_Guide
    and:
    processors.wiki.ti.com/.../Linux_Kernel_Users_Guide

    You are basically missing:
    make ARCH=arm CROSS_COMPILE=/home/sdkusr/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- modules

    make ARCH=arm CROSS_COMPILE=/home/sdkusr/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am335x-evmsk.dtb

    I believe you have only built the kernel "zImage" but not all the kernel modules and .dtb file.
    Please compile also the modules and use modules_install to install them into your file system as described in this page.

    Best Regards,
    Eyal
  • Hi Eyal,

    Thanks for reply, so I am able to build kernel with modules and install SD card.
    The linux source code is unchanged and below is
    1. bootlog,
    2. lsmod command output
    3. Interface file on board
    4. result of ifup wlan0 command

    Now can you please let me know how to enable wi-fi on AM335x Starterkit

    0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3618720 bytes read in 440 ms (7.8 MiB/s)
    41541 bytes read in 39 ms (1 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8df19000, end 8df26244 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.59-ga75d8e9305 (root@dattatray-XPS14-L) (gcc v8
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [ 0.000000] OF: fdt:Machine model: TI AM335x EVM-SK
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x8a800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES1.0 (sgx neon)
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa0
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=0c5a51t
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 198316K/262144K available (7168K kernel code, 281K rwdat)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
    [ 0.000000] .data : 0xc0c00000 - 0xc0c465d0 ( 282 kB)
    [ 0.000000] .bss : 0xc0c465d0 - 0xc0c8c834 ( 281 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrus
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
    [ 0.000040] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
    [ 0.000052] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000260] clocksource_probe: no matching clocksources found
    [ 0.000453] Console: colour dummy device 80x30
    [ 0.000482] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000490] This ensures that you still see kernel messages. Please
    [ 0.000496] update your kernel commandline.
    [ 0.000521] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [ 0.118929] pid_max: default: 32768 minimum: 301
    [ 0.119073] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119086] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119988] CPU: Testing write buffer coherency: ok
    [ 0.120405] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.121368] EFI services will not be available.
    [ 0.122884] devtmpfs: initialized
    [ 0.137818] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
    [ 0.138220] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [ 0.138252] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.142434] pinctrl core: initialized pinctrl subsystem
    [ 0.143876] NET: Registered protocol family 16
    [ 0.146051] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.162873] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.238931] cpuidle: using governor ladder
    [ 0.268920] cpuidle: using governor menu
    [ 0.276275] OMAP GPIO hardware version 0.1
    [ 0.295581] No ATAGs?
    [ 0.295611] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.338753] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.340019] reg-fixed-voltage fixedregulator2: could not find pctldev for noe
    [ 0.343763] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_we
    [ 0.343943] media: Linux media interface: v0.10
    [ 0.344023] Linux video capture interface: v2.00
    [ 0.344076] pps_core: LinuxPPS API ver. 1 registered
    [ 0.344085] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [ 0.344114] PTP clock support registered
    [ 0.344160] EDAC MC: Ver: 3.0.0
    [ 0.345461] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.345856] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.347251] clocksource: Switched to clocksource timer1
    [ 0.359533] NET: Registered protocol family 2
    [ 0.360420] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.360462] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.360494] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.360573] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.360595] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.360745] NET: Registered protocol family 1
    [ 0.361241] RPC: Registered named UNIX socket transport module.
    [ 0.361256] RPC: Registered udp transport module.
    [ 0.361264] RPC: Registered tcp transport module.
    [ 0.361272] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.362335] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 countee
    [ 0.365111] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.374455] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.375613] NFS: Registering the id_resolver key type
    [ 0.375663] Key type id_resolver registered
    [ 0.375672] Key type id_legacy registered
    [ 0.375726] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.378137] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [ 0.378161] io scheduler noop registered
    [ 0.378170] io scheduler deadline registered
    [ 0.378343] io scheduler cfq registered (default)
    [ 0.380010] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.383768] backlight supply power not found, using dummy regulator
    [ 0.455576] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.460220] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud 0
    [ 1.062038] console [ttyS0] enabled
    [ 1.067737] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.074571] [drm] Initialized
    [ 1.078924] panel panel: found backlight
    [ 1.083968] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.090701] [drm] No driver support for vblank timestamp query.
    [ 1.124549] Console: switching to colour frame buffer device 60x34
    [ 1.133093] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 1.183468] brd: module loaded
    [ 1.194311] loop: module loaded
    [ 1.200412] libphy: Fixed MDIO Bus: probed
    [ 1.277301] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.283482] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [ 1.291189] libphy: 4a101000.mdio: probed
    [ 1.295237] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, drit
    [ 1.304646] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, drit
    [ 1.314872] cpsw 4a100000.ethernet: Detected MACID = 00:18:31:e0:18:f6
    [ 1.321841] cpsw 4a100000.ethernet: device node lookup for pps timer failed
    [ 1.328954] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.337496] cpsw 4a100000.ethernet: cpsw: Detected MACID = 00:18:31:e0:18:f7
    [ 1.346444] mousedev: PS/2 mouse device common for all mice
    [ 1.352631] i2c /dev entries driver
    [ 1.358471] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.366293] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.374256] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.383896] NET: Registered protocol family 10
    [ 1.390215] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.397133] NET: Registered protocol family 17
    [ 1.402253] Key type dns_resolver registered
    [ 1.406924] omap_voltage_late_init: Voltage driver support not added
    [ 1.447506] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.455576] vrtc: supplied by vbat
    [ 1.462967] vio: supplied by vbat
    [ 1.467925] vdd1: supplied by vbat
    [ 1.473251] vdd2: supplied by vbat
    [ 1.478453] random: fast init done
    [ 1.483628] vdig1: supplied by vbat
    [ 1.488598] vdig2: supplied by vbat
    [ 1.493545] vpll: supplied by vbat
    [ 1.498523] vdac: supplied by vbat
    [ 1.503410] vaux1: supplied by vbat
    [ 1.508328] vaux2: supplied by vbat
    [ 1.513285] vaux33: supplied by vbat
    [ 1.518373] vmmc: supplied by vbat
    [ 1.523271] vbb: supplied by vbat
    [ 1.528364] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.536077] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.704707] mmc0: host does not support reading read-only switch, assuming we
    [ 1.715037] mmc0: new high speed SDHC card at address aaaa
    [ 1.721843] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
    [ 1.728466] mmcblk0: p1 p2
    [ 1.749405] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/in0
    [ 1.760776] hctosys: unable to open rtc device (rtc0)
    [ 1.766263] omap_hsmmc 481d8000.mmc: card claims to support voltages below de
    [ 1.774924] lis3_reg: disabling
    [ 1.778422] ALSA device list:
    [ 1.778428] No soundcards found.
    [ 1.800956] mmc1: new SDIO card at address 0001
    [ 1.809480] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [ 1.817930] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.827554] devtmpfs: mounted
    [ 1.832964] Freeing unused kernel memory: 1024K
    [ 2.146083] systemd[1]: System time before build time, advancing clock.
    [ 2.222141] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SE)
    [ 2.241425] systemd[1]: Detected architecture arm.

    Welcome to Arago 2017.10!

    [ 2.278938] systemd[1]: Set hostname to <am335x-evm>.
    [ 2.603068] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown'
    [ 2.936684] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 2.967711] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 2.997561] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 3.030324] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 3.058613] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 3.142418] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Listening on Journal Socket (/dev/log).
    [ OK ] Created slice System Slice.
    Starting Load Kernel Modules...
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ 3.293448] cryptodev: loading out-of-tree module taints kernel.
    [ 3.305825] cryptodev: driver 1.8 loaded.
    [ OK ] Created slice system-getty.slice.
    Starting Remount Root and Kernel File Systems...
    [ OK ] Listening on Process Core Dump Socket.
    [ 3.440956] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    Starting Setup Virtual Console...
    Starting alignment.service...
    [ OK ] Reached target Slices.
    Mounting Temporary Directory...
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    Mounting Debug File System...
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    Starting Create list of required st... nodes for the current kernel...
    [ OK ] Reached target Paths.
    [ OK ] Listening on Syslog Socket.
    Starting Journal Service...
    Mounting POSIX Message Queue File System...
    [ OK ] Mounted Debug File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Temporary Directory.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started alignment.service.
    [ OK ] Started Create list of required sta...ce nodes for the current kernel.
    [ OK ] Started Journal Service.
    Starting Create Static Device Nodes in /dev...
    Starting Flush Journal to Persistent Storage...
    Starting udev Coldplug all Devices...
    Starting Apply Kernel Variables...
    Mounting Configuration File System...
    [ OK ] Mounted Configuration File System.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ OK ] Started Apply Kernel Variables.
    [ 4.640803] systemd-journald[104]: Received request to flush runtime journal1
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    Mounting /media/ram...
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started udev Kernel Device Manager.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Create Volatile Files and Directories.
    Starting Update UTMP about System Boot/Shutdown...
    Starting Network Time Synchronization...
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Created slice system-systemd\x2dbacklight.slice.
    Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [ 7.023058] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ OK ] Found device /dev/ttyS0.
    [ 7.128857] omap_rtc 44e3e000.rtc: already running
    [ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [ 7.211755] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting uim-sysfs.service...
    [ OK ] Started D-Bus System Message Bus.
    [ 8.388006] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 8.571583] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 8.702906] omap-aes 53500000.aes: will run requests pump with realtime prioy
    [ 8.743939] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 8.795813] PM: Cannot get wkup_m3_ipc handle
    [ 8.838878] remoteproc remoteproc0: wkup_m3 is available
    [ 8.847725] remoteproc remoteproc0: powering up wkup_m3
    [ 8.884124] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,8
    [ 8.884407] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 8.884434] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 8.978357] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    Starting Network Service...
    [ 9.501624] PM: bootloader does not support rtc-only!
    Starting Print notice about GPLv3 packages...
    [ 9.549836] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mappk
    [ OK ] Started Kernel Logging Service.
    Starting Telephony service...
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Started System Logging Service.
    [ 9.942366] net eth1: initializing cpsw version 1.12 (0)
    Starting Avahi mDNS/DNS-SD Stack...
    [ 10.032424] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    Starting Login Service...
    [ 10.204491] cpsw 4a100000.ethernet: ALE Table size 1024
    [ OK ] Started Network Service.
    [ 10.408283] Atheros 8031 ethernet 4a101000.mdio:01: attached PHY driver [Ath)
    [ OK ] Found device /dev/ttyS3.
    [ 10.747891] cpts ptp bc clkid 0
    [ 10.755658] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 10.910079] Bluetooth: Core ver 2.22
    [ 10.910175] NET: Registered protocol family 31
    [ 10.910180] Bluetooth: HCI device and connection manager initialized
    [ 10.910204] Bluetooth: HCI socket layer initialized
    [ 10.910216] Bluetooth: L2CAP socket layer initialized
    [ 10.910255] Bluetooth: SCO socket layer initialized
    [ OK ] Started Telephony service.
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ OK ] Reached target Network.
    Starting Permit User Sessions...
    [ 11.850776] net eth0: initializing cpsw version 1.12 (0)
    [ 11.948297] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Ath)
    Starting Network Name Resolution...
    Starting Enable and configure wl18xx bluetooth stack...
    [ 12.214183] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Starting Lightning Fast Webserver With Light System Requirements...
    [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    Starting Simple Network Management Protocol (SNMP) Daemon....
    [ 12.671999] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data.
    [ OK ] Started Network Name Resolution.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Login Service.
    [ 14.639963] NET: Registered protocol family 15
    [ OK ] Started Enable and configure wl18xx bluetooth stack.
    [ OK ] Found device /dev/mmcblk0p1.
    [ 15.288581] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow contf
    [ 15.356397] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Starting Start USB gadget...
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ OK ] Started Serial Getty on ttyS3.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Getty on tty1.
    Starting Hostname Service...
    [ 16.331708] udc-core: couldn't find an available UDC - added [g_multi] to lis
    [ OK ] Started Hostname Service.
    [ 16.503108] Initializing XFRM netlink socket
    [ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
    [FAILED] Failed to start Start USB gadget.
    See 'systemctl status gadget-init.service' for details.
    [ 18.811501] random: crng init done
    [ 20.037727] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [ 20.126054] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x1
    [ 20.303483] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 20.326263] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 20.467885] usbcore: registered new interface driver usbfs
    [ 20.467974] usbcore: registered new interface driver hub
    [ 20.468130] usbcore: registered new device driver usb
    [ 20.672903] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 20.672948] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numb1
    [ 20.724244] hub 1-0:1.0: USB hub found
    [ 20.724303] hub 1-0:1.0: 1 port detected
    [ 20.849589] using random self ethernet address
    [ 20.849597] using random host ethernet address
    [ 20.849644] using host ethernet address: 00:18:31:E0:18:F7
    [ 20.849645] using random self ethernet address
    [ 20.849650] using random host ethernet address
    [ 20.853482] using host ethernet address: 00:18:31:E0:18:F7
    [ 20.853483] usb0: HOST MAC 00:18:31:e0:18:f7
    [ 20.854639] usb0: MAC 6a:7c:a0:33:3e:d9
    [ 20.931580] ti-pruss 4a300000.pruss: creating PRU cores and other child plats
    [ 20.933453] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4!
    [ 20.934158] irq: no irq domain found for /ocp/pruss_soc_bus@4a326000/pruss@4!
    [ 21.772467] Mass Storage Function, version: 2009/09/11
    [ 21.833135] LUN: removable file: (no medium)
    [ 21.904195] LUN: removable read only file: /dev/mmcblk0p1
    [ 21.919042] remoteproc remoteproc1: 4a334000.pru0 is available
    [ 21.919148] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326y
    [ 21.920689] remoteproc remoteproc2: 4a338000.pru1 is available
    [ 21.920777] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326y
    [ 22.266228] Number of LUNs=1
    [ 22.296371] g_multi gadget: Multifunction Composite Gadget
    [ 22.334379] g_multi gadget: g_multi ready
    [ 22.421558] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 22.426962] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numb2
    [ 22.542041] hub 2-0:1.0: USB hub found
    [ 22.569648] hub 2-0:1.0: 1 port detected
    [ 22.893613] g_multi gadget: high-speed config #2: Multifunction with CDC ECM

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2017.10 am335x-evm ttyS0

    am335x-evm login: **************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    binutils
    cifs-utils
    cpp-symlinks
    cpp
    dosfstools
    g++-symlinks
    g++
    gawk-dev
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    glmark2
    gstreamer1.0-libav
    hidapi
    libcairo-perf-utils
    libgmp10
    libidn11
    libmpc3
    libmpfr4
    libreadline-dev
    libreadline6
    m4-dev
    m4
    make
    nettle
    swig-dev
    swig

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [ 26.104962] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2017.10 am335x-evm ttyS0

    am335x-evm login: root
    root@am335x-evm:~# lsmod
    Module Size Used by
    bc_example 7326 0
    pru_rproc 10584 0
    usb_f_acm 5276 1
    pruss_intc 7163 1 pru_rproc
    u_serial 11043 3 usb_f_acm
    pruss 9582 1 pru_rproc
    usb_f_ecm 6492 1
    musb_dsps 9734 0
    musb_hdrc 87490 1 musb_dsps
    usbcore 201037 1 musb_hdrc
    phy_am335x 2372 2
    phy_generic 5372 1 phy_am335x
    phy_am335x_control 2873 1 phy_am335x
    ti_am335x_tsc 5901 0
    sha512_generic 9967 0
    sha512_arm 12252 0
    sha256_generic 10178 0
    sha1_generic 2864 0
    sha1_arm_neon 6261 0
    sha1_arm 3862 1 sha1_arm_neon
    md5 2219 0
    des_generic 17608 0
    cbc 2388 0
    xfrm_user 22242 2
    g_multi 6145 0
    usb_f_mass_storage 37026 2 g_multi
    usb_f_rndis 15482 2 g_multi
    xfrm4_tunnel 2040 0
    u_ether 12937 3 usb_f_ecm,g_multi,usb_f_rndis
    libcomposite 44254 5 usb_f_ecm,usb_f_acm,usb_f_mass_storage,g_multi,s
    udc_core 19322 8 usb_f_ecm,usb_f_acm,usb_f_mass_storage,u_seriale
    usb_common 4737 6 phy_am335x,udc_core,musb_hdrc,libcomposite,musbe
    ipcomp 2257 0
    xfrm_ipcomp 4183 1 ipcomp
    esp4 6402 0
    ah4 5627 0
    af_key 26840 0
    xfrm_algo 6989 5 xfrm_user,esp4,ah4,af_key,xfrm_ipcomp
    bluetooth 336965 2
    snd_soc_simple_card 5844 0
    snd_soc_simple_card_utils 5095 1 snd_soc_simple_card
    wkup_m3_rproc 3670 1
    pm33xx 6433 0
    wkup_m3_ipc 8176 1 pm33xx
    remoteproc 28453 3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
    pvrsrvkm 403500 5 bc_example
    omap_aes_driver 19334 0
    crypto_engine 7098 1 omap_aes_driver
    omap_sham 21950 0
    ti_emif_sram 5663 1 pm33xx
    pruss_soc_bus 4105 0
    wlcore_sdio 6833 0
    snd_soc_tlv320aic3x 48423 1
    rtc_omap 9662 1
    musb_am335x 1426 0
    ti_am335x_tscadc 6162 1 ti_am335x_tsc
    omap_wdt 4634 0
    sch_fq_codel 9051 4
    uio_module_drv 7251 0
    uio 9121 1 uio_module_drv
    cryptodev 38083 1
    root@am335x-evm:~# cat /etc/network/interfaces
    # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

    # The loopback interface
    auto lo
    iface lo inet loopback

    # Wireless interfaces
    iface wlan0 inet dhcp
    wireless_mode managed
    wireless_essid any
    wpa-driver wext
    wpa-conf /etc/wpa_supplicant.conf

    iface tiwlan0 inet dhcp
    wireless_mode managed
    wireless_essid any

    iface atml0 inet dhcp

    # Wired or wireless interfaces
    auto eth0
    iface eth0 inet dhcp
    pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cml
    udhcpc_opts -R -b

    iface eth1 inet dhcp

    # Ethernet/RNDIS gadget (g_ether)
    # ... or on host side, usbnet and random hwaddr
    auto usb0
    iface usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.252

    # Bluetooth networking
    iface bnep0 inet dhcp

    root@am335x-evm:~# ifup wlan0
    Successfully initialized wpa_supplicant
    wlan0: Unsupported driver 'wext'
    ifconfig: SIOCGIFFLAGS: No such device
    root@am335x-evm:~#
  • Hi Dattatray,

    Acouple of things are strange here.
    First I see only "wlcore_sdio" in your lsmod list while i would have expected to see all the following:

    cfg80211
    mac80211
    wlcore
    wlcore_sdio
    wl18xx

    In addition, the .dts file has a fixed voltage regulator called "wl12xx_vmmc" that I don't see being initialized in the boot log. Are you sure you are using the correct .dtb file that was compiled from "am335x-evmsk.dts"

    Can you attache the ".config" file that was used for building the kernel?
    In addition, what is the output you get for:

    depmod -a
    modprobe wl18xx
    modprobe wlcore

    Best Regards,
    Eyal
  • Wi-Fi_notWorking_Linux_4.9.59_TI.tar.gz

    Hi Eyal,

    Below is result of commands you mentioned

    Arago 2017.10 am335x-evm ttyS0                                                                  
                                                                                                    
    am335x-evm login: root                                                                          
    root@am335x-evm:~# depmod -a                                                                    
    root@am335x-evm:~# modprobe wl18xx                                                              
    root@am335x-evm:~# modprobe wlcore                                                              
    root@am335x-evm:~# modprobe wl12xx                                                              
    modprobe: FATAL: Module wl12xx not found in directory /lib/modules/4.9.59-ga75d8e9305           
    root@am335x-evm:~# echo $?                                                                      
    1       

    **********************************************************************************************************

    I have also attached zip fie that contains

    1. build-linux.sh _> commands used to build linux and install to  my SD card

    2. .config -> config file of y'day compilation ( converted to config.txt )

    3. am335x-evmsk.dts -> SDK dts file compiled y'day

    Pls revert if you need anything more

  • Hi,

    Your kernel .config file is miising wl12xx module:

    # CONFIG_WL12XX is not set
    CONFIG_WL18XX=m
    CONFIG_WLCORE=m
    CONFIG_WLCORE_SPI=m
    CONFIG_WLCORE_SDIO=m

    Please update:
    CONFIG_WL12XX=m

    and rebuild the modules.

    Best Regards,
    Eyal
  • Hi Eyal,

    Thanks, wl12xx module is now install on SD card but still I am getting error

    "wlan0: Unsupported driver 'wext' "    for ifup wlan0

    I am attaching below files for your reference

    1. build log

    2. config file

    3. sdk bootlog

    To_TI_16012018.tar.gz

  • Hi,

    wext it pretty much deprecated, we don't use it normally.

    Seems like it is looking for the firmware file with the name:
    wlcore: ERROR could not get firmware ti-connectivity/wl127x-fw-52...
    Wonder where it gets this name from.
    Can you chenge the firmware file name that you have in "/lib/firmware/ti-connectivity" to this name so it finds it?

    Best Regards,
    Eyal
  • wext is deprecated then what is replacement for it? and why it is not update in latest versions

    I checked /lib/firmware/ti-connectivity folder but wl127x.... file is not there
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    root@am335x-evm:~# ifup wlan0
    Successfully initialized wpa_supplicant
    wlan0: Unsupported driver 'wext'
    [ 242.088481] wl12xx_driver wl12xx.0.auto: Direct firmware load for ti-connectivity/wl127x-fw-5-sr.bin failed with error -2
    [ 242.099674] wlcore: ERROR could not get firmware ti-connectivity/wl127x-fw-5-sr.bin: -2
    [ 242.548905] wl12xx_driver wl12xx.0.auto: Direct firmware load for ti-connectivity/wl127x-fw-5-sr.bin failed with error -2
    [ 242.560219] wlcore: ERROR could not get firmware ti-connectivity/wl127x-fw-5-sr.bin: -2
    [ 243.018901] wl12xx_driver wl12xx.0.auto: Direct firmware load for ti-connectivity/wl127x-fw-5-sr.bin failed with error -2
    [ 243.030130] wlcore: ERROR could not get firmware ti-connectivity/wl127x-fw-5-sr.bin: -2
    [ 243.047836] wlcore: ERROR firmware boot failed despite 3 retries
    ifconfig: SIOCSIFFLAGS: No such file or directory
    root@am335x-evm:~# ls /lib/firmware/ti-connectivity/
    TIInit_10.6.15.bts
    TIInit_11.8.32.bts
    TIInit_12.10.28.bts
    TIInit_12.8.32.bts
    TIInit_6.12.26.bts
    TIInit_6.7.16.bts
    TIInit_7.6.15.bts
    initscripts-TIInit_6.12.26.bts
    initscripts-TIInit_6.12.26_avpr_add-on.bts
    initscripts-TIInit_6.12.26_ble_add-on.bts
    initscripts-TIInit_6.7.16_avpr_add-on.bts
    initscripts-TIInit_6.7.16_ble_add-on.bts
    initscripts-TIInit_6.7.16_bt_spec_4.1.bts
    wl18xx-conf.bin
    wl18xx-fw-4.bin
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  • Hi,

    You can take all latest firmware files from either linux-firmware:
    git.kernel.org/.../ti-connectivity

    or from our release git:
    git.ti.com/.../firmware

    Both are updated to the latest.
    After you update them in your file system, please reboot the board and then first try:

    ifconfig wlan0 up

    Then:
    iw wlan0 scan

    and see if the interface is functional.
    For usage you can refer to the example scripts located under /usr/share/wl18xx and documented in:
    processors.wiki.ti.com/.../WiLink8_WLAN_Demo:_Linux

    I know the directory is labeled wl18xx but the scripts are useful for wl12xx as well.

    Try for example:
    http://processors.wiki.ti.com/index.php/WiLink8_WLAN_Demo%3A_Linux#Connecting_to_a_Secured_AP

    Best Regards,
    Eyal

  • Hi Eyak,

    Thanks, Wi-Fi is working now with command line, but I am not able to ping any public domain like google.com.

    And what are the setps to start bluetooth?
  • Hi Dattatray,

    Glad the interface is up.
    When you say you can't ping, what do you mean? Have you connected to an AP and have a dhcp address assigned to the wlan0 interface by this AP?

    Something like:
    udhcpc -i wlan0

    Should query the AP to provide you with an IP address after you have connected to it.

    Best Regards,
    eyal
  • Hi Eyal,

    Yes I followed steps as per processors.wiki.ti.com/.../WiLink8_WLAN_Demo:_Linux
    and got IP for wlan0 from my router , I am able to ping my router ip and devices in local network.

    Basically I want to make Starter kit as gateway device for IoT solution, where edge devices will connect to starter kit over bluetooth.
    So I want bluetooth also working on starter kit
  • Hi DataRay,

    For Bluetooth you need a Bluetooth stack running as well.

    Please refer to the following wiki for TI bluetooth stack:

    Best Regards,

    Eyal

  • Thanks Eyal,

    Followed steps in wiki but getting below error

    root@am335x-evm:~/BluetopiaPM# ./bt-en.sh

    TI AM335x EVM-SK

    success

    ./bt-en.sh: line 3: echo: write error: Device or resource busy

    Done enabling BT

    root@am335x-evm:~/BluetopiaPM#

    and line #3 is "echo 117 > /sys/class/gpio/export"