background image

 

Programming the SPI Flash Firmware 

 
 

8.

 

Edit the Value field near the bottom of the screen to add 

wr-idp

, and then click 

the Reload button. See the following figure. 

Note:

 

If you do not click Reload, you cannot use 

glibc-idp

 as the RoofFS type. 

Figure 48.   Reload Configurations 

 

 

 

 

Intel

®

 Gateway Solutions for the IoT – Development Kit – DK50 

Getting Started Guide 

 

October 2014 

62  

 

Document Number: 330496-005 

Содержание DK50 Series

Страница 1: ...Intel Gateway Solutions for the Internet of Things Development Kit DK50 Getting Started Guide October 2014 Document Number 330496 005 ...

Страница 2: ...ished specifications Current characterized errata are available on request Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order Code Names are only for use by Intel to identify products platforms programs services etc products in development by Intel that have not been made commercially available to the public i e annou...

Страница 3: ...4 8 5 Installing Intelligent Device Platform Tools on the Host System 26 Host System OS Requirements 26 5 1 Host System Hardware Recommendations 26 5 2 Wind River Software Installation Prerequisites 27 5 3 5 3 1 Disk Space and Installation Folders 27 5 3 2 Wind River Host Tools License 27 5 3 3 Internet Connection 27 5 3 4 Download the Installer 28 Installing the Host Tools Base Packages 28 5 4 6 ...

Страница 4: ...Registration Successfully Completed 15 Figure 8 Email Message Thank you for registering Intel Gateway Solutions for the Internet of Things IoT Development Kit DK50 15 Figure 9 Target Device Set Up 17 Figure 10 Confirm USB Serial Device is Recognized in Linux 18 Figure 11 PuTTY Configuration Snapshot 1 19 Figure 12 PuTTY Configuration Snapshot 2 20 Figure 13 Confirm USB Serial Device is Recognized ...

Страница 5: ...re 37 Display Title Question 51 Figure 38 Display Categorize Question 52 Figure 39 Display Tag Question 52 Figure 40 Display Submit Question 53 Figure 41 Display Subscribe to Forum Tags 54 Figure 42 Workspace Location Selection 56 Figure 43 Create a New Workbench Project 57 Figure 44 Selecting Target Operating System 58 Figure 45 Select Build Type 59 Figure 46 Specify Project Name 60 Figure 47 Ena...

Страница 6: ... Added Loaner kit information Corrected reference documents added links August 2014 003 Corrected licensing information July 2014 002 Added Knowledge Forum appendix and made minor edits mostly in correcting inconsistent formatting May 2014 001 First public version Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 6 Document Number 330496 005 ...

Страница 7: ...it Contents 1 1 The Development Kit includes the following Intel Galileo Development Board Power adapter power cord and power plugs Documentation packet Micro SD flash memory card installed includes Wind River Linux OS with Wind River Intelligent Device Platform software USB to flash memory card adapter USB flash memory drive includes a backup image for the Target Device OS and Development Kit doc...

Страница 8: ...s evaluation platforms gateway solutions wind river linux user guide html Key content Wind River Linux Overview Development Build Environment Configuration and Build Layers Recipes Userspace Kernel Development Debugging Wind River Intelligent Device Platform 2 0 Product Brief https www ssl intel com content www us e n embedded design tools evaluation platforms gateway solutions wind river idp xt2 ...

Страница 9: ...nd river Key content Wind River IDP Security Overview Security Planning Risks Threats IDP Security Mechanisms BKMs Keys Certificates Secure Repository Encrypted Data Storage Technical Support 1 3 For users with a registered product Intel provides technical support for this Development Kit through Intel Premier Support To submit a support request using Intel Premier Support go to https businessport...

Страница 10: ...parameters filenames directory paths and executables Bold text graphical user interface entries and buttons Target Device Photos 1 5 Photos of the Target Device are included below for your reference Figure 1 Target Device Top View Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 10 Document Number 330496 005 ...

Страница 11: ...Introduction Figure 2 Target Device Bottom View Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 11 ...

Страница 12: ...o download the Wind River components without this license You will use the login ID and password that you create or use in these steps to access the Intel Registration Center On the Intel Registration Center you can see a list of licensed products and download software for them 1 In your Web browser go to https registrationcenter intel com The following screen is displayed Figure 3 Register Produc...

Страница 13: ...Letter included in your product box 4 A screen displays on which you must fill out your contact information Click Submit after filling in your information 5 Follow the correct path If your email address was not recognized you will be prompted to create a user account See Figure 5 Create Support User Account Type in your preferred Login ID and password and then click Submit If your email address is...

Страница 14: ...t Confirmation 7 You are prompted to sign into the Intel Registration Center with your user name and password Your list of subscribed products is displayed and you can download the necessary software See the following illustration Figure 6 Logged in to Intel Registration Center Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 14 Document Number 330496 005...

Страница 15: ...e Intel Premier Support Registration Successfully Completed The other message is titled Thank you for registering Intel Gateway Solutions for the Internet of Things IoT Development Kit DK50 See the sample message below Figure 8 Email Message Thank you for registering Intel Gateway Solutions for the Internet of Things IoT Development Kit DK50 Intel Gateway Solutions for the IoT Development Kit DK50...

Страница 16: ...ore of free disk space 4 GB or more RAM Wired Ethernet port or Wireless Ethernet Wi Fi At least one USB 2 0 port Micro SDHC flash memory card reader or adapter Host System Software Requirements 3 2 Recommended Host System OS Intel recommends Linux for the Host System operating system The instructions in this guide were developed on a system running Ubuntu 12 04 64 bit Serial Port Communication Sof...

Страница 17: ...s needed to set up the Target Device This hardware is included with the Development Kit Intel Galileo Development Board Power adapter power cord and power plug Micro SD Flash Card capacity of 4 to 16 GB The following additional hardware is included with some versions of the Development Kit for wireless connectivity Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Start...

Страница 18: ...e 12 Volt DC jack of the included power adapter to the DC Input of the Target Device Connect the appropriate plug to the power adapter Plug in the power adapter to wall power Confirming Serial Port 4 3 The serial port provides Linux command line interface to the Target Device Note A 1 8 inch stereo to Male DB9 Serial cable is needed for Serial Port I O This is not included in the kit Use the lsusb...

Страница 19: ... as PuTTY BAUD Rate 115200 Data Bits 8 Stop Bits 1 Parity None Flow Control None Figure 5 and Figure 6 show PuTTY application snapshots as an example Figure 11 PuTTY Configuration Snapshot 1 Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 19 ...

Страница 20: ...ns It is typically 0 through 9 Update the permission settings using the chmod linux command See the following figure Figure 13 Confirm USB Serial Device is Recognized in Linux Detailed instructions for connecting the serial port from the Target to the Host System are in the Intel Galileo Board Getting Started Guide Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide Octo...

Страница 21: ...pt to obtain an IP address from a DHCP server on this interface As an alternative to connecting the Target Device to an Ethernet router with an integrated DHCP server the Target Device may be configured with a static IP address after the system has booted See Section 3 7 1 Configuring a Static IP Address Using WebIF Wireless Ethernet Connection 4 6 A wireless connection requires installing a wirel...

Страница 22: ...ice settings Note The following instructions assume a wireless network adapter is installed Use the following steps to access the Web Interface WebIF tool 1 Connect from a Host System to the Target Device on the wired or wireless Ethernet interface as explained in Section 3 5 or Section 3 6 2 On the Host System open an internet browser 3 In the address window of the browser enter internet address ...

Страница 23: ...t LAN Configuration applies to the wireless Ethernet Wi Fi interface An example of setting the Wireless Ethernet port to a static IP Address is shown in the following screen capture Figure 14 Configuring a Static IP Address on the Wireless Ethernet Port After making your changes scroll to the bottom of the screen and click Save Changes and then click Apply Changes Intel Gateway Solutions for the I...

Страница 24: ...of Network Connections Status Interfaces Using Secure Shell Session SSH to Login to the 4 8 Target Device Use the following steps to use a Secure Shell Session SSH to login from the Host System to the Target Device use these steps 1 Connect from the Host System to the Target Device on the wired or wireless Ethernet interface as explained in Section 3 5 or Section 3 6 2 Find the IP Address of the T...

Страница 25: ...to which the Target and Host systems are connected 3 Start the SSH session between the Host and Target Devices On a Linux Host System issue the command ssh ip address where IP Address is the IP Address of the Target Device You may need to add sudo to your ssh command for admin access On a Windows or Linux Host System use terminal software such as PuTTY to connect to the Target Device using the Tar...

Страница 26: ...ent Host Distributions to ensure that you have installed the appropriate packages and that your system meets the minimum operating system requirements The document is included on the USB flash drive in the documents folder and is called Recommended Hosts List_5 0 1 pdf Note These instructions were validated on an Ubuntu 12 04 LTS 64 bit Host System Host System Hardware Recommendations 5 2 The foll...

Страница 27: ...ed by the installation process The installation requires approximately 15 GB of free disk space 5 3 2 Wind River Host Tools License You must have a temporary License Authentication Code or a permanent License Authentication File to install the Intelligent Device Platform host tools For Early Access kits instructions to obtain a temporary License Authentication Code are included in the Dear Custome...

Страница 28: ...R181165 1 1 00 folder and run the setup_linux executable An Installer window opens Use commands cd DVD R181165 1 1 00 setup_linux 5 On the Installer pop up window select the Wind River Host Tools install location Use the Browse button select the WindRiver folder you created in Section 4 3 1 or enter the complete path to that folder 6 On Online Update Settings page keep the default boxes checked 7 ...

Страница 29: ...mation 12 On the Choose Installation Filters screen select only Intel 13 On the Select Products screen keep the default selections 14 When the License Agreement window pops up click I ACCEPT to accept the standard license agreement and the product evaluation license agreement for Wind River Linux and Intelligent Device Platform 15 On the Confirm and Install page click Install Note The download and...

Страница 30: ...older Project build cache The folder where the build cache is stored Using a build cache can significantly reduce the time required to build the project after incremental changes are made The build requires approximately 10 GB of free space in this folder Create these folders before proceeding You can substitute different names for these folders if desired Use these commands to create the folders ...

Страница 31: ... take a few minutes to complete Build the Target Device Runtime Software 6 3 When the Configure command is finished build the Target Device runtime OS by issuing the following commands from the Project folder cd HOME Project make fs This builds the Linux runtime system and generates the runtime components that can be installed on your Target Device The software images and a script to deploy the im...

Страница 32: ...ind River Host Tools as described in Section 5 The new image is created in the directory HOME Project export Note Before using the backup image copy the entire backup directory from the USB flash drive to the Host System Writing the Micro SD Flash Card 7 2 Use these steps to program a Target Device runtime image onto a micro SD card or to a USB Flash Drive 1 In a Linux terminal window on the Host ...

Страница 33: ... Device insert the micro SD flash card 6 Plug in the power adapter to boot the Target Device Changing Default Boot 7 3 After the Target Device boots with the new image the default boot is set to USB not the MMC card See the following figure Figure 18 Target Device Boot Device Menu Default Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 33...

Страница 34: ...ption Changed to MMC Once booted on the Target Device edit boot grub grub conf Put MMC before USB See the following two figures This changes the boot order so that MMC is the primary boot option in grub After power cycling the Target Device the default boot device will now be MMC Figure 20 GRUB Configuration Original grub conf Intel Gateway Solutions for the IoT Development Kit DK50 Getting Starte...

Страница 35: ...alling Software on the Target Device Figure 21 GRUB Configuration Updated grub conf Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 35 ...

Страница 36: ... the Development Kit is on the USB flash drive in the backup directory DediProg Programmer Information 8 1 See www DediProg com to purchase a DediProg SPI Flash programmer The SF100 SF600 and SF600Plus models are compatible with the Target Device The Target Device uses a 2X4 2 54mm ISP pin header on the board Obtain the cables necessary to plug into this header Figure 22 DediProg SF100 Flash Progr...

Страница 37: ...board Warning Before updating the firmware save a backup copy of the existing firmware See Section 7 3 for instructions 1 Disconnect the power supply from the Target Device 2 Identify the 7 pin SPI header on the Target Device See the red arrow in the figure below Figure 23 DediProg Header on the Target Device Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Gui...

Страница 38: ... USB connection of the DediProg Flash Programmer to the Host PC The DediProg software must already be installed on the Host System You will see a pop up message similar to the one shown below Select W25Q64FV and click OK Figure 25 Flash Memory Selection Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 38 Document Number 330496 005 ...

Страница 39: ...gure below Figure 26 DediProg Programming Software Graphical User Interface GUI 6 Save a backup copy of the existing firmware See Section 7 3 for instructions Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 39 ...

Страница 40: ...t the binary image that you want to flash The figure below shows the file galileo bin is selected Click OK Figure 27 Load File Dialog Box Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 40 Document Number 330496 005 ...

Страница 41: ... the DediProg cable from the header on the Target Device Backing Up the Firmware 8 3 Use the following steps to make a backup copy of the firmware that is on the micro SD card 1 Disconnect the power supply from the Target Device 2 Identify the 7 pin SPI header on the Target Device See the red arrow in the figure below Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting St...

Страница 42: ... the Target Device 3 Connect the DediProg to the Target Device as shown in the figure below Figure 30 Connection from DediProg to Target Device Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 42 Document Number 330496 005 ...

Страница 43: ...stem The DediProg software must already be installed on the Host PC You will see a pop up message similar to the one shown below Select W25Q64FV and click OK Figure 31 Flash Memory Selection Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 43 ...

Страница 44: ...ediProg GUI should start as shown in the figure below Figure 32 DediProg Programming Software Graphical User Interface GUI Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 44 Document Number 330496 005 ...

Страница 45: ...een with SPI Flash Contents Displayed 7 Click Read The DediProg software reads the contents of the SPI flash memory and displays them in the window 8 Click Chip Buffer to File 9 Enter a file name when prompted The chip image is saved to the file Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 45 ...

Страница 46: ...ace eth0 is AA BB CC DD EE FF by default A fix for this erratum is planned in a future release of Target Device firmware See Section A 1 for a workaround 3 Continuous messages including error messages requesting hardware reset are displayed on command line interface after powering on the Target Device if Intel 7260 dual band wireless network adapter is installed Login with username as root and pas...

Страница 47: ...e Target Device It is labelled on the Ethernet port See the following figure Figure 34 Location of MAC Address on Target Device Ethernet Port 3 On the Host System edit galileo platform data ini This file is typically under HOME Project layers wr bsps intel quark recipes support spi layout tools files platform data 4 Change the string AABBCCDDEEFF to match the MAC address of the Target Device See t...

Страница 48: ... rebuild the firmware The firmware file Flash galileo 8M secured bin is created in HOME Project export images 7 Update the Target Device as described in Section 7 Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 48 Document Number 330496 005 ...

Страница 49: ...ver employees and customers who have active Support Maintenance Agreements Questions posted on the forums are visible to all users All users can contribute answers Both questions and answers can be edited by any user on the Knowledge Forums Refrain from posting proprietary confidential or controlled information on the Knowledge Forums Intel Corporation and Wind River Systems are not responsible fo...

Страница 50: ...NOTE If your issue is urgent or related to BSP development on a specific project create an issue ticket through Intel Premier Support instead of relying on this forum for answers The screen looks like this after you register and log in Figure 35 Display Knowledge Forum Introductory Screen B 3 Submitting Questions Use the following steps to ask a question on the forum 1 Click ASK YOUR QUESTION See ...

Страница 51: ...Flash Firmware Figure 36 Display Ask Question 4 Title your question Figure 37 Display Title Question Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 51 ...

Страница 52: ... as board processor SKU memory I O etc 6 Categorize your question Add IOT Gateway as a tag in addition to specific product tags This will allow the support team to track issues related Intel Gateway Solutions for the Internet of Things See the following figure Figure 38 Display Categorize Question Your selected tags display in a list You can add or remove tags as necessary See the following figure...

Страница 53: ...bing to Tags You can choose to subscribe to specific tags to receive email alerts for issues and updates to questions related to that tag category Use the following steps Click on your preferred email setting See the red box in the following figure Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 53 ...

Страница 54: ...re 41 Display Subscribe to Forum Tags 8 Click Change frequency of emails to set up how often you receive email messages Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 54 Document Number 330496 005 ...

Страница 55: ...on 5 3 1 Disk Space and Installation Folders and Section 6 1 Build Requirements If you used different directory names replace the directory names in the steps below with the directories that you created You followed the instructions in Section 6 Building the Intelligent Device Platform XT Runtime Software to install Intelligent Device Platform on your Host System You know how to deploy a runtime i...

Страница 56: ...Type the path or browse to your workspace folder Suggestion Use your home folder See the following figure Figure 42 Workspace Location Selection The application launches Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 56 Document Number 330496 005 ...

Страница 57: ...3 From the main menu click File New Wind River Workbench Project as shown Figure 43 Create a New Workbench Project Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 57 ...

Страница 58: ...the target operating system Choose Wind River Linux Platform Base 5 0 1 as shown Figure 44 Selecting Target Operating System Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 58 Document Number 330496 005 ...

Страница 59: ... Since your goal is to create a runtime image select Platform as the build type as shown Figure 45 Select Build Type Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 59 ...

Страница 60: ...e 46 Specify Project Name Note Important You must enable wr idp as an addon before selecting the RootFS type Make sure you correctly complete steps 7 8 Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 60 Document Number 330496 005 ...

Страница 61: ...ash Firmware 7 Click Add and select enable addons yes no addon as shown below Figure 47 Enable Addons Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 61 ...

Страница 62: ... wr idp and then click the Reload button See the following figure Note If you do not click Reload you cannot use glibc idp as the RoofFS type Figure 48 Reload Configurations Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 62 Document Number 330496 005 ...

Страница 63: ...rget Device If you are unsure of your selection see the configure command you used in Section 6 2 Wind River Linux Configure Command Look for the parameter enable board xxx where xxx is the Board that you need to select 11 For Kernel select standard Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 63 ...

Страница 64: ...SPI Flash Firmware 12 You are ready to add layers Click Add as shown below Figure 50 Add Layers Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 64 Document Number 330496 005 ...

Страница 65: ...Firmware 13 Select wr intel support as shown in below and then click Reload Figure 51 Add wr intel support Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 65 ...

Страница 66: ... SPI Flash Firmware 14 Select to add the wr mcafee layer as shown Figure 52 Add wr mcafee Layer Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 66 Document Number 330496 005 ...

Страница 67: ...additional layers as needed When you are done click Finish to finalize your configuration Figure 53 Finalize Configuration Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 67 ...

Страница 68: ...ll show a progress screen similar to the following while it executes Execution will take a few minutes Figure 54 Configuration Script Progress Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 68 Document Number 330496 005 ...

Страница 69: ...summary similar to the following Figure 55 Build Configuration Completed You are ready to build your project Follow the steps in the next section Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 69 ...

Страница 70: ...s to build your project The build took approximately 4 hours on a test system that was running an Intel quad core i7 4900 processor at 2 8GHz with Intel Hyper Threading technology and 8 GB RAM 1 From the main menu select Project Build Project Figure 56 Build Project Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 70 Document Number 330496 005 ...

Страница 71: ...sh Firmware The project build begins and displays a progress window Figure 57 Build Project in Progress Intel Gateway Solutions for the IoT Development Kit DK50 October 2014 Getting Started Guide Document Number 330496 005 71 ...

Страница 72: ...oks similar to the following Figure 58 Workbench Config Log The following figure shows the output of the Build Console Figure 59 Build Console Displaying Project Completion 3 Deploy your project to your Target Device Intel Gateway Solutions for the IoT Development Kit DK50 Getting Started Guide October 2014 72 Document Number 330496 005 ...

Отзывы: