Computer System Laboratory

Slides:



Advertisements
Similar presentations
The Operating System. What is an Operating System? The program that is loaded first and manages the hardware resources like main memory, backing storage.
Advertisements

Chapter 6 Review System Software: Operating Systems and Utilities.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
Basic Input Output System
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
CCNA 2 v3.1 Module 2.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
University of Management & Technology 1 Operating Systems & Utility Programs.
Booting. Booting is the process of powering it on and starting the operating system. power on your machine, and in a few minutes your computer will be.
W2K Server Installation It is very important that before you begin to install Windows 2000 Server, you must prepare for the installation by gathering specific.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
Click once to reveal the definition. Think of the answer. Then click to see if you were correct. HARDWARE Physical parts of the computer.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
VirtualBox: How to create a Linux Virtual Machine.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 6A Operating System Basics PART I.
 Contents 1.Introduction about operating system. 2. Minimum requirement for Windows 7 operating system. 3. Procedure to install Window 7 operating system.
Linux Boot Process on the Raspberry Pi 2 1 David Ferry, Chris Gill CSE 522S - Advanced Operating Systems Washington University in St. Louis St. Louis,
Raspberry Pi Project Control Your Home Lights with a Raspberry Pi.
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
SAURABH GINGADE 12311A0480. The Raspberry Pi is a credit-card sized computer.
IT Chapter 2 Part A How Computers Work Input, process, output, and storage The operating system helps the computer perform four basic operations,
RaspberryPi.
SCRATCH Weather Dashboard
How to get Balsa running on a Windows computer
Workshop on Raspberry Pi 3
bitcurator-access-webtools Quick Start Guide
Unit Hardware Troubleshooting
Computer System Laboratory
RASPBERRY PI WORKSHOP.
Implementation of Embedded OS
Computer System Laboratory
Chapter Objectives In this chapter, you will learn:
Guide to Linux Installation and Administration, 2e
Seamless Guest OS's and more!
Operating System Review
Computer System Laboratory
Course on Embedded Systems Introduction
System Software EIT, © Author Gay Robertson, 2016.
Implementation of Embedded OS
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
A microcontroller Raspberry Pi 2 Model B V1.1 RPi
Computer System Laboratory
TOPIC 6: SYSTEM START-UP AND CONFIGURATION
Implementation of Embedded OS
Lecture 6 Uli Raich UCC semester 2017/2018
Computer System Laboratory
Implementation of Embedded OS
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Building Android OS Topics: Building Android and Kernel
Engineering Innovation Center
Create A Virtual Machine
Raspberry Pi.
Operating System Review
Internet-of-Things (IoT)
Chapter 1: How are computers organized?
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Implementation of Embedded OS
bitcurator-access-webtools Quick Start Guide
Beginning Raspberry Pi
Introduction to Single Board Computer
WINDOW 7 INSTALLATION Prepared By:- Mr. Pawan Kumar
Presentation transcript:

Computer System Laboratory Lab1 - Environment Setup / 15

Experimental Goal Experience Raspberry Pi (RPi) by: installing the official OS on RPi. connecting I/O components to RPi. trying the OS. Take a look at the processor architecture and the boot process of RPi. Configure the OS according to the official documentation. / 15

Environment Build Machine Target Machine Machine: A computer with a SD card slot OS: Ubuntu 15.10 (or above) 64-bit Target Machine Machine: Raspberry Pi (2 or 3) OS: Raspbian / 15

Software Required VirtualBox (not needed if you use a physical machine to build) Ubuntu Raspbian Jessie / 15

Hardware Checklist Raspberry Pi Power supply Micro SD card and card reader USB mouse USB keyboard HDMI screen and cable Network cable / 15

Setup a Build Machine Install VirtualBox. Create a virtual machine. Disk space: 30GB RAM: 2GB Network: NAT Install Ubuntu in the VM. In this lab, we only need the dd command and hence any release of Ubuntu will do. However, in the next lab, we will use the build machine to compile software, and only the mentioned releases have been tested. / 15

Access the SD Card Plug the SD card into the build machine and find out the device name. E.g. /dev/sdc. Ensure the device name in your case. We will later erase all data on the device. If your build machine is a VM, click the following button to capture the SD card. / 15

Create a Raspbian SD Card Download the Raspbian .zip file and extract it to get the .img file. Unmount all partitions of the SD card. E.g. sudo umount /dev/sdc1 Write the image to the SD card. E.g. sudo dd bs=4M if=2016-05-27-raspbian-jessie.img of=/dev/sdc This may take some minutes. Safely eject the SD card so that all written data is flushed. / 15

Connect the Hardwares to Raspberry Pi If your screen does not detect HDMI input automatically, switch the mode of the screen to HDMI. RPi will boot right after the power supply is connected. / 15

Boot Successfully The default user name is “pi”, and password is “raspberry”. Raspbian is an OS based on Debian. If you are familiar with Debian or Ubuntu, using Raspbian shouldn’t be a problem. / 15

Processor Instruction set architecture (ISA) and microarchitecture (uarch) ARMv8 has an Aarch32 mode which is compatible with ARMv7. Thus RPi 3 is able to run the same 32-bit Raspbian as RPi 2. If you run lscpu on RPi 2 (left) and RPi 3 (right), you may found the difference between CPU frequency. ISA uarch Raspberry Pi 2 ARMv7-A Cortex-A7 Raspberry Pi 3 64-bit ARMv8-A Cortex-A53 / 15

Firmware The official firmware of RPi is closed source, but its binary is freely redistributable and may be download on the official Github. The /boot directory in a separated partition comes from the official firmware. / 15

Boot Sequence When RPi is just turn on, the GPU core is on, but the ARM core and SDRAM is not available. GPU runs the 1st stage bootloader on ROM. The 1st stage bootloader loads the 2nd stage bootloader (bootcode.bin) from SD card to cache and passes control to it. bootcode.bin enables SDRAM, loads the GPU firmware (start.elf) from SD card to SDRAM, and passes control to it. start.elf reads the configuration files, loads kernel.img (in our case, the Linux kernel) from SD card to SDRAM, and resets the ARM core. The ARM core then runs the kernel on SDRAM. / 15

Lab Requirement Configure Raspbian to accomplish the following works. Check the official configuration page for help. Listening to music Outputting from either HDMI or the headphone jack is OK. Surfing PTT Change locale and install some fonts to display Chinese. The official documentation does not tell you about installing fonts, but it should be easy to google.  / 15

Reference Installing operating system images - Raspberry Pi Documentation Raspberry Pi – Wikipedia ARM architecture - Wikipedia Raspberry Pi Firmware Raspberry Pi boot process Configuration - Raspberry Pi Documentation / 15