
LS1012A, LS1024A, LS1043A CUSTOMER TRAINING QorIQ LS1043A APPLICATION SOLUTION KIT (IoT, NAS, RGW) RICHIE PEARN Senior Principal Engineer FTF-DES-N1853 May 19, 2016 PUBLIC USE ABSTRACT • This session provides a demonstration led by the instructor that showcases how to develop end products using the Application Solution Kit (ASK) for QorIQ LS1043A processors. 1 PUBLIC USE #NXPFTF 1 PUBLIC USE #NXPFTF AGENDA • ASK Description • Designing with LS1012A, LS1024A, or LS1043A ASK • Using the ASK to Make RDB Binaries • Adding and Installing a Package • Adapting the ASK for Your Hardware • ASK Documentation 2 PUBLIC USE #NXPFTF 2 PUBLIC USE #NXPFTF ASK DESCRIPTION 3 PUBLIC USE #NXPFTF Software Products and Services Visit us in the Tech Lab – #247 Development Tools Runtime Products • VortiQa Software • CodeWarrior Solutions Accelerate Customer Time-to-Market Deliver Commercial Software, Support, Solutions Integration Services and Solutions Reference Services • Security • IOT Simplify Software Consulting Engagement with NXP Gateway • Hardened • OpenWRT+ Linux Create Success! Linux® Services • Commercial • Performance Tuning Support 4 PUBLIC USE #NXPFTF Find us online at www.nxp.com/networking-services SDK vs. ADK vs. ASK Complete Software Solutions / End-products • System Level Benchmarking • Customer Use: Deployed, differentiated end products and solutions (Broadband Home Router) Application Specific Software Product • Licensing, Maintenance and Support, Services • Targeted, Bundled Protocols and • Middleware Components Applications • Application Specific Support (Offload) Solutions Kit • Customer Use: Differentiation, TTM • Production use • Licensing, Maintenance and Support, Market Enablement Software Services • Standard Industry Benchmarking • Customer Use: Eval/Validate Si, • Reference for System development • Maintenance, Support, Services Applications • Enablement plus NW differentiation Development Kit Applications • Maintenance and Support plus Services Development Kit Offering Scope / Capability Capability / Scope Offering Software Software Software Development Kit Development Kit Development Kit Faster Time to Market / Greater customer value Pre-2013 2013 - 2014 2015+ 5 PUBLIC USE #NXPFTF Why Use the ASK • Production-tested targeted packages − Can give a real head-start on end-product • Gives access to BHR and NAS Fast Path, VoIP binaries and supporting software Linux Networking Line-rate throughput with little Interface to fast-path or limited additional CPU load Fast-path 6 PUBLIC USE #NXPFTF Application Solution Kits (ASK) – LS1 Smart Home Small Business Router Personal Storage Smart Health Broadband Home Wireless Personal Storage Industrial 4.0 Router storage Chip on Drive Smart Grid Mobile Broadband Router Media Gateway Networking Integrated Services Network Attached Mi-Fi Storage Consumer Wireless attached Internet of Things ofInternet Access Point Enterprise Access Point Security Gateway VoIP Appliance Network IoT ASK BHR ASK NAS ASK 7 PUBLIC USE #NXPFTF TR-069 CLI Web Interface BHR Application Solution Kit Framework Asterisk PBX • Turnkey Market Specific Solutions Application User Applications space Conntrack Monitor Wireless NXP Channel − Application, Middleware and SDK Samba integration Module (CMM) Access Point module HTTP DHCP SSL IKEv2 MoCA 2.0 VAPI − Full-featured and optimized Networking Server EN2710 packages iptables Bridging VLAN Telephony − Deployable directly or via ODM PPPoE Raw NAT/SPI 802.1d 802.1q Crypto PKI TEMPO partners Linux Networking WiFi TCP/IP Routing IPSec XFRM FCI SLIC − Systems Integration and core 802.11 Customization UART Flash SPI SATA Linux SDK PCIe Eth i/f ctrl Virtual Eth i/f USB • Target Markets Queue Mgr Host Interface TDM Voice API − Multi-Service Gateways Programmable RTP Relay Multicast IPSec HW Codec Processing (G.711, − Enterprise/Access Gateways G.729, EC G .168, Tone Data-Path IPv6/IPv4 Bridge NAT/ SPI Engine gen/Det, FPT, MPT) − WLAN Access-points Forwarder 802.1d Firewall Eth IP/UDP RTP/RTCP − Consumer/Prosumer NAS Ethernet PPPoE VLAN − Intelligent NIC adapters PFE DPAA 1.x − IoT Gateways NXP Proprietary Open-source SW 3rd-Party Components SDK Components 8 PUBLIC USE #NXPFTF Customer File Customer Customer Consumer NAS ASK Apps Management Media Server • Key Highlights Application Wireless space Samba NFS − HW offload delivers best-in-class NAS Access Point performance HTTP SSL DHCP IKEv2 Networking Server − Rich set of RAID & file-system support packages I/O, Co- Iptables File- dm- RAID processor NAT/SPI System crypt Drivers − Secure storage and secure access of Linux Networking Raw WiFi data core TCP/IP Routing IPSec XFRM Crypto PKI 802.11 − Optional VPU(ZN200) integration for UART Flash RAID SATA Linux hardware transcoding – delivers up to SDK PCIe Eth i/f ctrl 4 simultaneous HD channels Display USB L3/L4 RAID 5, 6 − Offloads Programmable TSO/LRO Jumbo Scatter- Checksu Parity HW offload frame Gather Data-Path m offload . LRO/TSO, Jumbo-frame, checksum Engine DMA . RAID parity calculation, DMA GE, 2.5GE Ethernet VLAN − Highly optimized storage stack PFE DPAA 1.x . Samba, NFS, HTTP, SSL . RAID 0, 1, 5, 6, JBOD support NXP Proprietary Open-source SW 3rd-Party Components SDK Components 9 PUBLIC USE #NXPFTF IoT ASK (Preliminary Info) Normal OS Secure OS Corporate trusted User Applications Trusted Normal application Application Application Payment space ® DRM trusted space Conntrack Monitor Module Global platform Trusted • ARM Trustzone execution environment TEE Supplicant application (CMM) client API application • SEC engine with symmetric and HTTP Raw Crypto DHCP SSL Global Platform Server PKI Networking API asymmetric crypto support packages Iptables Bridging TEE PPPoE Secure NAT/SPI 802.1d Driver Monitor TEE Core OP-TEE • stack Full-featured Op TEE stack WiFi TCP/IP Routing IPSec XFRM 802.11 − Secure OS TEE Functions/Libs UART Flash SPI SATA Linux − Secure key management SDK Virtual Eth PCIe USB Eth i/f ctrl i/f − Global platform API support Queue Mgr Host Interface Hardware Abstraction • Networking and upper application layers Layer RTP Relay Multicast IPSec IPv6/IPv4 NAT/ SPI − Feature rich and optimized networking Bridge 802.1d Forwarder Firewall ARM Trust Zone stack Architecture Ethernet PPPoE VLAN − Optional Pre integrated Partner OSGi and JVM layers for quick Time to Market LS1012 Silicon • Available later 2016 NXP Proprietary Open-source SW 3rd-Party Components SDK Components 10 PUBLIC USE #NXPFTF DESIGNING WITH LS1012A, LS1024A, AND LS1043A ASK 11 PUBLIC USE #NXPFTF OpenWRT ASK • Complete build and development environment OpenWRT project “chaos calmer 15.05” • Includes sources from the level of microloader, right up to user applications, e.g. Media server, Web GUI NXP OpenWRT ASK • New features and applications can be added Maintained by NXP − Often ready-made package sources are already on OpenWRT repository 12 PUBLIC USE #NXPFTF Example Packages in OpenWRT ASK • Includes: − DHCP server, DNS Resolver, ebtables, ethtool, Firewall (IPv4 and IPv6) and NAT, FTP Server, Httpd, IGMP Proxy, ip (Routing Control utility), ipsec-tools, IPv6 DNS Server Discovery Daemon, IPv6 MLD Proxy, IPv6 Multicasting Routing Daemon, IPv6 Routing Advertisement Daemon, net-tools-rarp, Network Interfaces, NTP Client, PPP (PPP Daemon), rp-pppoe relay • More complete list in software documentation • New packages are easy to add via OpenWRT package framework 13 PUBLIC USE #NXPFTF Release Archive Overview • There are 2 archives that are provided in the ASK − src-openwrt-ls1043a_0.7-rc1.tar.bz2 − dl-openwrt-ls1043a_0.7-rc1.tar.bz2 • src-openwrt-ls1043a_0.7-rc1.tar.bz2: − Default board configuration files − Makefiles, configuration files, patch files and scripts to build the toolchain, tools, kernel, packages, and generate the final images • dl-openwrt-ls1043a_0.7-rc1.tar.bz2: − Default downloads from OpenWRT and other repositories − Build system uses this directory of compressed images first before going to the web − Makes additional downloads unnecessary 14 PUBLIC USE #NXPFTF The Linux Kernel • Central part of the software bundle • Takes care of most low-level hardware functions, interrupt handling, task scheduling, low- level interface to fast-forward engine • Where most of the network packet processing is done • Code running inside the kernel can be compiled within the kernel image, or as a separate module loaded when necessary: − In the latter case, the kernel module sources can also be kept and compiled separately from the whole Linux source tree • Modified by NXP to: − Add support for booting on supported NXP devices − Support the various RDB H/W interfaces (Ethernet, SPI, PCIe, SATA, Flash memory, UART, GPIOs…), and external devices (e.g. L2 switch, WiFi, SLICs) − Improve performance in certain areas (mostly network processing) • Kernel version 3.19.3 currently used in latest LS1043A ASK 15 PUBLIC USE #NXPFTF Preparing the Development Environment • Run “make menuconfig” to check pre-requisites on your machine − Install missing packages e.g. sudo apt-get install <package_name> − git, automake 1.11.1, autoconf 2.65, auto-tools-dev 20050803.1, cpp, cvs, ctags, flex , g++, gcc, kernel 3.2.x, libtool 2.2.6b, libncurses5-dev, libncurses5, make 3.81, uuencode, zlib1g, zlib1g-dev, subversion , gawk, perl & python, lzop • Approximate required disk space for compiling the OpenWrt stable source is 8 GB • Build the system without super user privileges: − Running as “root” user not recommended to compile and install the software • Suggested to use Ubuntu 12.04 or later versions for development environment
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages40 Page
-
File Size-