Bluegiga APX4 Getting Started

Copyright © 2001-2012 Bluegiga Technologies Page 4 of 16
Copyright © 2001-2012 Bluegiga Technologies Page 5 of 16
Copyright © 2001-2012 Bluegiga Technologies Page 6 of 16
Copyright © 2001-2012 Bluegiga Technologies Page 7 of 16
Copyright © 2001-2012 Bluegiga Technologies Page 8 of 16
U-Boot 2011.12 (Nov 26 2012 - 10:34:49)
DRAM: 64 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: MXS MMC: 0 In: serial Out: serial Err: serial Net: FEC Hit any key to stop autoboot: 0 . . . UBIFS: reserved for root: 0 bytes (0 KiB) Loading file 'boot/uImage' to addr 0x41000000 with size 1400792 (0x00155fd8)... Done ## Booting kernel from Legacy Image at 41000000 ... Image Name: Linux-3.2.12 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1400728 Bytes = 1.3 MiB Load Address: 40008000 Entry Point: 40008000 Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 3.2.12 (jenkins@green) (gcc version 4.6.4 20120303 (prerelease) (GCC) ) #1 Mon Nov 26 09:37:59 EET 2012
Copyright © 2001-2012 Bluegiga Technologies Page 9 of 16
Enabling fforwarder: Starting blueconnector: Starting Lighttpd Web Server: unifi1: SDIO block size 64 requires 8 padding chunks unifi1: UniFi f/w protocol version 9.1 (driver 9.1) unifi1: Firmware build 1089: 2010-10-05 14:50 cindr03_core_softmac_rom_sdio_gcc 1089 bfsw@eagle@630492 lighttpd. Starting automatic package installer: bgtautoinstalld. Starting finder: Stopping Bootlog daemon: bootlogd.
_____ _ _ | ___ \| | (_) | |_/ /| | _ _ ___ __ _ _ __ _ __ _ | ___ \| || | | | / _ \ / _` || | / _` | / _` | | |_/ /| || |_| || __/| (_| || || (_| || (_| | |____/ |_| \__,_| \___| \__, ||_| \__, | \__,_| __/ | __/ | |___/ |___/ Bluegiga Linux 5.0.0-beta9 apx4devkit ttyAMA0
apx4devkit login:
Avoid removing the APx4 module from the mother board when the power supply is connected in order not to damage the APx4 module.
Copyright © 2001-2012 Bluegiga Technologies Page 10 of 16
Default user name it and default password is .root buffy
ssh root@192.168.1.10
Default user name it and default password is .root buffy
Copyright © 2001-2012 Bluegiga Technologies Page 11 of 16
Copyright © 2001-2012 Bluegiga Technologies Page 12 of 16
root@apx4devkit:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:07:80:01:67:04 inet addr:10.1.1.125 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1968 errors:0 dropped:7 overruns:0 frame:0 TX packets:1020 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:218757 (213.6 KiB) TX bytes:1194666 (1.1 MiB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1216 (1.1 KiB) TX bytes:1216 (1.1 KiB)
root@apx4devkit:~#
IP address of eth0 (Ethernet) interface is 10.1.1.125.
root@apx4devkit:~# bgtinfo This board was identified as Bluegiga APx4 (367CC-A).
Software version : 5.0.0-beta9 Product ID : 9 Hardware revision : 3 Hardware architecture : apx4 Hardware serial number : 1205310019 Ethernet MAC address : 00:07:80:01:66:eb WLAN MAC address : 00:07:80:59:ef:74 Bluetooth address : 00:07:80:01:67:1d (Bluegiga APX4 #1205310019), bt4.0/1d86 System clock : Wed Nov 28 09:16:07 2012
Updated software components: root@apx4devkit:~#
Copyright © 2001-2012 Bluegiga Technologies Page 13 of 16
root@apx4devkit:~# searchclient --le-only | 1353378992 | 00:07:80:ff:f5:88 | "Bluegiga Find Me" | -66 | | 1353378992 | 00:07:80:4e:71:38 | "Robustness test" | -72 | | 1353378992 | 00:07:80:4a:aa:ee | "BLED112 dongle" | -79 | root@apx4devkit:~#
Response syntax: | <timestamp> | <BD_ADDR> | <"device name"> | <rssi> |
root@apx4devkit:~# searchclient | 1353379111 | 00:07:80:42:cd:4f | "enri_ap_ehealth" | -44 | | 1353379111 | 70:f3:95:ce:54:9a | "SWLTMIKKOS" | -64 | | 1353379111 | 00:07:80:01:67:12 | "Bluegiga APX4 #1205310008" | -85 | | 1353379111 | 00:07:80:ff:f8:c4 | "WT32-A" | -87 | root@apx4devkit:~#
Response syntax: | <timestamp> | <BD_ADDR> | <"device name"> | <rssi> |
root@apx4devkit:~# iwconfig lo no wireless extensions.
wlan0 IEEE 802.11-bgn Access Point: Not-Associated Bit Rate=0 kb/s RTS thr:off Fragment thr:off Encryption key:off Power Management period:500ms mode:All packets received Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
root@apx4devkit:~#
Copyright © 2001-2012 Bluegiga Technologies Page 14 of 16
root@apx4devkit:~# ifup wlan0 wlan0 enabled Ethernet cable is connected. AP mode disabled. run-parts: /etc/network/if-pre-up.d/unifi_ap_mode exited with code 1 root@apx4devkit:~# iwlist wlan0 scanning wlan0 Scan completed : Cell 01 - Address: 94:44:52:BC:00:B7 ESSID:"bgt" Mode:Managed Frequency:2.437 GHz (Channel 6) Quality=25/40 Signal level=-44 dBm Noise level=-69 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s 12 Mb/s; 48 Mb/s IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK root@apx4devkit:~#
ifup wlan0 enables Wi-Fi interface
performs an AP scaniwlist wlan0 scanning
Command needs to be ran once in order to download the list of available packages from the repositories.opkg update
root@apx4devkit:~# opkg install python Installing python-core (2.7.2-r2.15) to root... Downloading http://update.bluegiga.com/feeds/5.0.0-beta9/ipk/armv5te/python-core_2.7.2-r2.15_armv5te.ipk.Installing python-re (2.7.2-r2.15) to root... Downloading http://update.bluegiga.com/feeds/5.0.0-beta9/ipk/armv5te/python-re_2.7.2-r2.15_armv5te.ipk.Installing python-core (2.7.2-r2.15) to root... . . . Configuring python-lang. Configuring python-core. Configuring libncursesw5. Configuring python-readline. root@apx4devkit:~#
Copyright © 2001-2012 Bluegiga Technologies Page 15 of 16
Copyright © 2001-2012 Bluegiga Technologies Page 16 of 16
Loading...