background image

 

 

 

 

DE10-Pro SX 
Linux Botting Started 
Guide 

June 28, 2019

 

 

                         

www.terasic.com.tw

 

 

Summary of Contents for Stratix 10 DE10-Pro SX

Page 1: ...DE10 Pro SX Linux Botting Started Guide June 28 2019 www terasic com tw 1 ...

Page 2: ...CHAPTER 1 LINUX BOOTING ON THE DE10 PRO SX 3 1 1 INTRODUCTION 3 1 2 REQUIRED HARDWARE 3 1 3 INSTALL THE HPS DAUGHTER CARD 3 1 4 MSEL SETTINGS 5 1 5 INSTALL THE MICROSD CARD 6 1 6 POWER ON THE DE10 PRO SX BOARD 9 1 7 SETTING UP UART TERMINAL 10 1 8 APPENDIX 14 ADDITIONAL INFORMATION 16 ...

Page 3: ...icate with the HPS of the DE10 Pro SX board 1 2 Required hardware To boot Linux on the DE10 Pro SX board the following hardware is required DE10 Pror SX board HPS Daughter Card Mini USB Cable Micro SD Card At least 8GB capacity 1 3 Install the HPS Daughter Card HPS daughter uses 40 pin HPS I O on the DE10 Pro SX board to provide peripheral interfaces such as UART Gigabit Ethernet and USB OTG Below...

Page 4: ... 2019 www terasic com tw 4 Figure 1 1 Connect the HPS daughter card to the DE10 Pro SX Lock the attachment screws to the HPS daughter card to secure it to the DE10 Pro SX See Figure 1 2 Figure 1 2 Lock the attachment screws to the HPS daughter card ...

Page 5: ...set MSEL 2 0 in AS mode default setting is AVST x8 mode as shown in Figure 1 4 set MSEL 2 0 to 001 When the DE10 Pro is powered on the SDM Secure Device Manager in the FPGA will read the data from the QSPI flash If the MSEL is set to the AS mode and start to configure the FPGA core FPGA I O and HPS After the HPS initial is completed the HPS will take over the rest of the boot flows It will read th...

Page 6: ...ux image file by referring to the link below http url terasic com de10_pro_sx_linux_console Download the programming tool To program a microSD card Linux image you can use a free tool called Win32DiskImager exe from http url terasic com win32diskimager on a Windows machine Program the MicroSD Card The SD card image file needs to be programmed to a microSD card before it can be used The steps below...

Page 7: ...x Botting Started Guide June 28 2019 www terasic com tw 7 Figure 1 5 Win32 Disk Imager Install the MicroSD Card to the DE10 Pro SX board Users can install the Micro SD Card on the DE10 Pro SX by referring to Figure 1 6 ...

Page 8: ...DE10 Pro SX Linux Botting Started Guide June 28 2019 www terasic com tw 8 Figure 1 6 Steps for installing microSD card ...

Page 9: ...rd into the PCIe slot of the host PC then turn on the PC power to power on the DE10 Pro SX board See Figure 1 7 Figure 1 7 Power on the DE10 Pro SX form PCIe slot The second method is to connect the 2x4 PCIe connector on the DE10 Pro SX board to the external 12V DC power supply then turn on the power switch SW2 on the board to power on the DE10 Pro SX See Figure 1 8 Figure 1 8 Power on the DE10 Pr...

Page 10: ...e PC through the Mini USB connector You should install the USB to UART driver and configure the UART terminal before you run Linux on the board Figure 1 9 Hardware Setup for UART Terminal Installing the Driver 1 Connect your computer to the development board by plugging the USB cable into the mini USB connector of DE10 Pro SX Connection setup is shown in Figure 1 9 2 Power on the board and open th...

Page 11: ...erminal Select the FT232R USB UART to update the driver software The driver can be downloaded from http www ftdichip com Drivers VCP htm 3 After the driver has been correctly installed the USB Serial Port is recognized as a port such as COM5 Open the device manager to know which COM port assigned in your computer ...

Page 12: ...ow how to configure a PuTTY terminal window can be downloaded from the link http the earth li sgtatham putty latest x86 putty exe 1 Open putty exe click Serial go to a serial configure interface 2 Configure the window like the flowing picture and click save button to save the setting and click Open to open the terminal window Note that the COM5 on the Serial Line column needs to be modified accord...

Page 13: ... June 28 2019 www terasic com tw 13 Figure 1 12 Putty Window 3 After the board is successfully booted the Linux will ask for the login name Type terasic for account name and type 123 for the password See Figure 1 13 Figure 1 13 Putty Window ...

Page 14: ... is set to AS mode 001 3 The QSPI flash on the DE10 Pro SX board had programmed the boot file when shipped After power on user can check if the user LED LED3 is flashing and after 10 seconds of booting the HPS LED has light on See Figure 1 15 If not you can check whether the MSEL is set in AS mode If the setting is correct please refer to following steps to re program the QSPI flash with the facto...

Page 15: ...DE10 Pro SX Linux Botting Started Guide June 28 2019 www terasic com tw 15 Execute flash_program bat to erase and program the QSPI flash Figure 1 15 HPS LED and User LED3 ...

Page 16: ...od Address Technical Support Email support terasic com Website www terasic com Address 9F No 176 Sec 2 Gongdao 5th Rd East Dist Hsinchu City 30070 Taiwan 30070 Training Opportunity Website http www terasic com tw cgi bin page archive pl Language English No 200 Product Information Website http www terasic com tw cgi bin page archive pl Language English CategoryNo 13 List Simple Revision History Dat...

Reviews: