Linux U-Boot and Kernel Users Guide

Size: px
Start display at page:

Download "Linux U-Boot and Kernel Users Guide"

Transcription

1 Linux U-Boot and Kernel Users Guide 1

2 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... 5 U-Boot... 5 Building MLO and u-boot... 5 Cleaning the Sources... 6 Compiling MLO and u-boot... 6 Kernel... 7 Cleaning the Kernel Sources... 7 Configuring the Kernel... 7 Using SDK Kernel Configuration... 7 Customizing the Configuration... 8 Compiling the Sources... 8 Compiling the Kernel... 8 Compiling the Device Tree Binaries... 9 Compiling the Kernel Modules... 9 Installing the Kernel Installing the Kernel Image and Device Tree Binaries Installing the Kernel Modules SDK Linux create SD card script Common Steps Invoking the Script Select the SD Card Device Re-Partitioning the SD Card Select Number of Partitions Installing SD Card Content SD Card Using Default Images Prerequisites

3 Choose Install Pre-built Images Updating an SD card from a host PC

4 Overview Comertech s Linux release is based on the official Linux SDK from Texas Instruments. This document will cover the basic steps for building the Linux U-Boot and kernel. General Information Getting the U-Boot and Kernel Source Code (SDK) The easiest way to get access to the kernel source code is by downloading and installing the Linux SDK from Texas Instruments. Linux SDK can be found in the download link below: Once downloaded the kernel source code is included in the sdk's board-support directory. The detailed procedure on how to run the SDK Installer can be found on in the link below: Comertech s EVM changes are fully integrated into SDK Comertech will provide the link to the modified Kernel and U-Boot by customer request. Once downloaded the modified the kernel and u-boot package. Simply extract the package and replace the existing kernel and u-boot from Texas Instruments. Preparing to Build 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. 4

5 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. Compiler Before compiling the kernel or kernel modules the SDK's toolchain needs to be added to the PATH environment variable export PATH=<sdk path>/linux-devkit/sysroots/i686-aragolinux/usr/bin:$path The current compiler supported for this release along with download location can be found in the release notes for the kernel release. Device Trees A note about device trees. With this LCPD release all boards are required to use a device tree to boot. To facilitate this, within U-Boot we have a command in the environment named findfdt that will set the fdtfile variable to the name of the device tree to use, as found with the kernel sources. The device tree is expected to be loaded from the same media as the kernel, and from the same relative path. U-Boot Building MLO and u-boot We strongly recommend the use of separate object directories when building. This is done with O= parameter to make. We also recommend that you use an output directory name that is identical to the configuration target name. That way if you are working with multiple configuration targets it is very easy to know which folder contains the u-boot binaries that you are interested in. We also strongly recommend using the toolchain that came with the Linux Core release that corresponds to this U-Boot release. 5

6 Cleaning the Sources If you did not use a separate object directory: $ make CROSS_COMPILE=arm-linux-gnueabihf- distclean If you used 'O=am335x_evm' as your object directory: $ rm -rf./am335x_evm Compiling MLO and u-boot Building of both u-boot and SPL is done at the same time. You must however first configure the build for the board you are working with. Use the following table to determine what to use to configure with: Board Config target config file (under include/configs/) AM335x EVM, AM335x EVM-SK, Beaglebone White/Black am335x_evm_config am335x_evm.h AM43xx epos EVM / GP EVM / EVM- SK am43xx_evm_config am43xx_evm.h am57xx GP EVM am57xx_evm_config am57x_evm.h DRA7xx EVM (J6, J6Eco) dra7xx_evm_config dra7xx_evm.h Then: # Use 'am335x_evm' and 'AM335x GP EVM' in this example $ make CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm am335x_evm_config all Note that not all possible build targets for a given platform are listed here as the community has additional build targets that are not supported by TI. To find these read the 'boards.cfg' file and look for the build target listed above. And please note that the main config file will leverage other files under include/configs, as seen by #include statements. 6

7 Kernel Cleaning the Kernel Sources Prior to compiling the Linux kernel it is often a good idea to make sure that the kernel sources are clean and that there are no remnants left over from a previous build. NOTE The next step will delete any saved.config file in the kernel tree as well as the generated object files. If you have done a previous configuration and do not wish to lose your configuration file you should save a copy of the configuration file (.config) before proceeding. The command to clean the kernel is: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean Configuring the Kernel Before compiling the Linux kernel it needs to be configured to select what components will become part of the kernel image, which components will be build as dynamic modules, and which components will be left out all together. This is done using the Linux kernel configuration system. Using SDK Kernel Configuration It is often easiest to start with a base default configuration and then customize it for you use case if needed. In the Linux kernel a command of the form: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- <defconfig> For this sdk the singlecore-omap2plus_defconfig was used and is the one we recommend all users to use or at least use as a starting point. example: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig 7

8 After the configuration step has run the full configuration file is saved to the root of the kernel tree as.config. Any further configuration changes are based on this file until it is cleanup up by doing a kernel clean as mentioned above. NOTE Previous SDKs recommended users use omap2plus_defconfig as their <defconfig>. For this release singlecore-omap2plus_defconfig should be used instead. Otherwise a user will notice a significant amount of features not working. Customizing the Configuration When you want to customize the kernel configuration the easiest way is to use the built in kernel configuration systems. Two of the most popular configuration systems are: menuconfig: an ncurses based configuration utility NOTE: on some systems in order to use xconfig you may need to install the libqt3-mtdev package. For example on Ubuntu this can be done using the command sudo apt-get install libqt3-mt-dev To invoke the kernel configuration you simply use a command like: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- <config type> i.e. for menuconfig the command would look like make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig Once the configuration window is open you can then select which kernel components should be included in the build. Exiting the configuration will save your selections to a file in the root of the kernel tree called.config. Compiling the Sources Compiling the Kernel Once the kernel has been configured it must be compiled to generate the bootable kernel image as well as any dynamic kernel modules that were selected. By default U-boot expects zimage to be the type of kernel image used. To just build the zimage use this command 8

9 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zimage This will result in a kernel image file being created in the arch/arm/boot/ directory called zimage. Compiling the Device Tree Binaries Starting with the 3.8 kernel each TI evm has an unique device tree binary file required by the kernel. Therefore, you will need to build and install the correct dtb for the target device. All device tree files are located at arch/arm/boot/dts/. Below list various TI evms and the matching device tree file. Device Tree File Name Per Board Boards Beaglebone Beaglebone Black Device Tree File am335x-bone.dts am335x-boneblack.dts AM335x General Purpose EVM am335x-evm.dts AM335x Starter Kit am335x-evmsk.dts AM437x General Purpose EVM am437x-gp-evm.dts To build an individual device tree file find the name of the dts file for the board you are using and replace the.dts extension with.dtb. Then run the following command: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- <dt filename>.dtb The compiled device tree file with be located in arch/arm/boot/dts. For example, the Beaglebone Black device tree file is named am335x-boneblack.dts. To build the device tree binary you would run: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x-boneblack.dtb Compiling the Kernel Modules 9

10 By default the majority of the Linux drivers used in the sdk are not integrated into the kernel image (ex zimage). These drivers are built as dynamic modules. The command to build these modules is: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules This will result in.ko (kernel object) files being placed in the kernel tree. These.ko files are the dynamic kernel modules. When ever you make a change to the kernel its generally recommended that you rebuild your kernel modules and reinstall the kernel modules. Otherwise the kernel modules may not load or run. The next section will cover how to install these modules. NOTE Any time you make a change to the kernel which requires you to recompile it you should also insure that you recompile the kernel modules and reinstall them. Otherwise all your kernel modules may refuse to load which will result in a significant loss of functionality. Installing the Kernel Once the Linux kernel, dtb files and modules have been compiled they must be installed. In the case of the kernel image this can be installed by copying the zimage file to the location where it is going to be read from. The device tree binaries should also be copied to the same directory that the kernel image was copied to. Installing the Kernel Image and Device Tree Binaries cd <kernel sources dir> sudo cp arch/arm/boot/zimage <rootfs path>/boot sudo cp arch/arm/boot/dts/<dt file>.dtb <rootfs path>/boot For example, if you wanted to copy the kernel image and BeagleBone Black device tree file to the rootfs partition of a SD card you would enter the below commands: cd <kernel sources dir> sudo cp arch/arm/boot/zimage arch/arm/boot/dts/am335x-boneblack.dtb /media/rootfs/boot Starting with U-boot , the kernel and device tree binaries by default are no longer being read from the /boot/ partition on the MMC but from the root file system's boot 10

11 directory when booting from MMC/EMMC. This would mean you would copy the kernel image and device tree binaries to /media/rootfs/boot instead of /media/boot. Installing the Kernel Modules To install the kernel modules you use another make command similar to the others, but with an additional parameter which give the base location where the modules should be installed. This command will create a directory tree from that location like lib/modules/<kernel version> which will contain the dynamic modules corresponding to this version of the kernel. The base location should usually be the root of your target file system. The general format of the command is: sudo make ARCH=arm INSTALL_MOD_PATH=<path to root of file system> modules_install For example if you are installing the modules on the rootfs partition of the SD card you would do: sudo make ARCH=arm INSTALL_MOD_PATH=/media/rootfs modules_install SDK Linux create SD card script The Linux SDK includes a script in the <SDK INSTALL DIR>/bin directory named create-sdcard.sh. The purpose of this script is to create SD cards with default images. Common Steps Invoking the Script The create-sdcard.sh script can be run from any location but must be run with root permissions. This usually means using the sudo command to start execution of the script. For example: host# sudo <SDK INSTALL DIR>/bin/create-sdcard.sh If you fail to execute the script with root permissions you will receive a message that root permissions are required and the script will exit. 11

12 Select the SD Card Device The first step of the script will ask you to select the drive representing the SD card that you want to format. In most cases your host root file system drive has been masked off to prevent damage to the host system. When prompted enter the device number corresponding to the SD card. For example if the output looks like: Availible Drives to write images to: # major minor size name 1: sdb Enter Device Number: You would enter 1 to select the sdb device NOTE: For most common installations, this script works fine. However, if you are using more advanced disk slicing and volume management, the presented list of device nodes are off by one; in the best case (picking the last item) it will flag a range error, and in the worst case (anything in the middle) the wrong DASD can be destroyed. The problem originates when it attempts to determine the $ROOTDRIVE to "mask" the volume where "/" is mounted from the selection list using a "grep -v $ROOTDRIVE" For the naive partitioning case, its heuristic is fine, yielding something like "sda" --- but for LVM, it grabs some chunk of the device name, e.g. "mapp" (out of "/dev/mapper/kubuntu--vgroot on / type...") Re-Partitioning the SD Card Any partitions of the device that are already mounted will be un-mounted so that the device is ready for partitioning. If the SD Card already has partition you will see a prompt like the following asking you if you would like to repartition the card. If the card was not already partitioned then this step will be skipped and you can move on to the next step. Would you like to re-partition the drive anyways [y/n] : Options: 12

13 y - This will allow you to change the partitioning of the SD card. For example if you have a 3 partition card and want to create a 2 partition card to give additional storage space to the root file system you would select y here. NOTE: This operation WILL ERASE the contents of your SD card n - If the SD card already has the desired number of partitions then this will leave the partitioning alone. Select Number of Partitions You should now see a prompt like the following which will ask you how many partitions you want to create for the SD card Number of partitions needed [2/3] : Options: 2 - This is the most common use case and will give the most space to the root file system. 3 - This case should only be used by board manufacturers making SD cards to go in the box with the EVM. This requires access to the partition tarballs used for Out-Of-Box SD cards. It is not covered in this document. After selecting the number of partitions move on to the next section. Installing SD Card Content After the SD card is partitioned you will be prompted whether you want to continue installing the file system or safely exit the script. Options: y - Selecting yes here will begin the process of installing the SD card contents. This operation WILL ERASE any existing data on the SD card. Refer to one of the following sections for additional instructions depending on which use case you are creating an SD card for Create the SD card using default images 13

14 n - Selecting no here will allow you to have partitioned your card but will leave the partitions empty. SD Card Using Default Images The purpose of this section is to cover how to use the create-sdcard.sh script to populate an SD card that can be used to boot the device using the default images that ship with the Processor SDK for Linux. Prerequisites 1. The Processor SDK for Linux is installed on your host system 2. The SD card you wish to create is inserted into the host system and has a size sufficiently large to hold at least the bootloaders, kernel, and root file system. 3. You have started running the script as detailed in the Common Steps section above. Choose Install Pre-built Images You should now see a prompt like: ###################################################################### ########## Choose file path to install from 1 ) Install pre-built images from SDK 2 ) Enter in custom boot and rootfs file paths ###################################################################### ########## 14

15 Choose now [1/2] : You should choose option 1 to create an SD card using the pre-built images from the SDK. Updating an SD card from a host PC This section assume that you have created an SD card following the instructions on SDK Linux create SD card script given above or have made a compatible layout by hand. In this case, you will need to copy the MLO and u-boot.img files to the boot partition. At this point, the card is now bootable in the SD card slot. We default to using /boot/zimage on the rootfs partition and the device tree file loaded from /boot with the same name as in the kernel. 15

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

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

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

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

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

Enabling DM_Crypt Functionality in SDK release 5.07

Enabling DM_Crypt Functionality in SDK release 5.07 Enabling DM_Crypt Functionality in SDK release 5.07 This document lists steps to enable DM_Crypt functionality in SDK 05.07 Note: This document is intended for use with SDK release 5.07 and Ubuntu 10.04LTS.

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

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

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

REX-RED Community Android 4.3

REX-RED Community Android 4.3 REX-RED Community Android 4.3 Build Guide REXNOS CO.,Ltd Document Information Version 1.1 File Name REX5260 Android 4.3 Build Guide.doc Date May 20, 2014 Status Working Revision History Date Version Update

More information

There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config. Figure 1.

There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config. Figure 1. There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config Character-based menu interface # make menuconfig Figure 1 Figure 2 X-window

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

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

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

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

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

Embedded Linux Systems

Embedded Linux Systems Dpto. de Telemática y Electrónica Universidad Politécnica de Madrid Embedded Linux Systems Using Buildroot for building Embedded Linux Systems (BeagleBone Black) V1.2 Mariano Ruiz Francisco Javier Jiménez

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

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

Device Tree Overview

Device Tree Overview Device Tree Overview Device Tree History Device Tree (DT) was created by Open Firmware to allow an operating system at runtime to run on various hardware without hard coding any information. Open Firmware

More information

SCM EVK (SCM120

SCM EVK (SCM120 SCM120-120-EVK (SCM120 and SCB120) BSP Linux User s Manual Disclaimers This manual has been carefully checked and believed to contain accurate information. Axiomtek Co., Ltd. assumes no responsibility

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

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

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-- MANISHA AGRAWAL: Hi. My name is Manisha Agrawal. I am with Texas Instruments Video Security team. In this video, I will be covering DM385 IPNC RDK out of box demo-- Part 3. Here, I'll be showing flashing

More information

OPT3001EVM Linux Getting Started Guide. Felipe Balbi

OPT3001EVM Linux Getting Started Guide. Felipe Balbi OPT3001EVM Linux Getting Started Guide Felipe Balbi August 18, 2014 This page is intentionally left blank Contents 1 Scope 1 2 Introduction 2 2.1 OPT3001............................... 2 2.2 Beagle Bone

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

Command Line Parameters Linux Copy Files From Usb

Command Line Parameters Linux Copy Files From Usb Command Line Parameters Linux Copy Files From Usb 1 Creating a bootable Alpine Linux USB Stick from the command line Tip: If you're not able to boot from the CD, then another option is to boot from a regular

More information

Android. Separated Kernel build might break the Android build process. Toolchain

Android. Separated Kernel build might break the Android build process. Toolchain 2018/01/19 06:43 1/15 Android Android How to download and compile the Android kernel for ODROID-XU3/XU4. You need use gcc version 4.6 to build the Exynos-5422 Android Kernel. If you have not built Android

More information

Q7M EVK (Q7M120

Q7M EVK (Q7M120 Q7M120-120-EVK (Q7M120 and Q7B120) BSP Linux User s Manual Disclaimers This manual has been carefully checked and believed to contain accurate information. Axiomtek Co., Ltd. assumes no responsibility

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

A pragmatic guide to boot-time optimization

A pragmatic guide to boot-time optimization A pragmatic guide to boot-time optimization Chris Simmonds Embedded Linux Conference Europe 2017 A pragmatic guide to boot-time optimization 1 Copyright 2011-2017, 2net Ltd License These slides are available

More information

Tutorial: Ubuntu on the Zynq SoC Featuring the Avnet ZedBoard

Tutorial: Ubuntu on the Zynq SoC Featuring the Avnet ZedBoard Tutorial: Ubuntu on the Zynq -7000 SoC Featuring the Avnet ZedBoard April 2013 Version 01 Copyright 2013 Avnet Inc. All rights reserved Table of Contents Table of Contents... 2 Lab Setup for Xilinx 14.4

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

Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC. Website: Support:

Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC. Website:  Support: Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC Website:http://cubieboard.org/ Support: support@cubietech.com Version Author Modification Check V-0.1-20141226 A.K Init version V-1.0-20150113 A.K Release

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

LAVA FOR BISECTING KERNEL BUGS LAVA MEETS GIT BISECT RUN

LAVA FOR BISECTING KERNEL BUGS LAVA MEETS GIT BISECT RUN LAVA FOR BISECTING KERNEL BUGS LAVA MEETS GIT BISECT RUN Created by Riku Voipio / G+ RikuVoipio STARTING POINT Someone broke the time, fix asap! # cat test-rtc date '+%F %T' hwclock #./test-rtc 1970-01-01

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

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

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

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

Raspberry Pi Kernel-o-Matic

Raspberry Pi Kernel-o-Matic Raspberry Pi Kernel-o-Matic Created by Todd Treece Last updated on 2016-09-25 04:20:07 AM UTC Guide Contents Guide Contents Overview Installing Dependencies Starting the VM Build the Kernel Custom PiTFT

More information

Mars ZX3 Android manual. Antmicro

Mars ZX3 Android manual. Antmicro Mars ZX3 Android manual Antmicro Sep 27, 2017 Contents 1 Introduction 1 1.1 Acknowledgements..................................... 1 1.2 Version information..................................... 1 2 Compiling

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

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

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

Install and Configure Ubuntu on a VirtualBox Virtual Machine

Install and Configure Ubuntu on a VirtualBox Virtual Machine Install and Configure Ubuntu on a VirtualBox Virtual Machine Ronald Mak Department of Computer Engineering Department of Computer Science January 11, 2019 Introduction Because the class will use Linux

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

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

The distcc Utility for Remote Compiling

The distcc Utility for Remote Compiling The distcc Utility for Remote Compiling Fall 2017 Department of Mechanical Engineering, CSAIL MIT, Cambridge MA 02139 1 The distcc Utility for Remote Compiling 1 1.1 Raspberry Pi Setup.........................................

More information

LiveCD Customization. Creating your own Linux distribution

LiveCD Customization. Creating your own Linux distribution LiveCD Customization Creating your own Linux distribution Background. Do you think that the Ubuntu/Arch/Debian/Fedora default programs and settings are wrong? You can take a base system and customize it

More information

Tizen TCT User Guide

Tizen TCT User Guide Tizen 2.3.1 TCT User Guide Table of Contents 1. Environment setup... 3 1.1. Symbols and abbreviations... 3 1.2. Hardware Requirements... 3 1.3. Software Requirements... 3 2. Getting TCT-source and TCT-manager...

More information

(Ubuntu 10.04), the installation command is slightly different.

(Ubuntu 10.04), the installation command is slightly different. Grub Manual Install Ubuntu 10.04 Without 1st option : get a disk including Boot-Repair, 2nd option : install Boot-Repair in Ubuntu or when you can't boot Windows after installing Ubuntu, or when GRUB is

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

Lab E2: bypassing authentication and resetting passwords

Lab E2: bypassing authentication and resetting passwords Lab E2: bypassing authentication and resetting passwords TTM4175 September 7, 2015 The purpose of this lab is to learn about techniques for bypassing the authentication and access control of Windows and

More information

NovTech Evaluation Board NOVPEK CVLite

NovTech Evaluation Board NOVPEK CVLite NovTech Evaluation Board NOVPEK CVLite Document Name: User Manual Document Number: 001-120- Rev. 0.1 09/2014 Property of NovTech, Inc. 2014. All Rights Reserved Page 0 of 38 Contact Information: Home Page:

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

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

NovTech Evaluation Board NOVPEK CVLite

NovTech Evaluation Board NOVPEK CVLite NovTech Evaluation Board NOVPEK CVLite Document Name: User Manual Document Number: 001 120 04 07 Rev. 0.1 10/2014 Property of NovTech, Inc. 2014. All Rights Reserved Page 0 of 38 Contact Information: Home

More information

DS2 Products Auto-Update Tool BSP

DS2 Products Auto-Update Tool BSP 1.01-05192015-174700 USER GUIDE DS2 Products Auto-Update Tool BSP V1.3 Copyright Copyright 2013 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted,

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

Embedded Linux. A Tour inside ARM's Kernel

Embedded Linux. A Tour inside ARM's Kernel Embedded Linux A Tour inside ARM's Kernel Contents 1. Shell basics 2. Introduction to Embedded Linux 3. Kernel Programming for Module / Driver Installation 4. Module / Device Driver in RPi 5. Cross Compiling

More information

Adding hardware support to Buildroot

Adding hardware support to Buildroot Adding hardware support to Buildroot Pierre Ficheux (pierre.ficheux@openwide.fr) CTO Open Wide / OS4I 08/07/2010 1 Several ways to get a distribution Using commercial product (Wind River, MV, ) => / $$$

More information

Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started

Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started Shuah Khan Senior Linux Kernel Developer Open Source Group Samsung Research America (Silicon Valley) shuah.kh@samsung.com Agenda

More information

RTLinux Installation Instructions

RTLinux Installation Instructions RTLinux Installation Instructions FSM Labs, Inc. http://www.fsmlabs.com April 20, 2001 Abstract This document is intended to guide the user through the installation steps needed to compile and install

More information

Manually Mount Usb Device Linux Command Line Ubuntu 12.04

Manually Mount Usb Device Linux Command Line Ubuntu 12.04 Manually Mount Usb Device Linux Command Line Ubuntu 12.04 4 answers, How to access a usb flash drive from the terminal? (How can I mount a flash drive manually?) Can't mount external usb driver on Ubuntu

More information

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX DU-05347-001_v5.0 October 2012 Installation and Verification on Linux Systems TABLE OF CONTENTS Chapter 1. Introduction...1 1.1 System Requirements... 1 1.2

More information

Installing Eclipse (C++/Java)

Installing Eclipse (C++/Java) Installing Eclipse (C++/Java) The 2017 suite of text-based languages, Java and C++, utilize the current version of Eclipse as a development environment. The FRC specific tools for the chosen language are

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

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

Configuring the MSA1000 for Linux or NetWare Environments

Configuring the MSA1000 for Linux or NetWare Environments White Paper September 2002 Prepared by: Network Storage Solutions Hewlett Packard Company Contents Benefits of the new firmware for the MSA1000...1 Prerequisites...3 Firmware Upgrades:...3 Environmental

More information

μc/probe on the element14 BeagleBone Black

μc/probe on the element14 BeagleBone Black Micriμm μc/probe on the element14 BeagleBone Black 1. Introduction Whether you are doing kernel, driver or application development in a Linux environment, it's likely that at some point, you will need

More information

POSTouch Open Source Driver (OSE) Installation Guide

POSTouch Open Source Driver (OSE) Installation Guide POSTouch Open Source Driver (OSE) Installation Guide 2012/5/4 1. Confirm right driver before start OSE driver version x-window version request V1.0.0.7 before v1.10 V1.0.0.8 v1.10 or above If you are running

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

How To Reinstall Grub In Windows 7 Without Losing Data And Programs

How To Reinstall Grub In Windows 7 Without Losing Data And Programs How To Reinstall Grub In Windows 7 Without Losing Data And Programs So if I install Windows 7 using CD again, will I lose Ubuntu? then yes you will lose Ubuntu, however if you reinstall Windows without

More information

ELE409 SPRING2018 LAB0

ELE409 SPRING2018 LAB0 ELE409 SPRING2018 LAB0 Getting familiar with the LXDE system Objectives: Pre-Lab: 1. Burn the linux system onto a micro-sd card 2. Get familiar with basic linux commands 3. Be able to communicate with

More information

10/02/2015 PetaLinux Image with Custom Application

10/02/2015 PetaLinux Image with Custom Application Contents 1 History... 3 2 Introduction... 3 3 Vivado Project... 4 3.1 Open Vivado... 4 3.2 New Project... 5 3.3 Project Settings... 13 3.4 Create Processor System... 14 3.4.1 New Block Diagram... 14 3.5

More information

Embedded Linux development made easier. User s manual. Version:

Embedded Linux development made easier. User s manual. Version: Embedded Linux development made easier User s manual Version: 2.10.2 August 4, 2009 About Evidence S.r.l. Evidence is a company operating in the field of software for embedded real-time systems. It started

More information

MemGuard on Raspberry Pi 3

MemGuard on Raspberry Pi 3 EECS 750 Mini Project #1 MemGuard on Raspberry Pi 3 In this mini-project, you will first learn how to build your own kernel on raspberry pi3. You then will learn to compile and use an out-of-source-tree

More information

MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit

MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit Jurij Ivastsuk-Kienbaum jurij [at] device-image.de Revision History First draft March 14, 2006 This document describes a setup

More information

10/02/2015 PetaLinux Linux Image Network Connection

10/02/2015 PetaLinux Linux Image Network Connection Contents 1 History... 3 2 Introduction... 3 3 Vivado Project... 4 3.1 Open Vivado... 4 3.2 New Project... 5 3.3 Project Settings... 13 3.4 Create Processor System... 14 3.4.1 New Block Diagram... 14 3.5

More information

EM210 Burn Linux Image Manual. Catalogue

EM210 Burn Linux Image Manual. Catalogue EM210 Burn Linux Image Manual Catalogue 1. Make the SD Card used to burn image... 2 2. Burn the uboot by SD card... 7 3. Set SD booting mode... 11 4. Use sdfuse to burn system by SD card... 12 5. Use fastboot

More information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

How to securely isolate Damn Vulnerable Linux with VirtualBox

How to securely isolate Damn Vulnerable Linux with VirtualBox How to securely isolate Damn Vulnerable Linux with VirtualBox Motivation I have this vision of going through and testing software inside of a closed lab that allows me to understand exploits and vulnerabilities

More information

Installing caos with Cinch on Floppy Disk

Installing caos with Cinch on Floppy Disk Installing caos with Cinch on Floppy Disk Troy Andrew Johnson May 21, 2004 Abstract cinch is the caos Linux (http://www.caosity.org/) installer. Prerequisites What you need: two floppy disks (at least)

More information

Table of Contents. Table of Contents License server installation guide - Linux. Download SCL

Table of Contents. Table of Contents License server installation guide - Linux. Download SCL Table of Contents Table of Contents License server installation guide - Linux Download SCL Download Synopsys Installer Install SCL - RHEL and CentOS Install SCL - Debian and Ubuntu Customizing the License

More information

Running MESA on Amazon EC2 Instances: A Guide

Running MESA on Amazon EC2 Instances: A Guide Page! 1 of! 12 Running MESA on Amazon EC2 Instances: A Guide by Andrew Mizener (amizener@macalester.edu) Page! 2 of! 12 Introduction Welcome! In this guide, I ll be demonstrating how to set up MESA on

More information

SPPEXA TEACHLET: GETTING STARTED WITH L4RE CARSTEN WEINHOLD

SPPEXA TEACHLET: GETTING STARTED WITH L4RE CARSTEN WEINHOLD Faculty of Computer Science Institute of System Architecture, Operating Systems Group SPPEXA TEACHLET: GETTING STARTED WITH L4RE CARSTEN WEINHOLD AGENDA first contact with a microkernel OS getting to know

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

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

EMBEDDED LINUX ON ARM9 Weekend Workshop

EMBEDDED LINUX ON ARM9 Weekend Workshop Here to take you beyond EMBEDDED LINUX ON ARM9 Weekend Workshop Embedded Linux on ARM9 Weekend workshop Objectives: Get you exposed with various trends in Embedded OS Leverage Opensource tools to build

More information

Operating Systems Linux 1-2 Measurements Background material

Operating Systems Linux 1-2 Measurements Background material Operating Systems Linux 1-2 Measurements Background material Introduction The Linux measurements were designed to allow you to have an impression about the administration of Linux severs along with providing

More information

How to Dual-Boot OS X and Ubuntu

How to Dual-Boot OS X and Ubuntu How to Dual-Boot OS X and Ubuntu Nailen Matschke - nailen@caltech.edu 10/3/2015 What you need: 1. A USB drive with at least 2 GB of space, that you don t mind wiping 2. A copy of Ubuntu (available here),

More information

Z-Stack Linux Gateway Quick Start Guide Version 1.0

Z-Stack Linux Gateway Quick Start Guide Version 1.0 Z-Stack Linux Gateway Quick Start Guide Version 1.0 Texas Instruments, Inc. San Diego, California USA Copyright 2014 Texas Instruments, Inc. All rights reserved. Table of Contents 1. INSTALL THE SDK PACKAGE...

More information

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

Linux. For BCT TM1 / HB5. User Guide. Document Reference: BCTTM1HB5 Linux User Guide. Document Issue: 1.2. Associated SDK release: 1. Linux For BCT TM1 / HB5 User Guide Document Reference: BCTTM1HB5 Linux User Guide Document Issue: 1.2 Associated SDK release: 1.2 Author: D Robinson Contents 1. Introduction... 4 2. Environment Setup...

More information

Acronis Backup & Recovery 11 Server for Linux

Acronis Backup & Recovery 11 Server for Linux Acronis Backup & Recovery 11 Server for Linux Update 0 Installation Guide Copyright Acronis, Inc., 2000-2011. All rights reserved. Acronis and Acronis Secure Zone are registered trademarks of Acronis,

More information

AN809 INTEGRATING THE CP210X VIRTUAL COM PORT DRIVER INTO THE ANDROID PLATFORM. 1. Introduction. 2. Materials. 3. Overview

AN809 INTEGRATING THE CP210X VIRTUAL COM PORT DRIVER INTO THE ANDROID PLATFORM. 1. Introduction. 2. Materials. 3. Overview INTEGRATING THE CP210X VIRTUAL COM PORT DRIVER INTO THE ANDROID PLATFORM 1. Introduction This document describes how to build an Android kernel and the steps needed to integrate the CP210x virtual COM

More information

Upgrading the MSA1000 for Enhanced Features

Upgrading the MSA1000 for Enhanced Features White Paper December 2002 Prepared by: Network Storage Solutions Hewlett Packard Company Contents Benefits of the MSA1000 Enhancements...1 Prerequisites...3 Environmental Monitoring Unit (EMU) issue:...3

More information

Familiar Linux for the ipaq H3975 (XScale Processor) CSC 714 Real Time Computing Systems Term Project

Familiar Linux for the ipaq H3975 (XScale Processor) CSC 714 Real Time Computing Systems Term Project Familiar Linux for the ipaq H3975 (XScale Processor) CSC 714 Real Time Computing Systems Term Project Adinarayanan Venkatachalam (avenkat2@unity.ncsu.edu) Srivatsa Venkata Chivukula (svchivuk@unity.ncsu.edu)

More information

Getting Started with PetaLinux SDK

Getting Started with PetaLinux SDK Getting Started with PetaLinux SDK November 26, 2009 Table of Contents Table of Contents...2 About This Guide...3 Related PetaLinux Documents...3 Getting Started...3 Prerequisites...3 Installation...4

More information

The TinyHPC Cluster. Mukarram Ahmad. Abstract

The TinyHPC Cluster. Mukarram Ahmad. Abstract The TinyHPC Cluster Mukarram Ahmad Abstract TinyHPC is a beowulf class high performance computing cluster with a minor physical footprint yet significant computational capacity. The system is of the shared

More information

Partitioning and Formatting Reference Guide

Partitioning and Formatting Reference Guide Partitioning and Formatting Reference Guide This guide provides simple guidelines for the initial setup of your hard disk drive using the most common methods and utilities available within the following

More information