Oxalis Getting Started

Similar documents
RakunLS1, Qseven SBC module with LS1021A

Parallella Linux - quickstart guide. Antmicro Ltd

PICO-i.MX6UL Development Platform for Android Things Quick Start Guide

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

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

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

SABRE Board for Smart Devices

User s Manual for the Boundary Devices Nitrogen R board

Zephyr Kernel Installation & Setup Manual

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Getting Started with BeagleBoard xm

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

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

Pengwyn Documentation

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

Yocto Project and OpenEmbedded training 3-day session

Wind River Pulsar Linux Quick Start For Avnet Zynq Version 7.0

GIGABYTE. Software Reference Guide for MP30 (APM) Platform R01. Document Version:

QorIQ FRDM-LS1012A board Getting Started Guide

ConnectCore 6 Android/Yocto. Getting Started Guide

Quick Start Guide Multisensory Enablement Kit i.mx 8QuadXPlus MEK CPU Board. Based on i.mx 8QuadXPlus Applications Processor

Jade IdeaBoxx. Product Manual

Avnet Zynq Mini Module Plus Embedded Design

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

SABRE Board for Smart Devices

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

Introduction to the Itron Riva Dev Kits

IOT-GATE-iMX7 Datasheet

NADK Reflector Application Debug

Getting Started with FreeRTOS BSP for i.mx 7Dual

Q7M EVK (Q7M120

DEVELOPMENT GUIDE AMOS-820. Linux BSP v

GrapeBoard User Manual

imx6 TinyRex Development Kit QUICK GUIDE

QUICK START GUIDE VAB-630. Android EVK v

Matrix 500 Quick Installation Guide

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--

LotOS Framework. Getting Started Guide for Banana Pi. Copyright (C) 2015 ilbers GmbH Revision 1.1,

10/02/2015 PetaLinux Image with Custom Application

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...

Glomation. Embedded Single Board Computer GESBC-3130S User s Manual

10/02/2015 PetaLinux Linux Image Network Connection

Intel Galileo gen 2 Board

Evaluation Board User Guide UG-604

Manually Mount Usb Flash Drive Linux Command Line Fedora

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

Renesas Koelsch Hardware Setup and Software Installation

TEK Series. Unique Expansion Possibilities. Power and Networking Expansion Module. Automation I/O Expansion Module

30-Mar What's New in SDK V Highlights

Embest SOC8200 Single Board Computer

MYD-Y6ULX Development Board

Item Number Item Name Qty conga-qeval/qseven each

D1 - Embedded Linux. Building and installing an embedded and real-time Linux platform. Objectives. Course environment.

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

Manually Mount Usb Flash Drive Ubuntu Server 12.04

SCM EVK (SCM120

MicroZed Open Source Linux In System QSPI Programming Tutorial

SparkGate7 Quick startup guide

OVERDRIVE Quick Start Guide. v.1.0

MicroZed Getting Started Guide Version 1.1

Manually Mount Usb Flash Drive Linux Command Line Redhat

Baltos ir Contact Online. More Pictures. Click on the thumbnails for the large picture

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Cyclone V SoC PCI-Express Root Port Example Design. Application Note

Kontron Global Software Center. Kontron Linux BSP for KTQM77/mITX R Page: 1/8 Revision: 1.00

MCAM335x Linux User's Guide

D1Y - Embedded Linux with Yocto

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

REVISION HISTORY...3 USING DEVELOPMENT KIT ADVANTAGES...4 BLOCK DIAGRAM...5 KEY FEATURES...6

. Micro SD Card Socket. SMARC 2.0 Compliant

DEVELOPMENT GUIDE QSM-8Q60. Linux BSP v

Quick Start Guide EX-9686U/A-L(A9) Copyright TOPSCCC Technology CO., LTD. All rights reserved

Compact form factor. High speed MXM edge connector. Processor. Max Cores 4. Max Thread 4. Memory. Graphics. Video Interfaces.

CDE460/470 IPMI Firmware Upgrade. Reviewers. Modification History

Digi Embedded Yocto 1.6. First Steps Guide

M-508 Quick Installation Guide. Screw: Φ 3 mm

DEVELOPMENT GUIDE VIA AMOS-825. Linux BSP v

ARDUINO YÚN MINI Code: A000108

DEVELOPMENT GUIDE. ARTiGO A820. Linux BSP v

MB/ Starter Kit: First Steps

SBC-S32V234 QUICK START GUIDE (QSG)

Quick Start Guide. SABRE Platform for Smart Devices Based on the i.mx 6 Series

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

OMAP-L138 experimenter Kit. QuickStart Guide O

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

Micetek International Inc. Professional Supplier for PowerPC Development Tools

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

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

Lab E2: bypassing authentication and resetting passwords

Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

EMBEDDED LINUX ON ARM9 Weekend Workshop

MYD-C7Z010/20 Development Board

Getting Started with PetaLinux SDK

Click-A-Tune. User Manual

System Manager Unit (SMU) Hardware Reference

TQ2440 Development Platform Manual

Overview for Axxia 5600 and Axxia 6700

This guide is used as an entry point into the Petalinux tool. This demo shows the following:

REVISION HISTORY... 2 REASONS USING DEVELOPMENT KIT...

Transcription:

Oxalis Getting Started Document: Document: Getting Started Content of the document: Version: 001 First steps to power up, the board, to run uboot, Creator: ANT/MSB build kernel and boot linux. Date: 01.12.2018 Release Status: Release Pages: 10

Table of Contents 1. 2. 3. 4. 5. 6. Scope of Document and Board Overview... 3 Scope of Delivery... 4 Required Equipment... 4 Resources and Information... 4 Running the Bootloader U-Boot... 5 Building an image from the NXP QoriQ Reference SDK... 6 6.1 Install and update the NXP Reference SDK... 7 6.2 Pull in the source code for Oxalis... 7 6.3 Get the BSP Layer... 7 7. Deploying the kernelitb ramdisk image to Oxalis... 8 7.1 Prepare Storage medium... 8 7.2 Load the Linux image into Oxalis s RAM... 9 7.3 Transfer Linux image from RAM to Flash... 9 8. 9. Configure Autoboot from QSPI... 9 Congratulations... 10 List of Figures Figure 1: Oxalis with SoM... 3 Figure 2: Putty... 5 List of Tables Es konnten keine Einträge für ein Abbildungsverzeichnis gefunden werden. Change index: Rev.: Date: Name: Adaptation: 001 01.12.2018 ANT/MSB Kick off Document Oxalis-Getting-Started_V001.docx 2 Of 10

96boards EE-Connector 1. Scope of Document and Board Overview After reading this document you will be able to power up the board, run the bootloader, build the Linux image and to run Linux from SD-Card or USB-Memory-Stick. msata FAN 12VDC JTAG ETH0 minipcie (bottom Side) MicroSD MicroUSB Terminal USB3.0 ETH1 Figure 1: Oxalis with SoM Oxalis is a modular development board compliant with the 96Boards Enterprise Edition (EE) Platform specification. Developed by SYSTART, the platform consists of a carrier board and a System on Module (SoM) based on the NXP Layerscape LS1012A processor, with a single ARM Cortex-A53 core running up to 800 MHz and 1GB of 16bit DDR3L memory. Implemented Interfaces: 2 Ethernet 2 USB 3.0 1 PCI-Express 1 SD-Card 1 SATA 4 User LEDs JTAG LS1012 Expansion Connector o UART o SPI o I2C o GPIO, Reset, Power button Oxalis-Getting-Started_V001.docx 3 Of 10

SYSTART provides an expansion board, Oxalis IO Breakout Board One (BB1) with all the interfaces listed under the expansion connector section above. This expansion connector can be used for small electronic applications and Oxalis interface verifications. 2. Scope of Delivery The following components are included in the delivery. Oxalis board LS1012A SoM mounted onto the Oxalis A plug fitting the 12V power jack on the board, in case you need to fashion a power supply cable. Leaflet with information sources. 3. Required Equipment 12V / 3A DC power supply Micro-USB cable USB Stick or MicroSD-Card A Windows, Linux or Mac computer with your favorite terminal software 4. Resources and Information For the sake of completeness, all sources of information are listed below. The required sources for working through this document are marked in bold. https://www.shop.systart.de/embedded Obtaining Oxalis Obtaining expansion boards Obtaining accessories https://www.ebs-systart.com/oxalis Binaries o Download Binary: kernel_stable.itb Datasheets Schematics, Assembly Drawings SDK Build Environment and Sources for beginners Links to other resources Oxalis-Getting-Started_V001.docx 4 Of 10

https://github.com/ebs-systart/oxalis Developer Information Source Codes Examples https://www.96boards.org/products/ee/ Developer Community and Forum Other 96boards Edition compliant resources https://www.nxp.com/ NXP-QoriQ Linux SDK v2.0 source o For the download you have to register with NXP. 5. Running the Bootloader U-Boot In this chapter you will learn how to power up the board and use U-Boot. Connect your computer to the Micro-USB port (X1) of the Oxalis via the Micro-USB cable. Your system should recognize the Oxalis as multiple devices, one of them called MBED. Start a terminal software on your computer (e.g. putty or minicom) with following settings o Baud rate 115200 o 8-N-1 (8 data bits - no parity bit - one stop bit) Figure 2: Putty Connect the Oxalis to the 12 Volt Power supply and switch it on Watch the LED next to the MicroUSB Connector X1 Oxalis-Getting-Started_V001.docx 5 Of 10

o During a data transmission, this LED flashes. On your terminal program you see the Oxalis going through the boot process... Hit one key to stop autoboot. Congratulations! You are running U-Boot now. 6. Building an image from the NXP QoriQ Reference SDK The following instructions assume you are running Linux and are well versed in using a terminal. On any other operating system we recommend installing VirtualBox from https://www.virtualbox.org or any other virtualization system that lets you run a Linux distribution. 1 You can also skip this whole chapter if you download the prebuilt kernel_stable itb image. 2 Quoting the NXP SDK Documentation: "Yocto Project supports typical Linux distributions: Ubuntu, Fedora, CentOS, Debian, OpenSUSE, etc. More Linux distributions are continually being verified. This SDK has been verified on following Linux distributions: Ubuntu 14.04, Oxalis-Getting-Started_V001.docx 6 Of 10

CentOS-7.1.1503, Debian 8.2, Fedora 22 and OpenSUSE 13.2" You can use other distros, notably a more current LTS Ubuntu, but then you get Warnings to ignore and patches to apply. It will not work out of the box. 6.1 Install and update the NXP Reference SDK The SDK is only available for download with an NXP.com account, which is free. (Detailed descriptions are on nxp.com). Download, unpack and install the NXP-QoriQ Linux SDK v2.0 source. Download and install the NXP-QoriQ Linux SDK v2.0 17.03 Upgrade. Change into your SDK directory using the linux console. Run../fsl-setup-env -m ls1012frdm Accept the EULA, you should now have been transferred into a directory called build_ls1012afrdm. Verify your installation state by running bitbake fsl-image-core (This will take a long time, depending on your system) If bitbake runs through without major errors, your installation of the Yocto SDK has been successful. The image that resulted from this test-build carries no Oxalis specific customizations but might be bootable on your board (not supported). 6.2 Pull in the source code for Oxalis Yocto is essentially a complete source tree of Linux and all its tools that can be changed and configured using a layering approach. EBS-SYSTART provides a BSP in the shape of a Yocto layer. If you want to understand what is happening in detail, refer to the Yocto documentation. 6.3 Get the BSP Layer Execute the following: $ cd <sdk-install-dir>/ $ mkdir systart $ cd systart $ git clone https://github.com/ebs-systart/meta-systart-oxalis $ source meta-systart-oxalis/scripts/oxalis-setup-env You should now have been switched into a new build directory $ sdk-install-dir>/build_oxalisls1012a Oxalis-Getting-Started_V001.docx 7 Of 10

(this is called the <build-dir> in the following sections). From here bitbake should be able to build these images: oxalis-image-kernelitb: Kernel, U-Boot and minimal Linux environment (BusyBox) ramdisk in U-Boot loadable format oxalis-image-core: RootFS image with core components oxalis-image-full: RootFS with full content of the yocto distribution, including GUI (very large, extreme build times, not supported). The bitbake process should take less time than before if you selected the core or kernel image. The best starting point is oxalis-image-kernelitb because of its compactness, its simplicity and the fact that our deployment guide assumes you have built it. Often you might want to build a complete distribution on a root filesystem on a larger storage medium than the 64MB onboard flash, then the -core and -full rootfs images are what you need. After the build you can find the images in: <sdk-install-dir>/<build-dir>/tmp/deploy/images/ls1012aoxalis/ 7. Deploying the kernelitb ramdisk image to Oxalis This chapter assumes you have successfully completed the above chapter 5 Running the Bootloader and can see the U-Boot console on Oxalis. It also assumes that you have successfully completed the chapter 6 Building an image from the NXP QoriQ Reference SDK or you have just downloaded the prebuilt kernel_stable.itb image. To boot Linux you have to execute three steps: Or Prepare storage medium Load the Linux image into Oxalis s RAM Transfer it into onboard flash memory for automatic booting Just boot Linux on-the-fly The onboard flash memory is 64MB in size. You should keep your Kernel and Ramdisk image below 55MB in size for unproblematic operation. (The first 5 MB of onboard flash are reserved for bootloader and initialization data.) 7.1 Prepare Storage medium Use your PC to prepare the storage medium as described below: Format the storage medium (SD-Card or USB-Memory-Stick) with fat32. Copy and rename the downloaded kernel_stable.itb image to kernel.itb and place it in the root folder of the storage medium. Oxalis-Getting-Started_V001.docx 8 Of 10

Ensure that the image has been fully written. Use Safe remove on Windows and the sync command on the linux console. Now you have a bootable Linux storage medium. 7.2 Load the Linux image into Oxalis s RAM Power down your Oxalis Insert the medium in the appropriate slot Power the Oxalis up again Watch the bootloader and stop autoboot loader Load the Kernel ramdisk into RAM: o SDard: fatload mmc 0 0x96000000 kernel.itb o USB Stick: usb start; fatload usb 0 0x96000000 kernel.itb 7.3 Transfer Linux image from RAM to Flash If the loading was successful, you can now boot directly with following commands: pfe stop; bootm 0x96000000 Now linux boots the minimal ramdisk environment and the login prompt will appear. Login with root and press enter. No password is required. Why the pfe stop command? The packet forwarding engine (PFE) is part of the hardware accelerated Ethernet subsystem of the LS1012A. It needs to be shut down before Kernel boot, so the Kernel code can reinitialize PFE for itself. 8. Configure Autoboot from QSPI If your ramdisk size is <50MB you can set up autobooting on the Oxalis, without any external storage devices necessary. This is possible by writing the ramdisk to Oxalis s onboard flash memory and configure U-Boot to automatically load the ramdisk from there and boot it. Press reset button and repeat the instructions in chapter 7.2 Load the Linux image into Oxalis s RAM. Flash it to QSPI using sf write 0x500000 0x96000000 $filesize Set boot command environment variable: $ setenv bootcmd run oxalissettings; run ramargs; pfe stop; sf probe; sf read 0x96000000 0x500000 $filesize; bootm 0x96000000 s $ saveenv Oxalis-Getting-Started_V001.docx 9 Of 10

The saveenv command writes the small bootcmd script into U-Boot s config area in onboard flash. Press the reset button and watch Oxalis autobooting. 9. Congratulations You are now running a full Linux Kernel with a minimal Linux environment called BusyBox on your Oxalis! From here it is possible to add your own applications, either by loading them via the network or by adding your own yocto layer (complex). The official BusyBox page is here: https://busybox.net Wikipedia has a very nice and concise explanation of what BusyBox actually is: https://en.wikipedia.org/wiki/busybox Oxalis-Getting-Started_V001.docx 10 Of 10