phyCORE®-AM335x 1) Preparing the Hardware

phyCORE®-AM335x 1) Preparing the Hardware
phyCORE®-AM335x
Kit Contents
phyCORE®-AM335x RDK
Power Adapter +5 V Get your phyCORE®-AM335x powered up and connected in just a few simple steps.
1)Preparing the Hardware
RS-232 Cable
Removal tool
Ethernet Cable
USB flash drive
Documentation
with Virtual Machine
1. Have the included connection cables at hand: You need an RS-232 cable (one-to-one),
a standard Ethernet cable and the power adapter (+5 V / 3 A).
2. Power up the phyCORE-AM335x.
Connect the power adapter (+5 V DC) to the power supply connector (X3).
3. Turn your power supply on. The red Power LED (D2) will light up.
Optional Accessories
Display
Germany
PHYTEC Messtechnik GmbH
D-55129 Mainz
t +49 6131 9221-32
f +49 6131 9221-33
www.phytec.de
www.phytec.eu
France
PHYTEC France SARL
F-72140 Sillé le Guillaume
t +33 2 43 29 22 33
f +33 2 43 29 22 34
www.phytec.fr
USA
PHYTEC America LLC
Bainbridge Island, WA 98110
t +1 206 780 9047
f +1 206 780 9135
www.phytec.com
India
PHYTEC Embedded Pvt. Ltd.
Koramangala
Bangalore 560095
t +91 80 408670-46/49
www.phytec.in
L-834e_1
China
PHYTEC Information Technology Co. Ltd.
Nanshan District, Shenzhen
518026 PRC
t +86 755 6180 2110
www.phytec.cn
Quick
Start
Guide
2)Preparing and Starting the Virtual Machine
To follow this QuickStart and the descriptions in the Development Environment Guide you
need our compressed phyCORE-AM335x virtual machine hard disc image (SO-498v8.zip).
The hard disk image includes all software installations and configurations (e.g. Toolchain,
Eclipse, Qt Creator) necessary for a successful start-up of the phyCORE-AM335x. The
virtual machine hard disk image (.vmdk) is suitable for most virtualization software and can
be mounted to an appropriate virtual machine (tested with VMware Player and Virtualbox).
1. You can find the hard disk image on the delivered USB flash drive.
Plug in the USB flash drive into your host system.
2. Unpack the compressed file with an appropriate tool to your local hard drive to get the included .vmdk file.
3. Follow the instructions of your virtualization software to create a new virtual machine. Pay regard to the following settings required to obtain a correctly working virtual machine:
• Choose Linux-Ubuntu 64-bit version as operating system.
• Use the unpacked file SO-498v8.vmdk as existing hard disk.
• An Ethernet adapter, as well as a serial interface, or the USB controller must be available to connect to the phyCORE-AM335x.
We recommend to have two network adapters available on the host pc. One for a peer-to-peer
connection to the target and one with access to the internet, otherwise be advised that you will
need to swap Ethernet connections multiple times in order to access documentation and sources.
4. Start the virtual machine with our hard disk image. You will see the modified Ubuntu
desktop (A). For further use of the virtual machine the pre-created login data is:
username: phyvm – password: phytec
Now you are ready to connect your PC with the phyCORE-AM335x.
A
C
3)Getting Connected
Serial connection
1. Connect one end of the serial cable to the DB-9 connector (X18 UART0).
2. Connect the other end to the first serial interface of your PC (or to an USB to DB-9
dongle, connected to your host).
3. Click the Microcom_ttyS0 icon (B) on the Ubuntu desktop (for direct serial interface
connection) or click the Microcom_ttyUSB0 icon if you are using an USB to DB-9 dongle.
B
By default every input and output is transmitted over the serial connection with a
baud rate of 115200.
D
4. Click the reset button S6 on the board (or power cycle the board).
A serial console has been started within your Live System.
You should see a boot message and the login-prompt on this console (C). Congratulations!
If you do not see any output in the Microcom window, check the serial connection
between the target and your host. By default Microcom uses /dev/ttyS0. If you want
to use another port you can click on the Microcom Icon at your desktop with your right
mouse button and select Properties. A window opens in which you can change the
properties of the Microcom icon. Click in the Command field and search for „-p/dev/
ttyS0“. Change it for example to /dev/ttyS1 and so on if you have more than one serial
port. If the Microcom window does not open, one reason could be a lock-file which
was created when Microcom was not correctly terminated. Delete this file by opening
a terminal and type: sudo rm /var/lock/LCK..*
5. Use “root” as the log-in-name on the serial console (and press enter).
6. As a good example (and helpful for understanding the next step) enter ifconfig. You will get information about the configuration of the Ethernet interface of the target (D).
Ethernet connection
We recommend disconnecting your host-PC from any other network, because a peer to-peer
connection from your PC to the phyCORE-AM335x will be established.
1. Connect your preferred Ethernet interface on your PC with RJ45 connector X12 (ETH1)
on the phyCORE-AM335x using the included Ethernet cable.
2. Configure the IP-settings on your host platform in Ubuntu:
•In the Unity-panel (left side of your desktop) click on the Ubuntu logo (topmost icon).
•The Ubuntu dashboard will open; enter System Settings in the search field (you will
see the corresponding icon showing up already during typing of the search string).
•Open System Settings and click on the Network icon.
•Select the physical interface to which you have connected the Ethernet cable
(if you have more than one network in the list) and click on Options.
•Select the IPv4Settings (E) tab and choose Manual (F) in the Method drop down box.
•Click Add (G) and enter the IP address 192.168.3.10 (H) and 255.255.255.0
as subnet mask (I) and 192.168.3.10 as gateway (J).
• Last, click on Save (K) to save these connection settings and close the windows.
You are now ready to test the Ethernet network connection.
3. Click on the SSH for Target icon (L) on your desktop. A console window will open and
you will see an authentication question. Type yes and press Enter.
You are now connected to the target (M). Congratulations!
If you do not see the user login, check the Ethernet connection between the target
and the host. Be sure that you have configured the network adapter in the virtual
machine configuration correct.
Yo u r p o s s i b l e n e x t s t e p s
• Please read our Development Environment Guide on the desktop of the VM to learn how to use
the advantages of the virtual machine image.
• Please check the German product page (www.phytec.de/phycore-am335x) or the English product
page (www.phytec.eu/phycore-am335x) for more & latest documentation, downloads & FAQs.
• Please feel free to contact our support team if you have any questions about getting the
board up and running.
E
F
H
G
I
J
K
L
M
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement