Difference between revisions of "APF27 PPS"
m (→Initializing the connection) |
(→Debug / Development interface) |
||
Line 46: | Line 46: | ||
==Debug / Development interface== | ==Debug / Development interface== | ||
− | In order to gain access to the serial port of the APF27 (U-Boot & Linux console), a small adapter cable has to be done. | + | * In order to gain access to the serial port of the APF27 (U-Boot & Linux console), a small adapter cable has to be done. |
− | A standard 2.54mm pin header connector (J5) allows accessing the TX and RX debug lines of the | + | A standard 2.54mm pin header connector (J5) allows accessing the TX and RX debug lines of the i.MX27. |
− | The signals are compatible with a the | + | The signals are compatible with a the RS-232 standard so no level translator is required. |
The pinout is described in the [http://www.armadeus.com/_downloads/apf27_PPS/documentation/pps_datasheet_v0A.pdf datasheet] and summarized here: | The pinout is described in the [http://www.armadeus.com/_downloads/apf27_PPS/documentation/pps_datasheet_v0A.pdf datasheet] and summarized here: | ||
Line 63: | Line 63: | ||
|} | |} | ||
+ | |||
+ | * Now you have the debug access, you can [[Setup| install all the tools needed to control your board on your Host]]. | ||
==WiFi usage== | ==WiFi usage== |
Revision as of 10:57, 2 March 2011
Contents
Description
PPS is an Armadeus System's baseboard for the APF27 module. It can be used to implement and securize network applications such as routers and gateways.
Resources
Software features
There are some network applications/features that are preselected in the PPS baseboard default configuration:
- Encryption / Security
- USB Ethernet gadget support
- USB RS232 gadget support
- SMSC USB to Ethernet Adapter
- Boa Web Server
- Wireless tools (for securized WiFi with WEP encryption)
- WPA supplicant (for securized WiFi with WPA/WPA2 encryption)
Note: You can also use the PPS test scripts located in /usr/local/pps/scripts on the system to test some software functionalities. |
SSH terminal
The APF27 PPS filesystem is configured to enable SSH connection from a host computer. It allows you to access a system terminal through the default Ethernet port (the one aside USB Host connector).
- The default connection informations are:
- IP address: 192.168.0.10
- Login: guest
- Password: armadeus
- Then you can connect to your system by running the following command on your host:
$ ssh guest@192.168.0.10
- For more details, refer to the SSH - Dropbear page in the Wiki.
Debug / Development interface
- In order to gain access to the serial port of the APF27 (U-Boot & Linux console), a small adapter cable has to be done.
A standard 2.54mm pin header connector (J5) allows accessing the TX and RX debug lines of the i.MX27. The signals are compatible with a the RS-232 standard so no level translator is required.
The pinout is described in the datasheet and summarized here:
- pin 1 (square pad): not connected
- pin 2: TX line (processor side)
- pin 3: RX line (processor side)
- pin 4: GND
- Now you have the debug access, you can install all the tools needed to control your board on your Host.
WiFi usage
On PPS, WiFi/Libertas driver usage is a little bit different than on other platforms. Here are the things to know:
Drivers setup
You have to install Libertas SDIO and MMC drivers as modules to make Wi2Wi chipset work correctly on PPS (done by default):
$ make linux26-menuconfig
Device drivers ---> [*] Network device support ---> Wireless LAN ---> [*] Wireless LAN (IEEE 802.11) <M> Marvell 8xxx Libertas WLAN driver support < > Marvell Livertas 8388 USB 802.11b/g cards <M> Marvell Libertas 8385 and 8686 SDIO 802.11b/g cards <M> MMC/SD/SDIO card support ---> *** MMC/SD/SDIO Card Drivers *** <M> MMC block device driver
Initializing the connection
Before creating the WiFi connection, you must load the Libertas SDIO and the MMC modules:
# modprobe mxcmmc # modprobe libertas_sdio
Then all informations on Libertas_driver page apply.
Disconnect from the WiFi
You have to unload the MMC driver along with the Libertas SDIO to disconnect from the WiFi:
modprobe -r mxcmmc modprobe -r libertas_sdio
Reset Wi2Wi
To reset the chipset, you have to use the Wi2Wi RESET GPIO:
source /usr/bin/gpio_helpers.sh gpio_mode PE11 1 gpio_set_value PE11 0 gpio_set_value PE11 1
Feature list
Wired communicationWireless communication |
Other
|
FPGA |