Enabling DM_Crypt Functionality in SDK release 5.07

Size: px
Start display at page:

Download "Enabling DM_Crypt Functionality in SDK release 5.07"

Transcription

1 Enabling DM_Crypt Functionality in SDK release 5.07 This document lists steps to enable DM_Crypt functionality in SDK Note: This document is intended for use with SDK release 5.07 and Ubuntu 10.04LTS. If using a different release, certain steps such as the exportation of the PATH directory will be different. Proceed accordingly. Code Steps will be shown in Courier New Font. Assumptions: This tutorial assumes one has a clean install of SDK 5.07 and that setup.sh has been run with all needed setup scripts. Run create-sdcard.sh once on the chosen SD card once to create a fresh install for later modification. Note: Some SD card readers will automount the boot and rootfs filesystems as read only. These must be remounted as RW or else this tutorial will fail Building the Kernel In order to build the Linux kernel you will need a cross compiler installed on your system which can generate object code for the ARM core in your Sitara device. In the case of the AMSDK this compiler can be found inside of the SDK in the <sdk install dir>/linuxdevkit/bin directory. If you have not already done so you should add this compiler to your path by doing: export PATH="<sdk install dir>/linux-devkit/bin:$path" Where <sdk install dir> should be replaced with the directory where the SDK was installed. It is important that when using the GCC toolchain provided with the SDK or stand-alone from TI that you do NOT source the environment-setup file included with the toolchain when building the kernel. Doing so will cause the compilation of host side components within the kernel tree to fail. The following commands are intended to be run from the root of the kernel tree unless otherwise specified. The root of the kernel tree is the top-level directory and can be identified by looking for the "MAINTAINERS" file. Next, enter the kernel build directory and clean the kernel sources:

2 cd <sdk install dir>/board-support/linux psp make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- mrproper Configure the kernel for the default AM335x installation: make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabiam335x_evm_defconfig Next, it is important to further modify the kernel configuration to enable DM_Crypt. Enter menuconfig. make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- menuconfig Enter Device Drivers Press Y to enable Multiple devices driver support (RAID and LVM) Press enter and Y to enable Device mapper support (NEW) Press Y to enable Device mapper debugging support (NEW) Press Y to enable Crypt target support (NEW) Hardware Acceleration for Crypto should be enabled by default. Affirm that Cryptographic API->Hardware crypto devices is enabled Affirm that Cryptographic API->Hardware crypto devices->support for OMAP4 AES hw engine is enabled Affirm that Cryptographic API->Hardware crypto devices->support for OMAP4 SHA/MD5 hw engine is enabled Exit menuconfig and build the kernel. This should take around 10 minutes. make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- uimage

3 This will result in a kernel image file being created in the arch/arm/boot/ directory called uimage. This file should be copied over to the /boot partition of your SD card. Another uimage should be overwritten.

4 Cross Compiling Cryptsetup export PATH="<SDK INSTALL DIR>/linux-devkit/bin:$PATH" source <SDK INSTALL DIR>/linux-devkit/environment-setup cd <SDK INSTALL DIR>/linux-devkit/arm-arago-linux-gnueabi Cross compile libgpg-error wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.9.tar.bz2 bzcat libgpg-error-1.9.tar.bz2 tar xv cd libgpg-error-1.9./autogen.sh./configure --enable-static --host=arm-arago-linux-gnueabi --prefix=< mount-point of sd-card root>/usr (NOTE: The command above will likely look something like./configure --enable-static --host=arm-arago-linux-gnueabi -- prefix=/media/rootfs/usr) make make install cd../ NOTE: there should be no compilation-halting failures Cross compile libgcrypt wget ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt tar.bz2 bzcat libgcrypt tar.bz2 tar xv cd libgcrypt /autogen.sh./configure --enable-static --host=arm-arago-linux-gnueabi --prefix=< mount-point of sd-card root>/usr --with-gpg-error-prefix=<mount-point of sd-card root>/usr make make install cd../ NOTE: there should be no compilation-halting failures

5 Cross compile LVM2 wget ftp://sources.redhat.com/pub/lvm2/lvm tgz tar xzvf LVM tgz cd LVM export ac_cv_func_malloc_0_nonnull=yes c_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes./configure --host=arm-arago-linux-gnueabi --enable-static --enablelvm1_fallback --enable-fsadm --with-clvmd=cman --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-dmdir=devicemapper.0 --with-device-uid=0 --with-device-gid=6 --with-devicemode= enable-pkgconfig --with-static-link --with-clvmd=none -- with-pool=none --with-cluster=none --with-snapshots=none --withmirrors=none --prefix=<mount-point of sd-card root>/usr make make install cd../ NOTE: there should be no compilation-halting failures Cross compile cryptsetup wget bzcat cryptsetup tar.bz2 tar xv cd cryptsetup c_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes./configure --host=arm-arago-linux-gnueabi --build=arm-linux --enablestatic --prefix=<mount-point of sd-card root>/usr --with-libgcryptprefix=<mount-point of sd-card root>/usr make make install cd../ NOTE: there should be no compilation-halting failures

6 Using Cryptsetup Remove the SD card from your computer and place it in the SD card port on the AM335x EVM. This tutorial assumes a USB drive has enumerated to /dev/sda1. It is also possible to mount a loopback device (/dev/loop0) as an encrypted partition or the RAM (/dev/ram0) if one wishes. To create and mount encrypted partition: cryptsetup --cipher aes-cbc-null --key-size hash sha256 luksformat /dev/sda1 cryptsetup luksopen /dev/sda1 enc-pv mke2fs -T ext2 /dev/mapper/enc-pv mount /dev/mapper/enc-pv /mnt To mount an already created encrypted partition: cryptsetup luksopen /dev/sda1 enc-pv mount /dev/mapper/enc-pv /mnt To unmount an encrypted partition: umount /mnt cryptsetup luksclose enc-pv Verification of Hardware Crypto Accelerators for Cryptsetup To verify that Hardware Accelerators (referred to as HWA) are active at all, run time -v openssl speed -evp aes-128-cbc -engine cryptodev If HWA are active, the Percent of CPU this job got: should be around 40-50% If HWA are inactive, the Percent of CPU this job got: should be around 80-90%

7 Now that HWA are confirmed to be active, they need to be confirmed active and functioning for cryptsetup. For this task, there are two recommended methods. One checks for HWA routines in memory and requires an external JTAG and access to code composer. The other is an empirical approach that checks for an excessive number of EDMA IRQs (IRQ #12). The first approach should be used to confirm if the equipment is available since it is a more guaranteed method. HWA Routine Method Connect a JTAG emulator to the AM335x and connect in code composer to ARM A8 while running linux. If code composer is resetting the AM335x memory on connection, comment out the internals of the OnTargetConnect() function in the used ARM A8 GEL file. This will prevent the gel file from initializing the AM335x on connection so the memory of the actively running linux will not be reset. Open View->Disassembly To find where to put the hardware breakpoints for the HWA functions, use the leftmost column of the following functions ran in linux: cat /proc/kallsyms grep omap4_aes_cbc_encrypt cat /proc/kallsyms grep omap4_aes_crypt cat /proc/kallsyms grep omap4_aes_cbc_decrypt Place hardware breakpoints at these locations and mount an encrypted filesystem. cd <mount-point of encrypted filesystem> dd if=/dev/zero of=bigfile bs=1m count=100 This is an example of creating a file in the encrypted filesystem. One should now observe the omap4_aes_cbc_encrypt and omap4_aes_crypt breakpoints being activated in code composer. cat /mnt/bigfile This is an example of reading a file from the encrypted filesystem. One should now observe the omap4_aes_cbc_decrypt breakpoint being activated in code composer.

8 EDMA Observation Method Mount an encrypted filesystem and enter the directory. cd <mount-point of encrypted filesystem> Note the number of EDMA interrupts that have occurred using the following: cat /proc/interrupts Create a file in the encrypted file system using the following: time v dd if=/dev/zero of=bigfile bs=1m count=100 Note the number of EDMA interrupts that have now occurred using the following: cat /proc/interrupts Subtract the number of EDMA interrupts from the second /proc/interrupts call from the first /proc/interrupts call and divide by the number of wall seconds given from the time v dd command. If the number of EDMA interrupts per wall second is above 1000, it is highly likely that cryptsetup is using the HWA drivers. Perform this trial multiple times to remove false positives and negatives.

Pengwyn Documentation

Pengwyn Documentation Pengwyn Documentation Release 1.0 Silica October 03, 2016 Contents 1 Introduction 3 1.1 Platforms................................................. 3 1.2 Hardware requirements.........................................

More information

Linux U-Boot and Kernel Users Guide

Linux U-Boot and Kernel Users Guide Linux U-Boot and Kernel Users Guide 1 Table of Contents Overview... 4 General Information... 4 Getting the U-Boot and Kernel Source Code (SDK)... 4 Preparing to Build... 4 Compiler... 5 Device Trees...

More information

U-Boot and Linux Kernel Debug using CCSv5

U-Boot and Linux Kernel Debug using CCSv5 U-Boot and Linux Kernel Debug using CCSv5 In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot and Linux kernel on an EVM platform. LAB: http://processors.wiki.ti.com/index.php/sitara_linux_training:_uboot_linux_debu

More information

Labs instructions for Enabling BeagleBone with TI SDK 5.x

Labs instructions for Enabling BeagleBone with TI SDK 5.x Labs instructions for Enabling BeagleBone with TI SDK 5.x 5V power supply µsd ethernet cable ethernet cable USB cable Throughout this document there will be commands spelled out to execute. Some are to

More information

MCAM335x Linux User's Guide

MCAM335x Linux User's Guide Pag. 1 of 17 MCAM335x Linux User's Guide Pag. 2 of 17 Contents MCAM335x Linux User's Guide... 1 About this Manual... 4 Installation... 4 Introduction... 4 Prerequisites... 4 Install LSP packages... 5 U

More information

Disk-Level Encryption

Disk-Level Encryption 2011-2017 Percona, Inc. 1 / 19 Disk-Level Encryption http://www.percona.com/training/ 2011-2017 Percona, Inc. 2 / 19 Introduction Clients in the PCI, HIPPA, or PHI space Encrypted "at rest" MySQL 5.7 InnoDB

More information

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

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1. Linux For BCT RE2G2 User Guide Document Reference: BCTRE2G2 Linux User Guide Document Issue: 1.05 Associated SDK release: 1.04 Author: D Robinson Contents Introduction... 3 Environment Setup... 3 Required

More information

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

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University Lab2 - Bootloader 1 / 20 Cross-compile U-Boot. Connect to Raspberry Pi via an USB-TTL cable. Boot Raspberry Pi via U-Boot. 2 / 20 Host Machine OS: Windows Target Machine Raspberry Pi (2 or 3) Build Machine

More information

FIAMMA MCAM335x Linux User's Guide

FIAMMA MCAM335x Linux User's Guide FIAMMA MCAM335x Linux User's Guide Pag. 1 of 20 FIAMMA MCAM335x Linux User's Guide Rev.1.1 All Rights Reserved. No part of this document may be photocopied, reproduced, stored in a retrieval system, or

More information

Secure Storage with Encrypted file systems

Secure Storage with Encrypted file systems 2018/02/18 01:06 1/10 Secure Storage with Encrypted file systems Secure Storage with Encrypted file systems Encryption is done through dm-crypt using LUKS as the key setup using kernel crypto API. Linux

More information

Disk-Level Encryption

Disk-Level Encryption 2011-2017 Percona, Inc. 1 / 25 Disk-Level Encryption http://www.percona.com/training/ 2011-2017 Percona, Inc. 2 / 25 Disk-Level Encryption OVERVIEW 2011-2017 Percona, Inc. 3 / 25 Introduction Security,

More information

Hands-on with the Sitara Linux SDK

Hands-on with the Sitara Linux SDK Hands-on with the Sitara Linux SDK This presentation provides a hands-on overview of the Sitara Linux SDK. It focuses on the software and tools found in the SDK and how to use these tools to develop for

More information

Cross-compilation with Buildroot

Cross-compilation with Buildroot Instituto Superior de Engenharia do Porto Mestrado em Engenharia Eletrotécnica e de Computadores Arquitetura de Computadores Cross-compilation with Buildroot Introduction Buildroot is a tool that can be

More information

Protecting your system from the scum of the universe

Protecting your system from the scum of the universe Protecting your system from the scum of the universe Gilad Ben-Yossef gilad@benyossef.com Twitter: @giladby About me My name is Gilad Ben-Yossef. I work on applied cryptography and security of the upstream

More information

Protecting your system from the scum of the universe

Protecting your system from the scum of the universe Protecting your system from the scum of the universe Gilad Ben-Yossef gilad@benyossef.com Twitter: @giladby About me My name is Gilad Ben-Yossef. I work on applied cryptography and security of the upstream

More information

By: Yushi Wang Partners: Shen Yue and Yubing Xu Group 6. How to Setup Pandaboard ES Software Environment for UAV Project

By: Yushi Wang Partners: Shen Yue and Yubing Xu Group 6. How to Setup Pandaboard ES Software Environment for UAV Project Application Notes By: Yushi Wang Partners: Shen Yue and Yubing Xu Group 6 How to Setup Pandaboard ES Software Environment for UAV Project Installation of Ubuntu Official tutorial can be found: http://omappedia.org/wiki/ubuntu_pre-built_binaries_guide

More information

Encryption Security Recommendations

Encryption Security Recommendations Basic Concepts Sensitive data should be encrypted while in transit and stored. All communication between clients and servers, and between servers (Web server to app server, app server to database server,

More information

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on February 16, 2009 Table of Contents 1 Overview...1

More information

Raspberry Pi Kernel Install. By: Daniel Rizko

Raspberry Pi Kernel Install. By: Daniel Rizko Raspberry Pi Kernel Install By: Daniel Rizko Introduction In this presentation I will be demonstrating three things. 1. Building a cross compiler from scratch using crosstool-ng for Raspberry Pi hardware.

More information

Idea6410 Ubuntu User Manual V 0.19

Idea6410 Ubuntu User Manual V 0.19 V 0.19 Version: Ubuntu-9.04_v0.19 Linux PC environment: Ubuntu-9.04 1 1. Install Cross-compile 1.1 Open Linux-ubuntu_v0.19\cross_compile\ folder, and copy Arm-none-lunux-gnueabi-arm-2008q3-72-for-linux.tar.bz2

More information

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University Hyunmin Yoon (fulcanelli86@gmail.com) 2 ubuntu Linux Download https://www.ubuntu.com/download/desktop http://gofile.me/3qiyp/pj6fzmojf 2 3 VMware Workstation Player (optional) Download https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html

More information

Manually Mount Usb Flash Drive Linux Command Line Fedora

Manually Mount Usb Flash Drive Linux Command Line Fedora Manually Mount Usb Flash Drive Linux Command Line Fedora This page explains how to use USB drives, like external hard disks and USB flash By default, storage devices that are plugged into the system mount

More information

DSP/BIOS LINK OMAP2530 EVM LNK 172 USR. Version 1.64 NOV 13, 2009

DSP/BIOS LINK OMAP2530 EVM LNK 172 USR. Version 1.64 NOV 13, 2009 DSP/BIOS LINK OMAP2530 EVM NOV 13, 2009 Document Template Version 1 Page 1 of 21 This page has been intentionally left blank. Page 2 of 21 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries

More information

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on April 7, 2009 Table of Contents 1 Overview...1

More information

Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide

Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Last updated on June 12, 2012 Table of Contents 1 Overview...

More information

Fedora Linux Installation Guide

Fedora Linux Installation Guide RocketRAID 276x SAS Controller Fedora Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Last updated on May 29, 2012 Table of Contents 1 Overview...

More information

Blueprints. Securing Sensitive Files With TPM Keys

Blueprints. Securing Sensitive Files With TPM Keys Blueprints Securing Sensitive Files With TPM Keys Blueprints Securing Sensitive Files With TPM Keys Note Before using this information and the product it supports, read the information in Notices on page

More information

Android Bootloader and Verified Boot

Android Bootloader and Verified Boot Android Bootloader and Verified Boot Lecture 7 Security of Mobile Devices 2018 SMD Android Bootloader and Verified Boot, Lecture 7 1/38 Bootloader Recovery Verified Boot Bibliography SMD Android Bootloader

More information

Ubuntu Linux Installation Guide

Ubuntu Linux Installation Guide RocketRAID 278x SAS Controller Ubuntu Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Last updated on May 29, 2012 Table of Contents 1 Overview...

More information

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on November 5, 2008 Table

More information

Kernel configuration The kernel configuration and build system is based on multiple Make files. All Makefiles inside the sub directories in kernel source interacts with the main Makefile which is present

More information

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================ Requirements :: --------------- CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================ * I prepared my stand alone RTAI for the following hardware configurations.

More information

MV 4412 Android 4.0 Compilation

MV 4412 Android 4.0 Compilation MV 4412 Android 4.0 Compilation Microvision Co., Ltd. Document Information Version 1.0 File Name MV4412 Android Compilation.doc Date 2012. 7. 12 Satus Working Revision History Date Version Update Descriptions

More information

SLES Linux Installation Guide

SLES Linux Installation Guide Rocket RAID 278x SAS Controller SLES Linux Installation Guide Version 1.1 Copyright 2012 HighPoint Technologies, Inc. All rights reserved. Created on May 29, 2012 Table of Contents 1 Overview... 1 2 Installing

More information

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University Prof. Sunil P. Khatri Lab exercise created and tested by: Abbas Fairouz, Ramu Endluri, He Zhou,

More information

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console Upgrade Cisco Interface Module for LoRaWAN IXM using the Console Contents Introduction Prerequisites Requirements Components Used Background Information Configure Step 1. Prepare the firmware images (and

More information

Building and Running Inter-Processor Communication (IPC) Examples on the AM572x GP EVM. Sahin Okur Embedded Processor Catalog Applications

Building and Running Inter-Processor Communication (IPC) Examples on the AM572x GP EVM. Sahin Okur Embedded Processor Catalog Applications Building and Running Inter-Processor Communication (IPC) on the AM572x GP EVM Sahin Okur Embedded Processor Catalog Applications IPC Introduction Sitara AM572x 28 nm Processing General purpose Computational

More information

Customizing the Yocto-Based Linux Distribution for Production

Customizing the Yocto-Based Linux Distribution for Production Customizing the Yocto-Based Linux Distribution for Production Components of a Linux distribution Toolchain (gcc) Libraries (glibc, etc.) Bootloader (grub, u-boot, etc.) Kernel File system Console utilities

More information

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on November 13, 2008 Table

More information

Sitara Linux Training: uboot linux debug with ccsv5

Sitara Linux Training: uboot linux debug with ccsv5 Sitara Linux Training: uboot linux debug with ccsv5 1 Sitara Linux Training: uboot linux debug with ccsv5 Return to the Sitara Linux Training List Introduction This lab is going to walk you through the

More information

Developing Environment for Intel Mainstone Board

Developing Environment for Intel Mainstone Board Developing Environment for Intel Mainstone Board Outline Introduction Board Bring-up Running Linux Kernel Building Your Own Linux Kernel Developing Your Own App 1 Introduction :: PXA27x XScale PXA27x Architecture

More information

Fedora Linux Installation Guide

Fedora Linux Installation Guide RocketRAID 2640/2642 SAS Controller Fedora Linux Installation Guide Version 1.2 Copyright 2012HighPoint Technologies, Inc. All rights reserved. Last updated on August 10, 2012 Table of Contents 1 Overview...

More information

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide Version 1.0 Copyright 2008 HighPoint Technologies, Inc. All rights reserved. Last updated on September 17, 2008 Table of Contents 1

More information

Debugging Linux systems using GDB and QEMU. Khem Raj

Debugging Linux systems using GDB and QEMU. Khem Raj Debugging Linux systems using GDB and QEMU Khem Raj Agenda Introduction Compiling and debugging Linux kernel using QEMU Creating image file for root file system Compiling and debugging uclibc dynamic linker

More information

Once your USB drive is formatted for the FAT32 file system it can be mounted and tested on the GESBC To do this, use the following command:

Once your USB drive is formatted for the FAT32 file system it can be mounted and tested on the GESBC To do this, use the following command: GESBC-9302 Development With a USB Drive Paul H. Muller - Documatrix www.documatrix-usa.com ulx@linuxmail.org Disclaimer: The programs and procedures described here have been tested and are thought to be

More information

e2 factory the emlix Embedded Build Framework

e2 factory the emlix Embedded Build Framework e2 factory the emlix Embedded Build Framework Agenda Motivation Basic Concepts Design and Implementation Working with e2 factory e2 factory Motivation Motivation Development Tools Source Code Management

More information

LS9200 User Guide LinkSprite Technologies, Inc.

LS9200 User Guide LinkSprite Technologies, Inc. LS9200 User Guide LinkSprite Technologies, Inc. 1 / 17 Table of Contents 1. Foreword... 3 2. Features... 3 3. Part and jumper description... 4 Part description... 4 LED and Key description... 4 Jumper

More information

Section 1. A zseries Linux file system test script

Section 1. A zseries Linux file system test script Section 1. A zseries Linux file tem test script 1.1 Overview I was presented with a question regarding disk space efficiency, small files and block sizes with ext3 file tems on zseries Linux. I decided

More information

Integrity-checked block devices with device mapper. Mandeep Baines Will Drewry

Integrity-checked block devices with device mapper. Mandeep Baines Will Drewry Integrity-checked block devices with device mapper Mandeep Baines Will Drewry Huh? We'll talk about our efficient device mapper target that provides read-only access to blocks from another block device

More information

Platform Specific Guides. Release

Platform Specific Guides. Release Platform Specific Guides Release 18.11.0 November 27, 2018 CONTENTS 1 NXP QorIQ DPAA Board Support Package 2 1.1 Supported DPAA SoCs................................ 2 1.2 Common Offload HW Block Drivers.........................

More information

QEMU: Architecture and Internals Lecture for the Embedded Systems Course CSD, University of Crete (April 18, 2016)

QEMU: Architecture and Internals Lecture for the Embedded Systems Course CSD, University of Crete (April 18, 2016) QEMU: Architecture and Internals Lecture for the Embedded Systems Course CSD, University of Crete (April 18, 2016) ManolisMarazakis (maraz@ics.forth.gr) Institute of Computer Science (ICS) Foundation for

More information

Linux Distribution: Kernel Configuration

Linux Distribution: Kernel Configuration Instituto Superior de Engenharia do Porto Mestrado em Engenharia Eletrotécnica e de Computadores Arquitetura de Computadores Linux Distribution: Kernel Configuration The central element of a GNU/Linux

More information

Building Linux for the Innovator Development Kit for OMAP Platform

Building Linux for the Innovator Development Kit for OMAP Platform Application Report SWPA011 May 2003 Building Linux for the Innovator Development Kit for OMAP Platform Steven Kipisz ABSTRACT This report describes how to build and run Linux on the OMAP platform using

More information

Manually Mount Usb Flash Drive Ubuntu Server

Manually Mount Usb Flash Drive Ubuntu Server Manually Mount Usb Flash Drive Ubuntu 12.04 Server 4 answers, How to access a usb flash drive from the terminal? (How can I mount a flash drive manually?) SSH Commandline - Ubuntu x64 dedicated server

More information

Getting Started with BeagleBoard xm

Getting Started with BeagleBoard xm Getting Started with BeagleBoard xm by Getting Started with BeagleBoard-xM 1. Beagleboard-xM BeagleBoard.org ก Texas Instruments DM3730 1 GHz ก ARM Cortex-A8 (DSP) (PowerVR) (RAM) 512 MB Serial Port, USB

More information

Yocto Project and OpenEmbedded training 3-day session

Yocto Project and OpenEmbedded training 3-day session Yocto Project and OpenEmbedded training 3-day session Title Yocto Project and OpenEmbedded development training Overview Understanding the Yocto Project Using it to build a root filesystem and run it on

More information

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

This guide is used as an entry point into the Petalinux tool. This demo shows the following: Petalinux Design Entry Guide. This guide is used as an entry point into the Petalinux tool. This demo shows the following: How to create a Linux Image for a Zc702 in Petalinux and boot from the SD card

More information

How many of you have never built a NetBSD kernel?

How many of you have never built a NetBSD kernel? A Smart Port Card Tutorial - The Exercises John DeHart Washington University jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd 1 Question? How many of you have never built a NetBSD kernel? 2 page 1 Exercises

More information

Upgrading Prime Optical

Upgrading Prime Optical CHAPTER 6 You cannot perform a full upgrade from an earlier Cisco Transport Manager (CTM) or Prime Optical release. This section describes how to use the Cisco Prime Optical 9.8 Data Migrator wizard to

More information

Zephyr Kernel Installation & Setup Manual

Zephyr Kernel Installation & Setup Manual Zephyr Kernel Installation & Setup Manual Zephyr kernel is a small footprint Single address space OS, i.e, it combines application specific code with a custom kernel to create a monolithic image that gets

More information

Confessions of a security hardware driver maintainer

Confessions of a security hardware driver maintainer Confessions of a security hardware driver maintainer Gilad Ben-Yossef Principal Software Engineer About me My name is Gilad Ben-Yossef. I work on upstream Linux kernel cryptography and security in genera,l

More information

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity:

More information

POWER7+ Accelerated Encryption and Random Number Generation for Linux

POWER7+ Accelerated Encryption and Random Number Generation for Linux POWER7+ Accelerated Encryption and Random Number Generation for Linux Kent Yoder IBM Linux Technology Center February 22, 2013 Contents 1 Introduction 2 2 Hardware Architecture

More information

AT91SAM9G45-EVK Linux. User Manual

AT91SAM9G45-EVK Linux. User Manual AT91SAM9G45-EVK Linux User Manual Revision History Rev Date Description 1.0 2011-02-10 Initial version Catalogue 1. BUILD THE DEVELOPMENT PLATFORM... 1 1.1Create the working directory... 1 1.2 Cross compilation

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z0-105 Title : Oracle Linux 6 Advanced System Administration Vendor : Oracle Version : DEMO Get Latest

More information

Parallella Linux - quickstart guide. Antmicro Ltd

Parallella Linux - quickstart guide. Antmicro Ltd Parallella Linux - quickstart guide Antmicro Ltd June 13, 2016 Contents 1 Introduction 1 1.1 Xilinx tools.......................................... 1 1.2 Version information.....................................

More information

Disks, Filesystems 1

Disks, Filesystems 1 Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting

More information

GELI (8) FreeBSD System Manager s Manual GELI (8)

GELI (8) FreeBSD System Manager s Manual GELI (8) NAME geli control utility for cryptographic GEOM class SYNOPSIS To compile GEOM ELI into your kernel, place the following lines in your kernel configuration file: device crypto options GEOM_ELI Alternately,

More information

Configuring Code Composer Studio for OMAP Debugging

Configuring Code Composer Studio for OMAP Debugging Application Report SPRA807 - November 2001 Configuring Code Composer Studio for OMAP Debugging Harry Thompson Software Development Systems/Customer Support ABSTRACT The OMAP Code Composer Studio (CCStudio)

More information

Scratchbox Remote Shell

Scratchbox Remote Shell Scratchbox Remote Shell Timo Savola tsavola@movial.fi Scratchbox Remote Shell by Timo Savola Copyright 2004, 2005 Nokia Revision history Version: Author: Description: 2005-02-08 Savola Based on Device

More information

Adding a block devices and extending file systems in Linux environments

Adding a block devices and extending file systems in Linux environments Adding a block devices and extending file systems in Linux environments In this exercise we simulate situation where user files partition /home fills up and needs to be extended. Also we migrate from static

More information

TS-7350 Single Board Computer Documentation

TS-7350 Single Board Computer Documentation TS-7350 Single Board Computer Documentation Brigham Young University Idaho For Idaho National Laboratories Revised: July 18, 2009 Contents 1 Overview of Single Board Computer (SBC) 2 1.1 Technologic Systems

More information

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

ARM Powered SoCs OpenEmbedded: a framework for toolcha. generation and rootfs management ARM Powered SoCs OpenEmbedded: a framework for toolchain generation and rootfs management jacopo @ Admstaff Reloaded 12-2010 An overview on commercial ARM-Powered SOCs Many low-cost ARM powered devices

More information

System Administration. Storage Systems

System Administration. Storage Systems System Administration Storage Systems Agenda Storage Devices Partitioning LVM File Systems STORAGE DEVICES Single Disk RAID? RAID Redundant Array of Independent Disks Software vs. Hardware RAID 0, 1,

More information

User s Manual for the Boundary Devices Nitrogen R board

User s Manual for the Boundary Devices Nitrogen R board 1 User s Manual for the Boundary Devices Nitrogen R board July 6, 2010 2 1 Revision History Date Revision Description 2010-06-17 1.0 First (rough) draft 2010-06-25 1.1 Still rough. Additional details on

More information

USB System Design in Sitara Devices Using Linux. [Part 4]: Verify USB in Linux sysfs Bin Liu (EP, Processors)

USB System Design in Sitara Devices Using Linux. [Part 4]: Verify USB in Linux sysfs Bin Liu (EP, Processors) USB System Design in Sitara Devices Using Linux [Part 4]: Verify USB in Linux sysfs Bin Liu (EP, Processors) Agenda Define USB Use Case Design USB Hardware Configure USB in Kernel Verify USB in sysfs Use

More information

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm Page 1 of 18 Trace Tutorial Overview The objective of this tutorial is to acquaint you with the basic use of the Trace System software. The Trace System software includes the following: The Trace Control

More information

Ubuntu - How to Create Software RAID 1 in Ubuntu Linux - Tutorial

Ubuntu - How to Create Software RAID 1 in Ubuntu Linux - Tutorial Published on http://www.itswapshop.com (http://www.itswapshop.com) Home > Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu Linux - Tutorial Ubuntu - How to Create Software RAID 1 in 12.04 Ubuntu

More information

Android System Development Training 4-day session

Android System Development Training 4-day session Android System Development Training 4-day session Title Android System Development Training Overview Understanding the Android Internals Understanding the Android Build System Customizing Android for a

More information

Installing Prime Optical

Installing Prime Optical 5 CHAPTER This section describes how to install Cisco Prime Optical 9.8 with an Oracle 11g database. To ensure a successful installation, use the checklist provided in the Installation Scenarios and Checklists,

More information

Keystone II guide on running IPC examples

Keystone II guide on running IPC examples Keystone II guide on running IPC examples July 2016 Contents Contents Prerequisites... 1 Hardware... 1 Software... 1 1. Updating the U-BOOT... 2 Update SPI NOR Flash with U-boot GPH image... 2 2. Set

More information

Anand Raghunathan

Anand Raghunathan ECE 695R: SYSTEM-ON-CHIP DESIGN Module 2: HW/SW Partitioning Lecture 2.26: Example: Hardware Architecture Anand Raghunathan raghunathan@purdue.edu ECE 695R: System-on-Chip Design, Fall 2014 Fall 2014,

More information

Introduction to Linux Init Scripts

Introduction to Linux Init Scripts Introduction to Linux Init Scripts In this session we will cover the Linux initialization process, run levels, how to change the run level and how to initialize a script on login. LAB: http://processors.wiki.ti.com/index.php/sitara_linux_training:_init_scripts

More information

Application Note: Demo programs for PremierWave EN and PremierWave XN

Application Note: Demo programs for PremierWave EN and PremierWave XN Application Note: Demo programs for PremierWave EN and PremierWave XN Lantronix, Inc. 167 Technology Drive Irvine, CA 92618 Tel: +1 (949) 453-3990 Revision A1 September 2012 Overview The Lantronix PremierWave

More information

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide StampA5D3x/PortuxA5/PanelA5 Quickstart Guide StampA5D3x/PortuxA5/PanelA5 StampA5D3x/PortuxA5/PanelA5: Quickstart Guide Copyright 2015 taskit GmbH All rights to this documentation and to the product(s)

More information

Hardware Assisted Debug with Embedix Linux

Hardware Assisted Debug with Embedix Linux Application Notes for Professional Developers of Embedded Systems # 02-002 Hardware Assisted Debug with Embedix Linux Introduction Types Of Interface Device Recommended Units What Targets Does the Abatron

More information

RakunLS1, Qseven SBC module with LS1021A

RakunLS1, Qseven SBC module with LS1021A 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) $

More information

MV V310 Android 4.0 Compilation

MV V310 Android 4.0 Compilation MV V310 Android 4.0 Compilation Microvision Co., Ltd. Document Information Version 1.0 File Name MVV310 Android Compilation.doc Date 2012. 4. 17 Satus Working Revision History Date Version Update Descriptions

More information

Manually Mount Usb Flash Drive Linux Command Line Redhat

Manually Mount Usb Flash Drive Linux Command Line Redhat Manually Mount Usb Flash Drive Linux Command Line Redhat How to Format USB in Linux using Command Line. This article will help you to format USB Flash drive in Ubuntu systems via Command line. So first

More information

RHCSA BOOT CAMP. Filesystem Administration

RHCSA BOOT CAMP. Filesystem Administration RHCSA BOOT CAMP Filesystem Administration PARTITIONING What is partitioning? Splitting up a hard drive into organizable chunks Why? Isolates filesystem corruption Simplifies/speeds backups Allows optimizing

More information

Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools

Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools The hardware modules and descriptions referred to in this document are *NOT SUPPORTED* by Texas Instruments

More information

Raspberry Pi Network Boot

Raspberry Pi Network Boot Raspberry Pi Network Boot @Phenomer October 22, 2014 1 Raspberry Pi SD initrd 2 /srv/pxe ( ) /srv/pxe /srv/pxe/tftp - TFTP /srv/pxe/tftp/pxelinux.cfg - /srv/pxe/repo - /srv/pxe/initrd - initrd % sudo mkdir

More information

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

Cyclone V SoC PCI-Express Root Port Example Design. Application Note Cyclone V SoC PCI-Express Root Port Example Design Application Note 7/1/2013 Table of Contents 1 Revision History... 4 2 Overview... 5 2.1 GSRD... 5 3 Hardware and Software Packages... 6 3.1 GSRD... 6

More information

REAL TIME IMAGE PROCESSING BASED ON EMBEDDED LINUX

REAL TIME IMAGE PROCESSING BASED ON EMBEDDED LINUX REAL TIME IMAGE PROCESSING BASED ON EMBEDDED LINUX 1 S. M. GRAMOPADHYE, 2 R. T. PATIL RIT Sakharale Email: sgswapnilsmg328@gmail.com, ramesh.patil@ritindia.edu Abstract: The continuous improvement in development

More information

Lab 1. OMAP5912 Starter Kit (OSK5912)

Lab 1. OMAP5912 Starter Kit (OSK5912) Lab 1. OMAP5912 Starter Kit (OSK5912) Developing DSP Applications 1. Overview In addition to having an ARM926EJ-S core, the OMAP5912 processor has a C55x DSP core. The DSP core can be used by the ARM to

More information

exam.30q. Number: Passing Score: 800 Time Limit: 120 min File Version: 1 LPI

exam.30q. Number: Passing Score: 800 Time Limit: 120 min File Version: 1 LPI 201-450.exam.30q Number: 201-450 Passing Score: 800 Time Limit: 120 min File Version: 1 LPI 201-450 LPIC-2 Exam 201, Part 1 of 2, version 4.5 Exam D QUESTION 1 Which of the following commands creates a

More information

Flashing binaries to DRA7xx factory boards using DFU

Flashing binaries to DRA7xx factory boards using DFU Flashing binaries to DRA7xx factory boards using DFU Abstract This application notes provides detailed procedure for flashing the binary images to emmc flash memory using Device Firmware Update (DFU).

More information

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

OMAP3530 has 256MB NAND flash in PoP (PoP: Package-On-Package implementation for Memory Stacking) configuration. 1 of 7 04/18/09 15:39 BeagleBoardNAND From elinux.org This page is about using (booting/running from) NAND (http://en.wikipedia.org/wiki/flash_memory#nand_flash) memory on BeagleBoard. Parts of this page

More information

DSP/BIOS LINK. DM6446/DM6467/DM6467T Media Processor LNK 110 USR 1.64

DSP/BIOS LINK. DM6446/DM6467/DM6467T Media Processor LNK 110 USR 1.64 DM6446/DM6467/DM6467T Media Processor NOV 13, 2009 This page has been intentionally left blank. IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections,

More information

Embedded Systems Programming

Embedded Systems Programming Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes

More information