Targeted Hardware

phyCORE-AM572x System on Module (PCM-057)

phyCORE-AM572x Baseboard (PCM-948)

WiLink8 module (PCM-949)

Targeted SoftwarePD18.1.0
Date

 


Required Hardware

  • PCM-057 SOM
  • PCM-948 Baseboard
  • PCM-949 WiLink8 module
  • 12V 2A Power supply with a barrel jack connector
  • DB9 Serial cable
  • Bootable SD Card: Refer to the section 6 "Creating a Bootable SD Card" of the 18.1.0 quickstart to create an SD card.


Step-by-step guide

  1. Setup the hardware
    1. Connect the SOM to the carrier board
    2. Plug in the Wifi module
    3. Insert the SD card
    4. Connect the serial cable



  2. Power on the Kit
    1. Plug in the 12V supply
    2. Press the POWER switch (S2) to turn on the board
  3. Once at the Linux login prompt, type "root" to login

     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am572x-phycore-rdk ttyS2
    
    Arago 2017.06 am572x-phycore-rdk ttyS2
    
    PHYTEC: BSP-Yocto-TISDK-AM57xx-PD18.1.0
    am572x-phycore-rdk login: root
    root@am572x-phycore-rdk:~#
  4. Edit the wpa_supplicant.conf file
    1. Open the "wpa_supplicant.conf" file with the following command:

      vi /etc/wpa_supplicant.conf
    2. Near the bottom of the file, comment out the following line:

      #concurrent_sched_scan=1


    3. At the bottom of the file, add in a network node so it looks similar to the following (using your WiFi network information):

      network={
              ssid="your network name in quotes"
              psk="your password in quotes"
              proto=WPA2
              key_mgmt=WPA-PSK
      }
    4. Save and exit the wpa_supplicant file


  5. Execute the following command to start wpa_supplicant and connect to your WiFi network

    wpa_supplicant -B -Dnl80211,wext -i wlan0 -c /etc/wpa_supplicant.conf
  6. When the module connects to WiFi you should see the following terminal output:

    [ 1271.610097] wlan0: send auth to ac:9e:17:af:73:28 (try 1/3)[ 1271.639322] wlan0: authenticated
    [ 1271.650623] wlan0: associate with ac:9e:17:af:73:28 (try 1/3)
    [ 1271.660521] wlan0: RX AssocResp from ac:9e:17:af:73:28 (capab=0x411 status=0 aid=5)
    [ 1271.677192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 1271.683609] wlan0: associated
    [ 1271.755467] wlcore: Association completed.


  7. Now that you are connected to your WiFi network, ping your favorite local device with the following command to verify it is working properly 

    ping -I wlan0 -c 5 <IP addr>


There is no content with the specified labels