BBS on ATCA-F140 with SRS for WRL Programmer's Reference
Total Page:16
File Type:pdf, Size:1020Kb
BBS on ATCA-F140 with SRstackware® for Wind River Linux Programmer’s Reference P/N: 6806800N23W November 2019 © 2019 SMART Embedded Computing™, Inc. All Rights Reserved. Trademarks The stylized "S" and "SMART" is a registered trademark of SMART Modular Technologies, Inc. and “SMART Embedded Computing” and the SMART Embedded Computing logo are trademarks of SMART Modular Technologies, Inc. All other names and logos referred to are trade names, trademarks, or registered trademarks of their respective owners. These materials are provided by SMART Embedded Computing as a service to its customers and may be used for informational purposes only. Disclaimer* SMART Embedded Computing (SMART EC) assumes no responsibility for errors or omissions in these materials. These materials are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SMART EC further does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SMART EC shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation, lost revenues or lost profits, which may result from the use of these materials. SMART EC may make changes to these materials, or to the products described therein, at any time without notice. SMART EC makes no commitment to update the information contained within these materials. Electronic versions of this material may be read online, downloaded for personal use, or referenced in another document as a URL to a SMART EC website. The text itself may not be published commercially in print or electronic form, edited, translated, or otherwise altered without the permission of SMART EC. It is possible that this publication may contain reference to or information about SMART EC products, programming, or services that are not available in your country. Such references or information must not be construed to mean that SMART EC intends to announce such SMART EC products, programming, or services in your country. Limited and Restricted Rights Legend If the documentation contained herein is supplied, directly or indirectly, to the U.S. Government, the following notice shall apply unless otherwise agreed to in writing by SMART Embedded Computing. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (b)(3) of the Rights in Technical Data clause at DFARS 252.227-7013 (Nov. 1995) and of the Rights in Noncommercial Computer Software and Documentation clause at DFARS 252.227-7014 (Jun. 1995). SMART Embedded Computing, Inc. 2900 S. Diablo Way, Suite 190 Tempe, Arizona 85282 USA *For full legal terms and conditions, visit www.smartembedded.com/ec/legal Table of Contents About this Manual ...............................................................13 1 Introduction.................................................................21 1.1 Software Building Blocks ..................................................21 2 Installing Basic Blade Services Software.........................................25 2.1 Package Information ......................................................25 2.2 Configuring a TFTP Server .................................................27 2.2.1 Create /tftpboot Directory and Copy Target Files...........................27 2.3 Configuring ATCA-F140 for Network Booting ...................................28 2.4 Booting the ATCA-F140 Using a RAM Disk ....................................29 2.5 SATA and USB Disk Installation Procedure ....................................30 2.5.1 Configuring the Boot Parameters for Network Installation ....................30 2.5.2 Installing BBS on a SATA or USB Device ................................31 2.5.3 Configuring ATCA-F140 to Boot From SATA or USB Drive...................42 2.6 NFS Installation Procedure .................................................43 2.6.1 Configuring the NFS Server ...........................................43 2.6.2 Copying and Installing the Root File System ..............................43 2.6.3 Configuring the Boot Parameters for NFS ................................44 2.6.4 Installing the BBS RPMs .............................................45 2.7 Upgrading the FPGA Firmware .............................................46 2.8 Upgrading the BCM 8727/84740/84754 PHY Microcode ..........................47 3 Licensed Software Modules ...................................................49 3.1 Installation ..............................................................49 4 Firmware Upgrade Facility.....................................................55 4.1 Firmware Recovery Image Files .............................................55 4.2 Backup Concept .........................................................55 4.3 fcu–Firmware Upgrade Command-Line Utility ..................................56 4.4 Upgrading Firmware ......................................................60 4.4.1 Upgrading CPU Firmware ............................................60 4.4.2 Upgrading the Device-Tree Blob .......................................61 4.4.3 Upgrading the Kernel ................................................61 BBS on ATCA-F140 with SRstackware® for Wind River Linux Programmer’s Reference (6806800N23W) 3 Table of Contents 4.4.4 Activating the Backup Boot Bank .......................................61 4.4.5 Upgrading IPMC Boot Loader Firmware .................................62 4.4.6 Upgrading IPMC Firmware............................................63 5 Linux Distribution Description .................................................65 5.1 Reliability ..............................................................65 5.2 Login ..................................................................65 5.3 Network Services Configuration .............................................65 5.3.1 ATCA-F140 Ethernet Interfaces........................................66 5.3.2 DHCP Server ......................................................67 5.3.3 TFTP Server.......................................................67 5.3.4 SSH .............................................................67 5.4 Log File Management .....................................................68 5.4.1 Log Files..........................................................68 6 Hardware Platform Management................................................71 6.1 hpmagentd–HPM Agent Daemon ............................................72 6.2 hpm–Start-Up Script ......................................................74 6.3 hpm–Shutdown and Reboot Scripts ..........................................74 6.4 hpmcmd–HPM Command Utility .............................................75 6.4.1 Command Overview.................................................77 6.4.2 Supported Commands ...............................................79 6.4.2.1 bye ......................................................79 6.4.2.2 bootbankget ...............................................79 6.4.2.3 bootbankset ...............................................80 6.4.2.4 cmd .....................................................80 6.4.2.5 deviceid ..................................................81 6.4.2.6 ekeydownpath .............................................81 6.4.2.7 ekeyuppath ................................................81 6.4.2.8 exit ......................................................82 6.4.2.9 frudata ...................................................82 6.4.2.10 fruinfoget .................................................82 6.4.2.11 fruinv ....................................................83 6.4.2.12 fruread ...................................................84 6.4.2.13 fruwrite ...................................................84 6.4.2.14 help .....................................................85 6.4.2.15 ipmbaddress ...............................................85 4 BBS on ATCA-F140 with SRstackware® for Wind River Linux Programmer’s Reference (6806800N23W) Table of Contents 6.4.2.16 ipmcdevice ................................................85 6.4.2.17 ledget ....................................................85 6.4.2.18 ledprop ...................................................86 6.4.2.19 ledset ....................................................86 6.4.2.20 loglevelget ................................................88 6.4.2.21 loglevelset ................................................88 6.4.2.22 macaddress ...............................................89 6.4.2.23 motshelftype ...............................................89 6.4.2.24 muxctrl ...................................................89 6.4.2.25 partnumber ................................................90 6.4.2.26 physlotnumber .............................................90 6.4.2.27 portget ...................................................90 6.4.2.28 portset ...................................................91 6.4.2.29 posttypeget ................................................92 6.4.2.30 posttypeset ................................................93 6.4.2.31 quit ......................................................93 6.4.2.32 rebootpath ................................................93 6.4.2.33 sdr ......................................................93 6.4.2.34 sdr_dump .................................................94 6.4.2.35 sendcmd ..................................................95