RakunLS1, Qseven SBC module with LS1021A

Similar documents
Oxalis Getting Started

User s Manual for the Boundary Devices Nitrogen R board

Use U-Boot. U-Boot Main Commands. U-Boot script capability

LTIB for i.mx28, a step-by-step guide

phycore -XScale/PXA270 Development Kit (KPCM-027) Loading a Linux Image (demo.img)

Pronto PicOS 1.4 Installation Reference Guide

SparkGate7 Quick startup guide

COMX-P4080. Release Notes L69C February 2011

NADK Reflector Application Debug

VortiQa Enterprise Quick Start Guide

Yocto Project and OpenEmbedded training 3-day session

Wind River Pulsar Linux Quick Start For Avnet Zynq Version 7.0

RN2483_Silica Documentation

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1.

Getting Started with BeagleBoard xm

400AP Application Note Uploading Firmware Images to 400AP NAND Flash Models

T4240RDB Quick Start Guide

i.mx31 3-Stack Platform Linux SDK Standard Release Package User s Guide

Track Two Building an Internet Radio with the TI Sitara AM3517 using LinuxLink

SABRE Board for Smart Devices

Track Three Building a Rich UI Based Dual Display Video Player with the Freescale i.mx53 using LinuxLink

MCAM335x Linux User's Guide

High-Performance, Highly Secure Networking for Industrial and IoT Applications

30-Mar What's New in SDK V Highlights

Get Started SUPPORT WARRANTY. Visit the i.mx community at

ConnectCore 6 Android/Yocto. Getting Started Guide

ConnectCore 6 U-Boot Customizations. Reference Manual

TQ2440 Development Platform Manual

Session Overview. Background Integration Mender libostree (aktualizr) SWUpdate resin.io

Introduction to Sitara AM437x Processors

TAKES CONTROL. Managing and monitoring the whole CoaxData network from a single device COAXBOX (REF )

RZ/G Verified Linux Package V2.1.0-RT

Pengwyn Documentation

SCM-i.MX 6 Series Yocto Linux User's Guide

CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA Hardware Board Getting Started Guide

1. Conventions in this tutorial Introduction Check and change configuration settings as needed Start Digi ESP...

AFD4400 Reference Design Board Quick Start

Micetek International Inc. Professional Supplier for PowerPC Development Tools

P1010RDB-PB Quick Start Guide

TWR-LS1021A Getting Started

Early Software Development Through Emulation for a Complex SoC

LS9200 User Guide LinkSprite Technologies, Inc.

Getting Started U-boot

Q7M EVK (Q7M120


OMAP3530 has 256MB NAND flash in PoP (PoP: Package-On-Package implementation for Memory Stacking) configuration.

Track One Building a connected home automation device with the Digi ConnectCore Wi-i.MX51 using LinuxLink

QorIQ FRDM-LS1012A board Getting Started Guide

Quick Start Guide for i.mx28 EVK. i.mx28 EVK Multimedia and connectivity

Development Environment Embedded Linux Primer Ch 1&2

COM-RZN1D - Hardware Manual

In this video, I will be covering DM385 IPNC RDK out of box demo-- Here, I'll be showing flashing the uboot using prebuilt binaries available in RDK--

i.mx 6UltraLite Evaluation Kit Quick Start Guide s datasheet has been downloaded from at this pag

Your Strategic Partner for Renesas RZ/G1x Products & Solutions

TWR-LS1021A Getting Started

MicroZed Open Source Linux In System QSPI Programming Tutorial

Renesas Koelsch Hardware Setup and Software Installation

ODP Reflector Application Debug

Parallella Linux - quickstart guide. Antmicro Ltd

MYD-IMX28X Development Board

Linux. For BCT TM1 / HB5. User Guide. Document Reference: BCTTM1HB5 Linux User Guide. Document Issue: 1.2. Associated SDK release: 1.

Embedded lightweight unix

TIPS FOR SILICON BRING-UP OF QORIQ LS1 PROCESSOR FAMILY

Micetek International Inc. Professional Supplier for PowerPC Development Tools

i.mx 6ULZ Migration Guide

MYD-IMX28X Development Board

MIL-STD-1553 (T4240/T4160/T4080) 12/8/4 2 PMC/XMC 2.0 WWDT, ETR, RTC, 4 GB DDR3

DTK2410 Specification

Raspberry Pi Network Boot

SheevaPlug Development Kit Reference Design. Rev 1.2

How to download a new Linux O/S Image File

Jade IdeaBoxx. Product Manual

Booting Linux Fast & Fancy. Embedded Linux Conference Europe Cambridge, Robert Schwebel

MYD-Y6ULX Development Board

Setup Macronix NAND Flash on Freescale i.mx28 EVK

Jade IdeaBoxx. The quickstart kit to jumpstart development. Fujitsu Semiconductor America Inc.

GrapeBoard User Manual

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

SCM EVK (SCM120

MYD-JA5D2X Development Board

NXP i.mx 6 UltraLite Evaluation Kit Edge MicroServer Installation and Setup Guide. Version 1.0

SABRE for Automotive Infotainment Quick Start Guide. Smart Application Blueprint for Rapid Engineering Based on the i.mx 6 Series

SAM A5 ARM Cortex - A5 MPUs

TITAN AEL Embedded Linux Development Kit. Quickstart Manual

LC1628-L High-Speed USB Flash Disk Controller Preliminary Data Sheet

Open Industrial Linux User Guide

Open Industrial Linux User Guide

Avnet Zynq Mini Module Plus Embedded Design

EM210 Linux User Manual

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11

ARM Powered SoCs OpenEmbedded: a framework for toolcha. generation and rootfs management

Item Number Item Name Qty conga-qeval/qseven each

Overview for Axxia 5600 and Axxia 6700

IPL+UBI: Flexible and Reliable with Linux as the Bootloader

Configure QSPI Bus Width and Frequency in Pre-Boot Loader Stage on QorIQ LS Series Processors

Release Notes of the QNX BSP for AMCC PPC440 EP/GR Evaluation Kit (EVK) Trunk#

MYC-C7Z010/20 CPU Module

MIL-STD-1553 (T4240/T4160/T4080) 12/8/4 2 PMC/XMC 2.0 WWDT, ETR, RTC, 4 GB DDR3

ovirt Node June 9, 2012 Mike Burns ovirt Node 1

Reducing Time-to-Market with i.mx6-based Qseven Modules

Transcription:

RakunLS1, Qseven SBC module with LS1021A Software user manual $HeadURL: https://svn.borea.si/svn/docs/rakun/docs/rakunls1_sw_um.fodt $ $Rev: 932 $ $Date: 2015-10-15 16:02:53 +0200 (čet, 15 okt 2015) $

TABLE OF CONTENTS 1 GENERAL... 5 1.1 ABOUT THIS DOCUMENT... 5 1.2 REVISION HISTORY... 5 1.3 ACRONYMS AND ABBREVIATIONS... 5 2 INTRODUCTION... 6 2.1 DEVICE OVERVIEW...6 3 BUILDING SOFTWARE... 7 3.1 Installing SDK...7 3.2 Add support for Rakun LS1... 7 4 BUILDING SOFTWARE IMAGES... 8 5 DEPLOY IMAGES TO TARGET... 9 5.1 SD card... 9 5.1.1 Using target platform... 9 5.1.2 Using development host... 10 6 BOOT TARGET... 11 Rakun LS1 Qseven module, Software user manual 2

ILLUSTRATION INDEX Rakun LS1 Qseven module, Software user manual 3

INDEX OF TABLES Table 1: Revision history... 5 Table 2: Acronyms...5 Rakun LS1 Qseven module, Software user manual 4

1 GENERAL 1.1 ABOUT THIS DOCUMENT This document describes software implementation of the RakunLS1 Qseven module. 1.2 REVISION HISTORY Revision Date Notes 1.0 15. October 2015 Initial version Table 1: Revision history 1.3 ACRONYMS AND ABBREVIATIONS Acronym SDK Meaning Software Development Kit Table 2: Acronyms Rakun LS1 Qseven module, Software user manual 5

2 INTRODUCTION 2.1 DEVICE OVERVIEW RakunLS1 is a Single Board Computer based on Freescale s LS1021A processor, member of the QorIQ Layerscape 1 family. It features up to 5000 CoreMarks of CPU power, 1GB DDR3L memory with ECC, 1GB NAND Flash memory, 32MB qspi NOR flash, 10/100/1000 Ethernet PHY, 4 6Gb/s SerDes Lanes used for SGMII/PCIe/SATA, PWM channels, CAN bus, UARTs etc. It is in a Qseven form factor and offers interfaces, used in telecom and industrial applications. It runs Linux operating system. Rakun LS1 Qseven module, Software user manual 6

3 BUILDING SOFTWARE 3.1 INSTALLING SDK Download SDK from Freescale WEB side (NOTE: registration requested): Linux SDK for LS1021A v0.4: http://www.freescale.com/products/arm-processors/qoriq-arm-processors/qoriq-ls1021a-dual-core-processor-with-lcd-controller:ls1021a? fpsp=1&tab=design_tools_tab Uncompress download image and mount iso image with sources: $ sudo mount -o loop Freescale-Linux-SDK-for-LS1021A-Rev2-v0.4-SOURCE-20150803-yocto.iso /mnt/cdrom Execute install script from mounted source iso image (non-root user) and enter installation path (ensure that the current user has the correct permission for the install path): $ /mnt/cdrom/install Where do you want to install SDK? (/home/user) refered as <yocto_install_path> in the document Prepare host enviroment: $ cd <yocto_install_path> $./poky/scripts/host-prepare.sh For additional information refer to QorIQ_SDK_LS1021A_v0.4.pdf. 3.2 ADD SUPPORT FOR RAKUN LS1 To add support for Rakun LS1, patch needs to be applied on the top of QorIQ SDK LS1021A v0.4: $ cd <yocto_install_path> patch -p1 < <path_to_patch_file> Rakun LS1 Qseven module, Software user manual 7

4 BUILDING SOFTWARE IMAGES Run setup script to prepare build environment: $ cd <yocto_install_path> $ source./poky/fsl-setup-poky -m rakunls1 Start building predefined target image (u-boot, kernel, rootfs): $ cd <yocto_install_path>/build_rakunls1_release $ bitbake borea-image-networking To return to this build environment later (or from other terminal) execute: source /<yocto_install_path>/build_rakunls1_release/source_this Rakun LS1 Qseven module, Software user manual 8

5 DEPLOY IMAGES TO TARGET 5.1 SD CARD Images are written to SD card as RAW data (no filesystem used). Card layout: First block Number of blocks Description 0x8 0x7F8 U-Boot U-Boot Environment 0x900 0x3000 uimage 0x3900 0x100 uimage DTB 0x5000 0xB000 RAM RootFS 5.1.1 USING TARGET PLATFORM Deploy new images to SD card with target from U-Boot using TFTP server running in the network (and DHCP server or upgrade scripts needs to be changed). Copy build images to ftpserver. Files requested (located in <yocto_install_path>/build_rakunls1_release/tmp/deploy/images/rakunls1): U-Boot: u-boot-rakunls1.bin kernel: uimage-rakunls1.bin device tree: uimage-rakunls1.dtb RAM RootFS: borea-image-networking-rakunls1.ext2.gz.u-boot Setup U-Boot environment (type saveenv to store environment): setenv tftp_path 192.168.1.2:/tftpserver update to fit real scenario setenv sd_uboot_start_blk 0x8 setenv sd_uboot_size_blk 0x7F8 setenv sd_uimage_start_blk 0x900 setenv sd_uimage_size_blk 0x3000 Rakun LS1 Qseven module, Software user manual 9

setenv sd_dtb_start_blk 0x3900 setenv sd_dtb_size_blk 0x100 setenv sd_rootfs_start_blk 0x5000 setenv sd_rootfs_size_blk 0xB000 Prepare upgrade scripts: U-Boot: setenv uboot_upgrade 'dhcp 82000000 $tftp_path/u-boot-rakunls1.bin;mmc write 82000000 $sd_uboot_start_blk $sd_uboot_size_blk' kernel: setenv uimage_upgrade 'dhcp 82000000 $tftp_path/uimage-rakunls1.bin;mmc write 82000000 $sd_uimage_start_blk $sd_uimage_size_blk' device tree: setenv uimage-dts_upgrade 'dhcp 82000000 $tftp_path/uimage-rakunls1.dtb;mmc write 82000000 $sd_dtb_start_blk $sd_dtb_size_blk' root filesystem: setenv rootfs_upgrade 'dhcp 82000000 ${tftp_path}/borea-image-networkingrakunls1.ext2.gz.u-boot;mmc write 82000000 $sd_rootfs_start_blk $sd_rootfs_size_blk' Execute upgrade commands (NOTE: if not done properly, boot may fail. Use spare SD card.): U-Boot: run uboot_upgrade kernel: run uimage_upgrade device tree: run uimage-dts_upgrade root filesystem: run rootfs_upgrade 5.1.2 USING DEVELOPMENT HOST Deploy images with dd tool. Rakun LS1 Qseven module, Software user manual 10

6 BOOT TARGET Boot target board with image stored on SD card. U-Boot environment: setenv bootargs root=/dev/ram rw ramdisk_size=100144 console=ttylp0,115200 setenv firmware_load 'mmc read 82000000 $sd_uimage_start_blk $sd_uimage_size_blk;mmc read 8f000000 $sd_dtb_start_blk $sd_dtb_size_blk;mmc read 84000000 $sd_rootfs_start_blk $sd_rootfs_size_blk' setenv bootcmd 'run firmware_load;bootm 82000000 84000000 8f000000' Save U-Boot environment: saveenv Perform reset or run boot command: boot Rakun LS1 Qseven module, Software user manual 11

Rakun LS1 Qseven module, Software user manual 12