Freescale Linux LS1043A SDK V0.5 for Qoriq Processors
Total Page:16
File Type:pdf, Size:1020Kb
Freescale Semiconductor, Inc. Document Number: QORIQSDKLS1 Reference Manual Rev A, 12/2015 Freescale Linux LS1043A SDK v0.5 For QorIQ Processors Contents Contents Chapter 1 SDK Overview................................................................................ 23 1.1 What's New.......................................................................................................................................23 1.2 Components..................................................................................................................................... 24 1.3 Known Issues................................................................................................................................... 27 Chapter 2 Getting Started with Yocto Project..................................................29 2.1 Essential Build Instructions...............................................................................................................29 2.1.1 Install the SDK....................................................................................................................29 2.1.2 Prepare the Host Environment........................................................................................... 29 2.1.3 Set Up Poky........................................................................................................................31 2.1.4 Builds..................................................................................................................................32 2.2 Additional Instructions for Developers..............................................................................................33 2.2.1 U-Boot.................................................................................................................................33 2.2.2 Linux Kernel........................................................................................................................34 2.2.3 Packages............................................................................................................................35 2.2.4 Customize Root Filesystem................................................................................................36 2.2.5 Native Packages.................................................................................................................37 2.2.6 Extract Source Code...........................................................................................................37 2.2.7 Standalone toolchain.......................................................................................................... 37 2.2.8 Shared State (sstate) Cache.............................................................................................. 38 2.2.9 How to use hob ..................................................................................................................38 2.2.10 FAQ.................................................................................................................................. 50 2.2.11 BitBake User Manual........................................................................................................53 Chapter 3 Deployment Guides........................................................................ 55 3.1 Introduction.......................................................................................................................................55 3.2 Basic Host Set-up.............................................................................................................................55 3.3 Target Board Set-up.........................................................................................................................57 3.4 Boards.............................................................................................................................................. 58 3.4.1 Overview.............................................................................................................................58 3.4.2 Switch Settings................................................................................................................... 58 3.4.3 U-Boot Environment Variables........................................................................................... 59 3.4.3.1 U-Boot Environment Variable “hwconfig”..............................................................59 3.4.3.2 Configuring U-Boot Network Parameters..............................................................59 3.4.4 RCW (Reset Configuration Word) ..................................................................................... 60 3.4.5 System Memory Map..........................................................................................................62 3.4.6 Flash Bank Usage.............................................................................................................. 63 3.4.7 Programming a New U-boot and RCW...............................................................................65 3.4.8 Deployment.........................................................................................................................66 3.4.8.1 FIT Image Deployment from TFTP....................................................................... 66 3.4.8.2 FIT Image Deployment from Flash....................................................................... 67 3.4.8.3 NFS Deployment...................................................................................................67 3.4.8.4 SD Deployment.....................................................................................................68 3.4.8.5 QSPI Deployment(only for QDS board)................................................................ 70 3.4.9 Check 'Link Up' for Serial Interfaces...................................................................................72 3.4.10 Basic Networking Ping Test..............................................................................................72 3.4.11 Hardware Setting for Special Purposes............................................................................73 Freescale Linux LS1043A SDK, Rev. A, Dec 2015 Freescale Semiconductor, Inc. Non-disclosure Agreement Required. 3 Contents Chapter 4 System Recovery........................................................................... 79 4.1 Environment Setup...........................................................................................................................79 4.1.1 Environment Setup (Common)........................................................................................... 79 4.2 Image Recovery............................................................................................................................... 79 4.2.1 Recover system with already working U-Boot.................................................................... 79 4.2.2 Recover system using CodeWarrior Flash Programmer.................................................... 80 Chapter 5 About Yocto Project........................................................................83 5.1 Yocto Project Quick Start................................................................................................................. 83 5.2 Application Development Toolkit User's Guide.................................................................................83 5.3 Board Support Packages - Developer's Guide.................................................................................83 5.4 Yocto Project Development Manual................................................................................................. 83 5.5 Yocto Project Linux Kernel Development Manual............................................................................ 83 5.6 Yocto Project Profiling and Tracing Manual..................................................................................... 84 5.7 Yocto Project Reference Manual......................................................................................................84 Chapter 6 Configuring DPAA Frame Queues................................................. 85 6.1 Introduction.......................................................................................................................................85 6.2 FMan Network interface Frame Queue Configuration......................................................................86 6.3 FMan network interface ingress FQs configuration..........................................................................86 6.4 Ingress FQs common configuration guidelines................................................................................ 87 6.5 Dynamic load balancing with order preservation - ingress FQs configuration guidelines................ 88 6.6 Dynamic load balancing with order restoration - ingress FQs configuration guidelines................... 89 6.7 Static distribution - Ingress FQs Configuration Guidelines...............................................................90 6.8 FMan network interface egress FQs configuration...........................................................................90 6.9 Accelerator Frame Queue Configuration..........................................................................................91 6.10 DPAA Frame Queue Configuration Guideline Summary................................................................92 Chapter 7 DPAA Primer for Software Architecture..........................................97 7.1 DPAA Primer...................................................................................................................................