NXP Semiconductors Document Number: QORIQLS1012ASDK03 Rev. 0, Aug 2016 QorIQ LS1012A SDK v0.3 Contents Contents Chapter 1 SDK Overview................................................................................ 8 1.1 What's New.......................................................................................................................... 8 1.2 Components.........................................................................................................................8 1.3 Known Issues.......................................................................................................................9 Chapter 2 Getting Started with Yocto Project.............................................11 2.1 Yocto SDK File System Images..........................................................................................11 2.1.1 fsl-image-minimal.................................................................................................................11 2.1.2 fsl-image-mfgtool................................................................................................................. 11 2.1.3 fsl-image-full........................................................................................................................12 2.1.4 fsl-image-core......................................................................................................................12 2.1.5 fsl-image-virt........................................................................................................................13 2.2 Essential Build Instructions................................................................................................13 2.2.1 Install the SDK.................................................................................................................... 13 2.2.2 Host Environment............................................................................................................... 14 2.2.3 Setup Poky..........................................................................................................................15 2.2.4 Builds.................................................................................................................................. 15 2.3 Additional Instructions for Developers................................................................................16 2.3.1 Customizing U-Boot............................................................................................................ 16 2.3.2 Customizing Linux Kernel................................................................................................... 17 2.3.3 Patching Packages..............................................................................................................18 2.3.4 Extract Source Code...........................................................................................................19 2.3.5 Customize Root Filesystem.................................................................................................19 2.3.6 Native Packages................................................................................................................. 20 2.3.7 Standalone Toolchain......................................................................................................... 20 2.3.8 Shared State(sstate) Cache ...............................................................................................21 2.3.9 Yocto FAQ........................................................................................................................... 21 2.3.10 BitBake User Manual........................................................................................................ 23 Chapter 3 Software Deployment Guides.....................................................24 3.1 Introduction........................................................................................................................24 3.2 Basic Host Set-up..............................................................................................................24 3.3 Target Board Set-up...........................................................................................................25 3.4 Boards............................................................................................................................... 27 3.4.1 LS1012ARDB...................................................................................................................... 27 3.4.1.1 Overview............................................................................................................................... 27 3.4.1.2 Switch Settings......................................................................................................................27 3.4.1.3 U-Boot Environment Variables.............................................................................................. 27 3.4.1.3.1 U-Boot Environment Variable "hwconfig"................................................................27 3.4.1.3.2 Configuring U-Boot Network Parameters............................................................... 28 3.4.1.4 RCW (Reset Configuration Word) and Ethernet Interfaces................................................... 28 3.4.1.5 System Memory Map............................................................................................................ 29 3.4.1.6 Flash Bank Usage.................................................................................................................29 3.4.1.7 Programming a New U-Boot and RCW................................................................................. 31 3.4.1.8 Deployment........................................................................................................................... 31 3.4.1.8.1 Ramdisk Deployment from TFTP........................................................................... 31 3.4.1.8.2 Ramdisk Deployment from Flash........................................................................... 32 QorIQ LS1012A SDK v0.3, Rev. 0, August 2016 2 NXP Semiconductors Contents 3.4.1.8.3 NFS Deployment.................................................................................................... 33 3.4.1.8.4 SD Deployment...................................................................................................... 33 3.4.1.9 Check 'Link Up' for Serial Ethernet Interfaces....................................................................... 34 3.4.1.10 Basic Networking Ping Test.................................................................................................35 3.4.2 FRDM-LS1012A.................................................................................................................. 44 3.4.2.1 Switch Settings..................................................................................................................... 44 3.4.2.2 U-Boot Environment Variables..............................................................................................45 3.4.2.2.1 U-Boot Environment Variable "hwconfig"............................................................... 45 3.4.2.2.2 Configuring U-Boot Network Parameters...............................................................45 3.4.2.3 RCW (Reset Configuration Word) and Ethernet Interfaces...................................................46 3.4.2.4 System Memory Map............................................................................................................46 3.4.2.5 Flash Bank Usage................................................................................................................ 46 3.4.2.6 Programming a New U-Boot and RCW.................................................................................47 3.4.2.7 Deployment...........................................................................................................................48 3.4.2.7.1 Ramdisk Deployment from TFTP........................................................................... 48 3.4.2.7.2 Ramdisk Deployment from Flash............................................................................48 3.4.2.7.3 NFS Deployment.................................................................................................... 49 3.4.2.8 Check 'Link Up' for Serial Ethernet Interfaces...................................................................... 50 3.4.2.9 Basic Networking Ping Test..................................................................................................51 Chapter 4 System Recovery.........................................................................55 4.1 Environment Setup............................................................................................................ 55 4.1.1 Environment Setup (Common)............................................................................................55 4.2 Image Recovery.................................................................................................................55 4.2.1 Recover system with already working U-Boot.....................................................................55 4.2.2 Recover system using CodeWarrior Flash Programmer..................................................... 56 Chapter 5 About Yocto Project.................................................................... 59 5.1 Yocto Project Quick Start................................................................................................... 59 5.2 Application Development Toolkit User's Guide.................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages294 Page
-
File Size-