Adding SD card to WRT54GL

Size: px
Start display at page:

Download "Adding SD card to WRT54GL"

Transcription

1 1 of 7 04/08/ :57 AM Adding SD card to WRT54GL From ivc wiki The WRT54GL is a cool little router based on Linux (GPL) and Open Source, thus allowing for extension of the core functions via software and hardware. As the storage device is only 4 MB flash memory it's a pretty limiting factor. Fortunately, it's possible to reprogram the GPIO (General Purpose Input/Output) lines connected to the LEDs and buttons/switches. Contents 1 Pin layout 2 Soldering GPIO points 3 Soldering SD card 4 Software 5 Move filesystem 6 Performance 7 References Pin layout MMC/SD cards has a SPI interface making it easy to connect to the router through the GPIO lines. There are 4 connections; CS, DI, DO and CLK. In addition to 3V and Ground. Pin Direction WRT54GL Name SD Card Name GPIO 0 (Output) Unknown Not used GPIO 1 Output POWER LED Not used GPIO 2 Output WHITE LED DI GPIO 3 Output AMBER LED CLK GPIO 4 Input FRONT BUTTON DO GPIO 5 Output Unknown Not used GPIO 6 Input Unknown Not used GPIO 7 Output DMZ LED CS

2 2 of 7 04/08/ :57 AM Secure Digital - SD card CS - Chip Select for the SD card DI - Data in on the SD card VSS - Ground is a good thing VDD - Power - 8 to 6V will do 5. CLK - The clock we generate for the SD card 6. VSS2 - Another ground is also a good thing 7. DO - Data out from the SD card Secure Digital - minisd card CS - Chip Select DI - Data in VSS - Ground VDD - 3V 5. CLK - Clock 6. VSS2 - Ground 7. DO - Data out 8-1 DO/RSV - Not used Secure Digital - microsd card RSV - Not used CS - Chip Select DI - Data in VDD - 3V 5. CLK - Clock 6. VSS - Ground 7. DO - Data out 8. RSV - Not used Soldering GPIO points The GPIO points on the WRT54GL are all in the front hear the corner where the SES button/switch is located. Wires installed on the underside of the PCB:

3 3 of 7 04/08/ :57 AM There are alternative points for GPIO 2 and GPIO 3 on the topside of the PCB, on the right side on each LED and both the VIA (orange circle) and LED pad (silver solder): Soldering SD card I decided to test a Apacer AP1GMCSD-R 88x 1 GB microsd card instead of a full blown regular SD card. The microsd interface is identical to its parent with the lack of the second VSS2 ground point (design for sleep function). A microsd-to-sd adapter is also normally included to make it easier to read in a standard card reader, same goes for the minisd card. For power and ground I used the closes to the GPIO points I could find. But there are easier spots to solder, like the serial port; 3V is on pin 1 and pin2 and ground on pin 9 and pin 10.

4 4 of 7 04/08/ :57 AM Software I recommend running the Kamikaze release of OpenWrt. It's more refined than White Russian, the previous released. Once OpenWrt is installed on the unit, download and load the MMC module. There are a MMC driver in the Kamikaze package repository but it's not as good as the other optimized MMC driver available. Download the MMC GPIO2 v4 ( /Customizing/Hardware/MMC) or new driver from the OpenWrt wiki, alternatively directly from the forum thread ( Extract the tarball, tar zxvf mmc-v4-gpiotgz Copy the module to the kernel module directory, cp mmc-v4-gpio2/mmc.o /lib/module /34/ Set the correct GPIO mask, found by adding up ( /OpenWrtDocs/Customizing/Hardware/MMC) all the GPIO line hex values, 0x04 +

5 5 of 7 04/08/ :57 AM 0x08 + 0x10 + 0x80 = 0x9c, echo 09c > /proc/diag/gpiomask 5. Load the module, insmod mmc 6. And view the output of the kernel ring buffer, dmesg, if everything went well and there is a partition on the SD card it should end with a mmca: p1 message [INFO] mmc_hardware_init: initializing GPIOs [INFO] mmc_card_init: the period of a 380KHz frequency lasts 524 CPU cycles [INFO] mmc_card_init: powering card on. sending 80 CLK [INFO] mmc_card_init: 80 CLK sent in CPU cycles [INFO] mmc_card_init: resetting card (CMD0) [INFO] mmc_card_init: doing initialization loop [INFO] mmc_card_init: card inited successfully in 2 tries (61580 CPU cycles). [INFO] mmc_init: MMC/SD Card ID: 1b 53 4d b1 c5 df f3 [INFO] Manufacturer ID : 1b [INFO] OEM/Application ID: SM [INFO] Product name : [INFO] Product revision : 0 [INFO] Product SN : b1c5df89 [INFO] Product Date : [INFO] mmc_card_config: size = , hardsectsize = 512, sectors = [WARN] mmc_init: hd_sizes=994816, hd[0].nr_sects= [INFO] mmc_card_init: set_blocklen (CMD16) succeeded! Partition check: mmca: p1 Move filesystem To make proper use of the new storage space, it makes sense to relocate the root filesystem (/) to the SD card and run the main system from there. This will leave the SquashFS on the flash chip and is only used too boot the router (before it switches over to the SD card) and for FailSafe procedures. Linux works best when the the SD card is formatted as ext2 or ext Filesystems like fat or fat32 does not support things like symbolic links and nodes. Most SD cards are fat or fat32 formatted from the factory. 5. Install the e2fsprogs package, ipkg install e2fsprogs Install the ext3 kernel module, ipkg install kmod-fs-ext3 Format the partition, mkfs.ext3 /dev/mmc/disc0/part1 Mount the new ext3 filesystem, mount -t ext3 /dev/mmc/disc0/part1 /mnt/ Try to create or copy files or directories to the SD card, mkdir -p /mnt/itworks/great/ To prepare the move, create a new config in /etc/config called bootfromexternalmedia containing essential information like parition path, filesystem, and gpiomask of the SD card. config bootfromexternalmedia option target '/mnt' option device '/dev/mmc/disc0/part1' option gpiomask '0x9c' option modules 'mmc jbd ext3' option enabled '1' Next, create a /sbin/init script which run after /etc/preinit and before the real /sbin/init. Init script:

6 6 of 7 04/08/ :57 AM #!/bin/sh. /etc/functions.sh config_load "bootfromexternalmedia" local section="cfg1" config_get "target" "$section" "target" config_get "device" "$section" "device" config_get "gpiomask" "$section" "gpiomask" config_get "modules" "$section" "modules" config_get_bool "enabled" "$section" "enabled" '1' [ "$enabled" -gt 0 ] && { [ -n "$gpiomask" ] && { echo "$gpiomask" > /proc/diag/gpiomask } for module in $modules; do { insmod $module }; done sleep 5s mount -o rw "$device" $target [ -x $target/sbin/init ] && {. /bin/firstboot pivot $target $target } } exec /bin/busybox init To install the new init script, do the following: 5. Save the script above as /tmp/init Make it executable, chmod a+x /tmp/init Remove the old init symblink, rm /sbin/init Move the script over, mv /tmp/init /sbin Verify that everything is in place and the scripts are set up properly A final step is to copy the basic root filesystem from /rom to the SD card. It's better to start from scratch than moving the existing system over, i.e. no /sbin/init loops, etc. 5. Create a new mount point, mkdir -p /tmp/root Link the rom filesystem to the mount point, mount -o bind /rom /tmp/root Copy the content, cp /tmp/root/* /mnt -a Flush the cache, sync Dismount the directories, umount /tmp/root and umount /mnt Reboot and wait for the system to boot into the new filesystem first the first time. Since this is a new root filesystem, nothing is configured and you have to telnet in to set up the system, telnet The old filesystem and files can still be found via the /jffs mount. root@openwrt:/www# df -h Filesystem Size Used Available Use% Mounted on none 7.0M 40.0k 6.9M 1% /tmp /dev/mtdblock/4 0M 720.0k 3M 35% /jffs mini_fo:/jffs 2M 2M 0 100% /mnt /dev/mmc/disc0/part M 28.8M 878.5M 3% / Performance

7 7 of 7 04/08/ :57 AM The performance is not essential to this system but it's OK. The card is rated 88x, meaning 150 KB/s x 88, 12 MB/s read speed. The system memory is the limiting factor when transferring files to the unit via SCP, it halts for a moment several times during a transfer. Transferring a 25.6 MB file over wired network: Write: 2min 47sec, averaging 158 KB/s Read: 1min 55 sec, averaging 220 KB/s Copying the same file internally to itself: Read&write: 3min 37sec, averaging 117 KB/s References OpenWrt MMC ( /Hardware/MMC) OpenWrt PackagesOnExternalMediaHowto ( /KamikazeConfiguration/PackagesOnExternalMediaHowTo) OpenWrt WRT54GL ( /WRT54GL) HwB microsd info ( HwB Secure Digital info ( Retrieved from " This page was last modified on 9 June 2008, at 17:59.

SD/MMC mod - DD-WRT Wiki

SD/MMC mod - DD-WRT Wiki Page 1 of 12 Log in / create account Go Main Page Community portal Current events Recent changes Random page Help Donations SD/MMC mod From DD-WRT Wiki SD/MMC Modification for the Buffalo WHR-G54S and

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

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

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

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

Setup Macronix NAND Flash on Freescale i.mx28 EVK

Setup Macronix NAND Flash on Freescale i.mx28 EVK Setup Macronix NAND Flash on Freescale i.mx28 EVK The procedures defined in this document are verified by Linux kernel 2.6.31 and 2.6.35.3 version. You may need to setup hardware environment first. Then

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

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

망고 210 ICS mmc booting 메뉴얼 작성및 patch

망고 210 ICS mmc booting 메뉴얼 작성및 patch 망고 210 ICS mmc booting 메뉴얼 작성및 patch http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 1 Document

More information

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems Project 3: An Introduction to File Systems COP 4610 / CGS 5765 Principles of Operating Systems Introduction Project 3 learning objectives File system design and implementation File system testing Data

More information

Routerboard 5xx. Hardware. Initial Installation

Routerboard 5xx. Hardware. Initial Installation Routerboard 5xx Hardware The RB532 is a router with three Fast Ethernet ports, one supporting PoE, two MiniPci slots and a Compact Flash slot. The board comes with a MIPS32 4Kc based 400MHz embedded processor.

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

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

Contents. Introduction. Firmware ASUS WL500W. Asus_WL-500W

Contents. Introduction. Firmware ASUS WL500W. Asus_WL-500W Contents 1 ASUS WL500W 2 Introduction 3 Firmware 4 Initial Prep 5 Using Telnet or SSH to install the printer driver 6 Configure the Printer from a Windows/Linux Client 7 Adding USB Storage 8 Installing

More information

Server Consolidation with Xen Farming

Server Consolidation with Xen Farming with Gesellschaft für wissenschaftliche Datenverarbeitung mbh Göttingen Am Fassberg, 37077 Göttingen ulrich.schwardmann@gwdg.de Linux Kongress 2008, 9.10.2008 1 2 3 4 5 6 7 8 9 Content should be more than

More information

Flash filesystem benchmarks

Flash filesystem benchmarks Embedded Linux Conference Europe 21 Flash filesystem benchmarks Michael Opdenacker Free Electrons Copyright 21, Free Electrons. 1 Free FreeElectrons Electrons Free embedded Linux and kernel materials http://free

More information

Outline. Cgroup hierarchies

Outline. Cgroup hierarchies Outline 15 Cgroups 15-1 15.1 Introduction to cgroups v1 and v2 15-3 15.2 Cgroups v1: hierarchies and controllers 15-17 15.3 Cgroups v1: populating a cgroup 15-24 15.4 Cgroups v1: a survey of the controllers

More information

Table 1 - SDIO Pinout. Pin SD 4-bit Mode SD 1-bit Mode SPI Mode. 1 CD/DAT3 Data Line CS Card Select

Table 1 - SDIO Pinout. Pin SD 4-bit Mode SD 1-bit Mode SPI Mode. 1 CD/DAT3 Data Line CS Card Select Quick Start Guide Computer System Requirements Supported Systems Operating System: Windows 7/8/10 USB:USB 2.0 and later Minimum Requirements Processor: Core i5 at 2.7 GHz RAM: 4 GB Free Hard Disk Space

More information

Managing Disks. Managing Disks in the Cluster. Disk Requirements

Managing Disks. Managing Disks in the Cluster. Disk Requirements in the Cluster, on page Disk Requirements, on page Replacing Self Encrypted Drives (SEDs), on page 4 Replacing SSDs, on page 6 Replacing NVMe SSDs, on page 7 Replacing Housekeeping SSDs, on page 8 Replacing

More information

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Please choose the best answer. More than one answer might be true, but choose the one that is best. Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:

More information

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration Chapter 6. Boot time configuration Chapter 6 Boot time configuration Last revised: 20/6/2004 Chapter 6 Outline In this chapter we will learn about: How the system boots How to configure the boot loaders

More information

256MB / 512MB / 1GB / 2GB

256MB / 512MB / 1GB / 2GB Description: TEKQ TSD133XXX is a new 133X Super Fast Performance mass-storage system based on innovations in semiconductor technology which designed in advanced SD specification Ver.1.1. It s a special

More information

DTK2410 Specification

DTK2410 Specification version 1.0 DIGNSYS Inc. FEATURES Hardware DTK2410 reference board Reference board for embedded application SAMSUNG S3C2410 MCU NOR/NAND Flash and SDRAM USB host and device UART interface JTAG interface

More information

(32 KB) 216 * 215 = 231 = 2GB

(32 KB) 216 * 215 = 231 = 2GB The Microsoft FAT 16 file system (supported by all of Microsoft's operating systems from latter versions of MS-DOS through Windows8, as well as all Linux versions) is an example of a file allocation table

More information

Outline. Cgroup hierarchies

Outline. Cgroup hierarchies Outline 4 Cgroups 4-1 4.1 Introduction 4-3 4.2 Cgroups v1: hierarchies and controllers 4-16 4.3 Cgroups v1: populating a cgroup 4-24 4.4 Cgroups v1: a survey of the controllers 4-38 4.5 Cgroups /proc files

More information

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University Week 10 Project 3: An Introduction to File Systems Classes COP4610 / CGS5765 Florida State University 1 Introduction The goal of project 3 is to understand basic file system design and implementation file

More information

INSTALLATION. Security of Information and Communication Systems

INSTALLATION. Security of Information and Communication Systems Security of Information and Communication Systems INSTALLATION Table of contents 1.Introduction...2 2.Installation...3 2.1.Hardware requirement...3 2.2.Installation of the system...3 2.3.Installation of

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

DSH-G300 Smart Hub. Manual

DSH-G300 Smart Hub. Manual DSH-G300 Smart Hub Manual Version 1.0 Dec 7 th, 2017 Page 1 Table of Contents 1. PRODUCT DESCRIPTION... 3 2. APPEARANCE... 3 3. INSTALLATIONS & CONFIGURATIONS... 4 Page 2 1. PRODUCT DESCRIPTION The DSH-G300

More information

QPKG Debian6 V (Beta)

QPKG Debian6 V (Beta) QPKG Debian6 V 1.1.0 (Beta) Add a Debian chroot environment to your Qnap Available for : Arm Qnap except TS-x09 Intel Qnap First Print Please read post on forum for complete information Documentation version

More information

File Systems Management and Examples

File Systems Management and Examples File Systems Management and Examples Today! Efficiency, performance, recovery! Examples Next! Distributed systems Disk space management! Once decided to store a file as sequence of blocks What s the size

More information

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

LotOS Framework. Getting Started Guide for Banana Pi. Copyright (C) 2015 ilbers GmbH Revision 1.1, LotOS Framework Getting Started Guide for Banana Pi Copyright (C) 2015 ilbers GmbH Revision 1.1, 2015-10-20 Mango hypervisor and LotOS framework are copyright (C) 2014 2015 ilbers GmbH. All rights reserved.

More information

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

Glomation. Embedded Single Board Computer GESBC-3130S User s Manual Glomation Embedded Single Board Computer GESBC-3130S User s Manual Table of Contents Chapter 1 Introducing the GESBC-3130S Single Board Computer... 4 GESBC-3130S Overview... 4 Advanced Features... 4 LPC-3130...

More information

Boot time Optimization of Automotive Grade Linux. Shilu SL & Renjith G 14-Jul-2016

Boot time Optimization of Automotive Grade Linux. Shilu SL & Renjith G 14-Jul-2016 Boot time Optimization of Automotive Grade Linux Shilu SL & Renjith G 14-Jul-2016 1 Agenda Importance of Fast Boot in AGL Setting up of targets Boot time optimization techniques Explaining with a live

More information

Project 3: An Introduction to File Systems. COP4610 Florida State University

Project 3: An Introduction to File Systems. COP4610 Florida State University Project 3: An Introduction to File Systems COP4610 Florida State University 1 Introduction The goal of project 3 is to understand basic file system design and implementation file system testing data serialization/de-serialization

More information

ZBG 100 Gateway Recovery Guide Version 02 ZBG pikkerton GmbH ZBG Gateway Recovery Guide.docx Page 1/11

ZBG 100 Gateway Recovery Guide Version 02 ZBG pikkerton GmbH ZBG Gateway Recovery Guide.docx Page 1/11 2015 pikkerton GmbH ZBG.docx Page 1/11 1 History DVers.: Date Modified by Changes State 01 04.06.2015 PI FG Born Release 02 13.10.2015 PI FG Update of file links Release 2015 pikkerton GmbH ZBG.docx Page

More information

File Systems. File system interface (logical view) File system implementation (physical view)

File Systems. File system interface (logical view) File system implementation (physical view) File Systems File systems provide long-term information storage Must store large amounts of data Information stored must survive the termination of the process using it Multiple processes must be able

More information

Genesys Logic, Inc. GL823K. USB 2.0 SD/MSPRO Card Reader Controller. Datasheet. Devin Qiu Q:

Genesys Logic, Inc. GL823K. USB 2.0 SD/MSPRO Card Reader Controller. Datasheet. Devin Qiu Q: Genesys Logic, Inc. GL823K USB 2.0 SD/MSPRO Card Reader Controller Datasheet Devin Qiu Q:327857878 Revision 1.03 Dec. 17, 2014 Copyright Copyright 2014 Genesys Logic, Inc. All rights reserved. No part

More information

Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C)

Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C) Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C) [1] Introduction The unboxing experience of the DragonBoard 410c is very enjoyable and straightforward.

More information

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

Filesystem Hierarchy Operating systems I800 Edmund Laugasson Filesystem Hierarchy Operating systems I800 Edmund Laugasson edmund.laugasson@itcollege.ee There has been used materials from Margus Ernits, Katrin Loodus when creating current slides. Current document

More information

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

M-508 Quick Installation Guide. Screw: Φ 3 mm Overview M-08 is a Linux ready Single Board Computer featuring four serial ports, 0/00 Mbps Ethernet, USB port and SD socket for flash disk expansion. The pre-install Linux OS and GNU tool chain make M-08

More information

WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200

WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200 WLAN on DILNetPC DNP9200 External SWAP Device on DNP9200 Picture 1: DNP9200 + eval board SK23, external mini USB2.0 Hub with a 11Mbps WLAN USB Adapter and 1GB high speed(192x) USB SWAP device. Attention:

More information

Release Notes of the QNX BSP for Centrality Atlas II EVB Trunk#

Release Notes of the QNX BSP for Centrality Atlas II EVB Trunk# Release Notes of the QNX 6.4.0 BSP for Centrality Atlas II EVB Trunk# System requirements# Target system# Board version: Centrality Atlas II motherboard version 2.1 CPU board version 2.12 (with 64MB of

More information

Embedded System Design

Embedded System Design Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect

More information

A Hardware watchdog and shutdown button

A Hardware watchdog and shutdown button LinuxFocus article number 239 http://linuxfocus.org A Hardware watchdog and shutdown button by Guido Socher (homepage) About the author: Guido loves Linux because it is always interessting to discover

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. Peng Li TA: Andrew Targhetta (Lab exercise created by A Targhetta and P Gratz) Laboratory

More information

Thousands of Linux Installations (and only one administrator)

Thousands of Linux Installations (and only one administrator) Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University of Manchester LeBlanc@man.ac.uk Overview Environment

More information

ECE471: Embedded Systems Homework 7 SPI, A/D and Temperature Probe. Due: Friday, 2 November 2018, 10:00am

ECE471: Embedded Systems Homework 7 SPI, A/D and Temperature Probe. Due: Friday, 2 November 2018, 10:00am ECE471: Embedded Systems Homework 7 SPI, A/D and Temperature Probe Due: Friday, 2 November 2018, 10:00am 1. You may work in groups of two on this homework. You will need an MCP3008 SPI A/D converter as

More information

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS)

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS) Manage Directories and Files in Linux Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change Directories and List Directory Contents Create and View

More information

Contents. Cellular_Phone/USB_Modem_as_WAN_connection. English Deutsch Español Français Italiano??? Polski Português??????? Svenska???(????)????(??)?

Contents. Cellular_Phone/USB_Modem_as_WAN_connection. English Deutsch Español Français Italiano??? Polski Português??????? Svenska???(????)????(??)? English Deutsch Español Français Italiano??? Polski Português??????? Svenska???(????)????(??)? This guide will take you through the steps to setup a router running DD-WRT to use a cellular phone or other

More information

1 The Linux MTD, YAFFS Howto

1 The Linux MTD, YAFFS Howto 1 The Linux MTD, YAFFS Howto User Program System Call Interface Virtual File System MTD Module FIle System(jffs,yaffs) Block Device Interface User Module MTD Driver Module Driver Module NAND FLASH MEMORY

More information

SD/eMMC: new speed modes and their support in Linux

SD/eMMC: new speed modes and their support in Linux Embedded Linux Conference Europe 2017 SD/eMMC: new speed modes and their support in Linux Gregory CLEMENT Bootlin gregory@bootlin.com embedded Linux and kernel engineering - Kernel, drivers and embedded

More information

PL-I Assignment Broup B-Ass 5 BIOS & UEFI

PL-I Assignment Broup B-Ass 5 BIOS & UEFI PL-I Assignment Broup B-Ass 5 BIOS & UEFI Vocabulary BIOS = Basic Input Output System UEFI = Unified Extensible Firmware Interface POST= Power On Self Test BR = Boot Record (aka MBR) BC =Boot Code (aka

More information

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017 ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 The Operating System (OS) Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke)

More information

Human Machine Interface Platform

Human Machine Interface Platform Human Machine Interface Platform J 0977M N01 (Preliminary) Deqing Jiahe Electronic Technology Co., Ltd. TEL: +86 572 8051676 ext. 803 FAX: +86 572 8051676 ext. 801 sales@jiahe electronic.com Version V1.0

More information

Question No: 1 In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.

Question No: 1 In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers. Volume: 129 Questions Question No: 1 In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.) A. acpid B. lsof C. pstree D. telinit

More information

2018/01/30 18:11 1/6 Disks Management HDD Management. Disks must be added before they can be formatted and mounted or configured in a RAID array.

2018/01/30 18:11 1/6 Disks Management HDD Management. Disks must be added before they can be formatted and mounted or configured in a RAID array. 2018/01/30 18:11 1/6 Disks Management HDD Management Disks management Disks must be added before they can be formatted and mounted or configured in a RAID array. All disks that you wish to configure in

More information

ECE 598 Advanced Operating Systems Lecture 14

ECE 598 Advanced Operating Systems Lecture 14 ECE 598 Advanced Operating Systems Lecture 14 Vince Weaver http://www.eece.maine.edu/~vweaver vincent.weaver@maine.edu 19 March 2015 Announcements Homework #4 posted soon? 1 Filesystems Often a MBR (master

More information

Matrix 500 Quick Installation Guide

Matrix 500 Quick Installation Guide Overview Matrix 500 features four serial ports, 10/100 Mbps Ethernet, USB port and SD socket for flash disk expansion. The preinstall Linux OS and GNU tool chain make Matrix 500 ready for your application

More information

File Management 1/34

File Management 1/34 1/34 Learning Objectives system organization and recursive traversal buffering and memory mapping for performance Low-level data structures for implementing filesystems Disk space management for sample

More information

SD/eMMC: new speed modes and their support in Linux Embedded Linux Experts

SD/eMMC: new speed modes and their support in Linux Embedded Linux Experts Embedded Linux Conference 2017 SD/eMMC: new speed modes and their support in Linux Embedded Linux Experts Gregory CLEMENT Free Electrons gregory@free-electrons.com FreeElectrons - Embedded Linux, kernel,

More information

Quick Start Guide V NLX-microUCS APPLIANCE Unified Communications Server

Quick Start Guide V NLX-microUCS APPLIANCE Unified Communications Server Quick Start Guide V.02.10 NLX-microUCS APPLIANCE Unified Communications Server Introduction The Elastix NLX-microUCS appliance puts at your fingertips all the tools you need to handle your communications

More information

Carambola2 (-I) Data sheet. Carambola2 is a tiny surface mountable 2.4 GHz Wi-Fi module running OpenWRT linux software

Carambola2 (-I) Data sheet. Carambola2 is a tiny surface mountable 2.4 GHz Wi-Fi module running OpenWRT linux software (-I) is a tiny surface mountable 2.4 GHz Wi-Fi module running OpenWRT linux software 8devices is a member of Carambola wireless modules family and is based on Qualcomm/Atheros AR9331 SoC. is a surface

More information

Course 55187B Linux System Administration

Course 55187B Linux System Administration Course Outline Module 1: System Startup and Shutdown This module explains how to manage startup and shutdown processes in Linux. Understanding the Boot Sequence The Grand Unified Boot Loader GRUB Configuration

More information

Windows Method Using Linux Live CD and Gparted

Windows Method Using Linux Live CD and Gparted Contents 1 Formatting and Partitioning USB Storage for DD-WRT 2 Windows Method Using Linux Live CD and Gparted 2.1 Linux Command Line Method 3 Formatting the /opt, /jffs and Data Partitions, and preparing

More information

Embedded lightweight unix

Embedded lightweight unix Embedded lightweight unix ELWIX its free now! Universal embedded system http://www.elwix.org/ Michael Pounov Since 2004 like propriatary OS Give best practices and features from *BSD

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

List of Linux Commands in an IPm

List of Linux Commands in an IPm List of Linux Commands in an IPm Directory structure for Executables bin: ash cpio false ln mount rm tar zcat busybox date getopt login mv rmdir touch cat dd grep ls perl sed true chgrp df gunzip mkdir

More information

An Autonomous Underwater Vehicle CPU Programming How To Guide

An Autonomous Underwater Vehicle CPU Programming How To Guide An Autonomous Underwater Vehicle CPU Programming How To Guide Roger Cortesi Document Version 0.1: May 5, 2006 1 Contents 1 Introduction 3 2 Configuring the TS-7200 5 2.1 Configuring the RedBoot boot loader...........................

More information

Saving Your Bacon Recovering From Common Linux Startup Failures

Saving Your Bacon Recovering From Common Linux Startup Failures Saving Your Bacon Recovering From Common Linux Startup Failures Mark Post Novell, Inc. Friday, August 12, 2011 Session Number 10105 Agenda How the boot process is supposed to work What things can go wrong

More information

MicroZed Open Source Linux In System QSPI Programming Tutorial

MicroZed Open Source Linux In System QSPI Programming Tutorial MicroZed Open Source Linux In System QSPI Programming Tutorial Version 14.5.01 Revision History Version Description Date 14.5.00 Initial release August 13, 2013 Page 2 of 18 Table of Contents Revision

More information

Unity Digital Industrial Solution SLC SD 3.0 Specification

Unity Digital Industrial Solution SLC SD 3.0 Specification Unity Digital Industrial Solution SLC SD 3.0 Specification Contents A. General Description...1 B. Features...2 C. Comparison of SD Card...3 D. Block Diagram...4 E. Power Consumption...6 F. Environmental

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

INSTALLATION. Security of Information and Communication Systems. Table of contents

INSTALLATION. Security of Information and Communication Systems. Table of contents Security of Information and Communication Systems INSTALLATION Table of contents 1. Introduction...2 2....3 2.1. Hardware requirement...3 2.2. of the system...3 2.3. of ALCASAR...7 2.4. Connexion to the

More information

Router_Dir-320_DD-WRT_+_WWW_+_PHP_+_MySQL_+_PERL.????????????????????????????????????? DIR-320??????????????? PHP? MySQL.

Router_Dir-320_DD-WRT_+_WWW_+_PHP_+_MySQL_+_PERL.????????????????????????????????????? DIR-320??????????????? PHP? MySQL. ????????????????????????????????????? DIR-320??????????????? PHP? MySQL.??????????????????: 1)?????? DIR-320(??????????????????????? DD-WRT) (Standard Generic dd-wrt.v24_usb_generic.bin 2009-10-10 3,21

More information

Pronto PicOS 1.4 Installation Reference Guide

Pronto PicOS 1.4 Installation Reference Guide Pronto PicOS 1.4 Installation Reference Guide PICA8 Inc. Mar, 2012 Copyright (C) 2009, 2010, 2011, 2012 Pica8, Inc. All rights reserved. Pica8, Inc. makes no warranty of any kind with regard to this material,

More information

Physical and Logical structure. Thursday, December 02, 2004

Physical and Logical structure. Thursday, December 02, 2004 Logical_and_physical Page 1 Physical and Logical structure Thursday, December 02, 2004 2:32 PM Logical and Physical structure Physical structure of a disk: tracks, sectors, cylinders. Logical structure

More information

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett RaspiDigiHamClock Raspberry Pi Amateur Radio Digital Clock v2018-07-08 WA4EFH R.Grokett Overview Amateur Radio Operators (aka HAM Radio) use 24 hour UTC (Universal Coordinated Time) for much of their operation.

More information

D1Y - Embedded Linux with Yocto

D1Y - Embedded Linux with Yocto Training Embedded Linux with Yocto: Building embedded Linux platforms using Yocto - Operating Systems: Linux D1Y - Embedded Linux with Yocto Building embedded Linux platforms using Yocto Objectives Understanding

More information

System Summary Based On System Specification Version 3.31 MMCA Technical Committee

System Summary Based On System Specification Version 3.31 MMCA Technical Committee The MultiMediaCard System Summary Based On System Specification Version 3.31 MMCA Technical Committee You acknowledge that the attached standard (the Standard ) is provided to you on an AS IS basis. MULTIMEDIACARD

More information

EX L-8 User Guide

EX L-8 User Guide EX-9486-2L-8 User Guide Introduction: EX-9486-2L-8 are ARM9-based Linux ready industrial computer. The keyfeatures are as follow: 1. ARM920T ARM Thumb Processor with 200MIPS at 180MHz,Memory Management

More information

Linux Filesystems Ext2, Ext3. Nafisa Kazi

Linux Filesystems Ext2, Ext3. Nafisa Kazi Linux Filesystems Ext2, Ext3 Nafisa Kazi 1 What is a Filesystem A filesystem: Stores files and data in the files Organizes data for easy access Stores the information about files such as size, file permissions,

More information

Centipede. Datasheet. Centipede is QCA AR9331 SoC based DIP platform with an integrated 2.4 GHz N (1x1) radio

Centipede. Datasheet. Centipede is QCA AR9331 SoC based DIP platform with an integrated 2.4 GHz N (1x1) radio is QCA AR9331 SoC based DIP platform with an integrated 2.4 GHz (1x1) radio Its tiny form factor (22 x 60 mm), integrated RJ-45, an on-board omni-directional chip antenna and "breadboardable" layout allows

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration System startup and shutdown Bootstrapping Booting PCs Boot loaders Booting into single user mode Startup scripts Rebooting and shutting down Bootstrapping i.e.,

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration System startup and shutdown Bootstrapping Booting PCs Boot loaders Booting into single user mode Startup scripts Rebooting and shutting down Bootstrapping i.e.,

More information

Arch Linux Grub You Need To Load The Kernel First

Arch Linux Grub You Need To Load The Kernel First Arch Linux Grub You Need To Load The Kernel First Preface. A bootloader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the Linux

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

File Systems. What do we need to know?

File Systems. What do we need to know? File Systems Chapter 4 1 What do we need to know? How are files viewed on different OS s? What is a file system from the programmer s viewpoint? You mostly know this, but we ll review the main points.

More information

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection.

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection. TECHNICAL CONFIGURING iscsi AUGUST 2012 You can use a iscsi storage network in your STRM deployment. This document provides information on configuring and using iscsi devices with your deployment. Unless

More information

Device: EDR B. This document Version: 1c. Date: 11 November Matches module version: v3 [25 Aug 2016]

Device: EDR B. This document Version: 1c. Date: 11 November Matches module version: v3 [25 Aug 2016] Device: EDR-200200B This document Version: 1c Date: 11 November 2016 Matches module version: v3 [25 Aug 2016] Description: e-paper Display Driver and 200x200 e-paper Display EDR-200200B v1 datasheet Page

More information

This is sometimes necessary to free up disk space on a volume that cannot have extra disk space easily added.

This is sometimes necessary to free up disk space on a volume that cannot have extra disk space easily added. Movin g /var/log/ Article Number: 473 Rating: Unrated Last Updated: Tue, Mar 29, 2016 at 5:56 PM O ve r vie w This KB article will walk you through the steps of moving the /var/log directory to a new disk/volume

More information

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

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11 User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11 History of Changes Revision Issue Date Descripion Author Ver 1.0 2009-04-24 First version of the document Olivier Arnal Ver 1.1 2009-04-27 Minor modification

More information

GPS Series. Build a GPS Smart Logger. By Michael Simpson. As seen in November 2008 of Servo Magazine Pick up an issue at

GPS Series. Build a GPS Smart Logger. By Michael Simpson. As seen in November 2008 of Servo Magazine Pick up an issue at GPS Series By Michael Simpson Build a GPS Smart Logger As seen in November 2008 of Servo Magazine Pick up an issue at www.servomagazine.com I recently did a GPS series covering various GPS modules and

More information

PAC-5010 Programmable Automation Controller User Guide

PAC-5010 Programmable Automation Controller User Guide PAC-5010 Programmable Automation Controller User Guide Version 1.0 Copyright Artila Electronics Co., Ltd. All Rights Reserved. Table of Contents 1. Introduction... 1 1.1 Features... 1 1.2 Packing List...

More information

System Administration for Beginners

System Administration for Beginners System Administration for Beginners Week 5 Notes March 16, 2009 1 Introduction In the previous weeks, we have covered much of the basic groundwork needed in a UNIX environment. In the upcoming weeks, we

More information

IVI Fast boot approach

IVI Fast boot approach IVI Fast boot approach 07/13/2016 Yuichi Kusakabe SS Engineering Group Fujitsu TEN LIMITED 1 About Myself Yuichi Kusakabe (Fujitsu TEN LIMITED) Software Engineer of IVI about 10 years (for 16-bit and 32-bit

More information

System Manager Unit (SMU) Hardware Reference

System Manager Unit (SMU) Hardware Reference System Manager Unit (SMU) Hardware Reference MK-92HNAS065-02 Notices and Disclaimer Copyright 2015 Hitachi Data Systems Corporation. All rights reserved. The performance data contained herein was obtained

More information

Linux/Citrix Virtual Environment Documentation

Linux/Citrix Virtual Environment Documentation Linux/Citrix Virtual Environment Documentation Purpose This document provides information on creating a bootable Ubuntu flash drive, customizing the interface, and using basic commands. Contents Bootable

More information

ECE 471 Embedded Systems Lecture 16

ECE 471 Embedded Systems Lecture 16 ECE 471 Embedded Systems Lecture 16 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 6 October 2017 Midterm will be graded Don t forget HW#5 Announcements MEMSYS wrapup. Academia,

More information

DRIVER STATION v1.0 UTILITY LOADER Created: 22DEC2008 FIRST DRIVER STATION UTILITY LOADER RE-IMAGE INSTRUCTIONS

DRIVER STATION v1.0 UTILITY LOADER Created: 22DEC2008 FIRST DRIVER STATION UTILITY LOADER RE-IMAGE INSTRUCTIONS FIRST DRIVER STATION UTILITY LOADER RE-IMAGE INSTRUCTIONS 1 Introduction This document describes steps to load the Driver Station (DS) v1.0 Utility Loader (UL). The UL can be used to re-image the DS, perform

More information