PandaBoard Training

From OMAPpedia

Jump to: navigation, search

This page lists PandaBoard based training and How-To guide.

Contents

[edit] OpenCV on Panda

[edit] Flashing an led AND read user input from GPIO 121

[edit] Flashing an led part 1 AND read user input from GPIO 121

This tutorial explains how you can write a bash shell script to make a command line program to easily flash an led. Also this video will show you how to read the user input from GPIO 121 aka the push button.

[edit] Flashing an led part 2

This tutorial explains how you can write a bash shell script to make a command line program to easily flash an led.

[edit] How to install Ubuntu 11.10 onto your Pandaboard and get maximum performance

This tutorial http://www.novemberkiloecho.com/?p=82 is for you if you own one PandaBoard and are unimpressed by the speed at which this little devil can perform, this tutorial may help you get the most out of your board using just the SD card. This is just the first step to getting optimal performance. You will see the best performance once you move your OS to an external (preferably SSD) drive. This tutorial will prepare you for that.

[edit] How to setup WIFI with WPA-PSK Security on Ubuntu Server 12.04

This video will walk you through the process of setting up a wireless network on the pandaboard running on ubuntu server 12.04. It should work for ubuntu 11.1 also.


http://ubuntuforums.org/showthread.php?t=202834

http://adventuresinsilicon.blogspot.com/2011/01/pandaboard-setting-up-wifi-on-comand.html

http://superuser.com/questions/42460/can-you-explain-how-to-understand-what-the-iwconfig-command-displays-in-ubuntu

#general system info
cat /etc/lsb_release
uname -arv
 
#update and upgrade first!
sudo apt-get update
 
sudo apt-get upgrade
 
#so we can use iwconfig, iwlist, etc
sudo apt-get install wireless-tools 
 
#check available wireless cards
iwconfig
 
#get wireless security details from wifi router
#read explaination from [http://ubuntuforums.org/showthread.php?t=202834]
#HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.
 
#install wpasupplicant software
sudo apt-get install wpasupplicant
 
# generate hex hey with ssid and passphrase
wpa_passphrase <ssid> <passphrase>
 
 
 
# wpa_passphrase  
# copy the psk and paste it next to wpa-psk
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid 
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 



#create new file using vi in terminal
vi interfaces_wlan0
#hit i for insert and then right click to paste
#ESC:x to save
 
# overwrite the old interfaces file with eth0 configuration
# create a backup if need to before overwrite
sudo cp interfaces_wlan0 /etc/network/interfaces
 
#turn off eth0 before restarting with new wifi configeration
sudo ip link set eth0 down
 
#restart networking
sudo /etc/init.d/networking restart
 
#check wifi status
iwconfig
 
#test
ping 
 
#if doesn't work need to reboot
 
#security option
sudo chmod o=-r /etc/network/interfaces
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox