
Sending select for 137.57.175.148...
Lease of 137.57.175.148 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 137.57.142.218
/etc/udhcpc.d/50default: Adding DNS 137.57.109.10
/etc/udhcpc.d/50default: Adding DNS 137.57.64.1
done.
The message Lease of <board_IP_address> obtained, lease time 86400
identifies the IP address of the board.
2. If you receive the following output, perform a warm reboot of the board by pressing the WARM
button next to the LED lights.
Sending discover...
libphy: stmmac-0:04 - Link is Up - 1000/Full
Sending discover...
Sending discover...
No lease, failing
The board uses the dynamic host configuration protocol (DHCP) to acquire an IP address. If the
session times out waiting for an IP assignment, reboot the CPU to restart the IP acquisition process.
To reboot the CPU, press the Warm reset button next to the four hard processor system (HPS) LEDs
on the board.
3. If you are unable to acquire the IP address, ensure that the Ethernet cable is in good working condition
and the Ethernet port on your network is enabled.
Mounting a Shared Drive
The most convenient way to share files between a development PC and the Cyclone V SoC development
board is to mount a network drive.
1. Check the /etc/fstab file systems table file on your development PC for the line that describes the
mounting of the drive you want to use on the board.
The following example /etc/fstab entry indicates that the /data folder on the my_nas server is mounted
to the /data folder on the development PC:
my_nas:/data /data nfs
exec,dev,suid,rw,tcp,hard,intr,vers=3,rsize=32768,wsize=32768,timeo=600,retrans=200
2. Add the /etc/fstab entry described above to the /etc/fstab file on the Cyclone V SoC development board.
3.
Run the sync command to save the /etc/fstab file to the SD flash card.
4. Create an empty folder on the board that serves as the mounting point for the network drive.
For example: type mkdir /data, where /data is the name of the folder.
5.
Invoke the busybox mount -a command.
If the mounting operation fails, rerun the command.
Using SSH and SCP
Instead of connecting the Cyclone V SoC Development Kit to the host system using UART over USB and
transferring files using a network drive, you can initiate a Secure Shell (SSH) connection and transfer files
using a Secure Copy (SCP) program.
1. To establish a connection between the Cyclone V SoC Development Kit and the host system via SSH,
invoke the ssh root@<board_ip_address> command from your development machine.
3-10
Mounting a Shared Drive
OCL006-15.0.0
2015.05.04
Altera Corporation
Setting Up the Altera SDK for OpenCL, SoC EDS, and the Cyclone V SoC Development Kit for Linux
Send Feedback
Komentarze do niniejszej Instrukcji