Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:mmini [2015/01/02 10:37] darronboards:mmini [2015/03/22 21:55] (current) – external edit 127.0.0.1
Line 4: Line 4:
 </wrap> </wrap>
  
-==== References ====+The M-mini is a tiny Linux computer with WiFi running OpenWRT. 
 + 
 +=== Pinout ==
 +<code> 
 +                  1 3V3 
 +                  x GND 
 +                  x USB+ 
 +                  x USB- 
 +                  x RX 
 +                  x TX 
 +                  x RESET_SW 
 +                  x SYS_LED 
 +SPI_CLK  x        x NET_POW 
 +SPI_MISO x        x NET_TX- 
 +SPI_MOSI x        x NET_TX+ 
 +IO6/TDI  x        x NET_RX- 
 +IO7/TDO  x        x NET_RX+ 
 +TCK      x        x IO18 
 +IO8/TMS  x        x IO19 
 +RESET    x        x IO20 
 +</code> 
 + 
 +=== Console === 
 +There is a low voltage serial console on RX/TX running at 115,200 bits per second.\\ 
 + 
 +A connection was established with a [[:interfaces:cp2102|cp2102]] interface using picocom. 
 + 
 +<code> 
 +  _______                     ________        __ 
 +       |.-----.-----.-----.|  |  |  |.----.|  |_ 
 +     ||  _  |  -__|     ||  |  |  ||   _||   _| 
 + |_______||   __|_____|__|__||________||__|  |____| 
 +          |__| W I R E L E S S   F R E E D O M 
 + ----------------------------------------------------- 
 + BARRIER BREAKER (Bleeding Edge, r40555) 
 + ----------------------------------------------------- 
 +  * 1/2 oz Galliano         Pour all ingredients into 
 +  * 4 oz cold Coffee        an irish coffee mug filled 
 +  * 1 1/2 oz Dark Rum       with crushed ice. Stir. 
 +  * 2 tsp. Creme de Cacao 
 + ----------------------------------------------------- 
 +</code> 
 + 
 +=== GPIO === 
 +<code> 
 +root@Easy-link:/# cat /sys/kernel/debug/gpio  
 +GPIOs 0-29, ath79: 
 + gpio-8   (USB power           ) out hi 
 + gpio-11  (reset               ) in  lo 
 + gpio-20  (sd-reset            ) in  lo 
 + gpio-27  (elink:green:system  ) out lo 
 +</code> 
 + 
 +=== WiFi === 
 + 
 +First discover the SID. 
 +<code> 
 +ifconfig wlan0 up 
 +iwlist scan | & grep M-MINI 
 + ESSID:"M-MINI_030DA4" 
 +ifconfig wlan0 down 
 +</code> 
 + 
 +Now we may create a connection profile. 
 +<code> 
 +#auto wlan0 
 +iface wlan0 inet static 
 +        address 192.168.1.100 
 +        wireless-retry 20 
 +        wireless-channel 6 
 +        wireless-essid M-MINI_030DA4 
 +        wpa-ap_scan 1 
 +        wpa-key_mgmt NONE 
 +        wpa-ssid M-MINI_030DA4 
 +</code> 
 + 
 +And then, connect. 
 +<code> 
 +ifup wlan0 
 +nmap 192.168.1.1 
 + 
 +Starting Nmap 6.00 ( http://nmap.org ) at 2015-01-02 12:58 GMT 
 +Nmap scan report for 192.168.1.1 
 +Host is up (0.0026s latency). 
 +Not shown: 997 closed ports 
 +PORT   STATE SERVICE 
 +22/tcp open  ssh 
 +53/tcp open  domain 
 +80/tcp open  http 
 + 
 +Nmap done: 1 IP address (1 host up) scanned in 38.53 seconds 
 +</code> 
 + 
 + 
 +=== Resources ===
 [[http://wiki.openwrt.org/toh/easylink/el-m-mini|OpenWRT]] [[http://wiki.openwrt.org/toh/easylink/el-m-mini|OpenWRT]]