1/8/2016 1 Embedded XINU and WRT54GL. 1/8/2016 2 Topics WRT54GL architecture and internals Embedded XINU Logic and shift operators.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

BTT 101 / 2O1 Lesson 10 Dundas Valley Secondary Mr. Young.
Embedded Systems : WRT54GL Wireless Router B. Ramamurthy.
WXES2106 Network Technology Semester /2005 Chapter 5 Routers CCNA2: Module 1 and 2.
Wi-Fi Structures.
1 Wireless LANs. 2 Introduction Types of Communication Networks. LAN’s Configurations. Wireless Technology. –Definition. –Applications. –Example. Communications.
WANs and Routers Routers. Router Description Specialized computer Like a general purpose PC, a router has:  CPU  Memory  System Bus Connecting Internal.
BINA RAMAMURTHY Introduction to Xinu and Kernel Programming 6/7/2013 Amrita-UB-MSES
The Wireless Router D-Link DIR-601. Components Capacitors Ethernet Connections 5V DC Power LED Internet LED Wireless LED Ethernet LED’s Antenna wire Isolation.
300Mbps Dual Band Wireless VDSL2 Router VDR-300NU.
CECS 474 Computer Network Interoperability Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach.
CISCO NETWORKING ACADEMY Chabot College ELEC Router Introduction.
8/12/ Embedded XINU and WRT54GL. Purpose 8/12/ Xinu is a embedded kernel It runs on “torn-down” wireless router used as a host for this embedded.
TEW-691GR Training TEW-691GR Training TEW-691GR 450Mbps Wireless N Gigabit Router.
For more notes and topics visit: eITnotes.com.
Networking Hardware and Components By: Sean Bell.
NETWORKING COMPONENTS Zach Avis. Hub A hub is a low cost way to connect two computers. A hub can also act as a repeater. When a signal comes from one.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Configuring Network Devices Working at a Small-to-Medium Business or ISP – Chapter.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Wireless Networking 102.
TEW-812DRU Training. TEW-812DRU AC1750 Dual Band Wireless Router.
CCNA2 Chapter 1 Wide Area Networks and Routers. WAN is a data communications network that operates beyond a LAN’s geographic scope. Users subscribe to.
NETWORKING COMPONENTS By Cleve Rosser. Hubs allow large numbers of computers to be connected on a single or multiple LAN. Each computer plugs into the.
Component 4: Introduction to Information and Computer Science Unit 7: Networks & Networking (Part 4 of 5)
Networks LANS,. FastPoll True Questions Answer A for True and B for False A wireless infrastructure network uses a centralized broadcasting device, such.
Module 2 Chapter 1:WAN’s and Routers. Topics 1.1 WANs 1.2 Routers.
Network Components: Assignment Three
Common Devices Used In Computer Networks
CISC105 General Computer Science Class 1 – 6/5/2006.
5/26/ Embedded XINU and WRT54GL. 5/26/ Topics Demo of number game and avionics FSM Logic and shift operators Optimizing operations (mul, div.
Computer Concepts 2014 Chapter 5 Local Area Networks.
Cisco Router Hardware Software overview. In this lecture we will investigate an overview of Cisco router hardware and software. We will first turn our.
D-Link Confidential Sales guide for 3G wireless router DWR-131.
10/12/ Embedded XINU and WRT54GL. 10/12/ Topics Logic and shift operators Data-driven vs function-driven Embedded XINU and WRT54GL.
NETWORKING COMPONENTS AN OVERVIEW OF COMMONLY USED HARDWARE Christopher Johnson LTEC 4550.
1. 2 Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data forwarding.
1 Version 3.1 Module 1 WANs and Routers. 2 Version 3.1 WANS WAN operates at the physical layer and the data link layer of the OSI reference model. Provide.
First, by sending smaller individual pieces from source to destination, many different conversations can be interleaved on the network. The process.
NETWORKING COMPONENTS Buddy Steele Assignment 3, Part 1 CECS-5460: Summer 2014.
Module 1 CCNA2 v3 Module 1 JEOPARDY CCNA2 v3 Module 1 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
12/8/ Embedded XINU and WRT54GL. 12/8/ Topics WRT54GL architecture and internals Embedded XINU Logic and shift operators.
Presented to:-Sir.Ali Presented by:-Mahmood Khan Roll No:-2801.
Network Components David Blakeley LTEC HUB A common connection point for devices in a network. Hubs are commonly used to connect segments of a LAN.
Home Network Customization Willis Kim. Terminology Overview Overview Overview A broadband router combines the features of a traditional network switch,
Term 2, 2011 Week 2. CONTENTS Communications devices – Modems – Network interface cards (NIC) – Wireless access point – Switches and routers Communications.
Networking Components Siby Abraham LTEC Purpose of the presentation  This presentation will cover how certain network components function, when.
B. RAMAMURTHY 6/13/ Device Drivers. Introduction 6/13/  A device driver is computer program that allows a system to interface with hardware.
Network Components Kortney Horton LTEC October 20, 2013 Assignment 3.
Router Basics MM Clements.
Week1: Introduction to Computer Networks. Copyright © 2012 Cengage Learning. All rights reserved.2 Objectives 2 Describe basic computer components and.
B. Ramamurthy 2/28/ Copyright 2009 B. Ramamurthy.
3/12/ Embedded XINU and WRT54GL. 3/12/ Topics Logic and shift operators Optimizing operations (mul, div VS shiftL, shiftR) WRT54GL architecture.
ASSIGNMENT 3 - NETWORKING COMPONENTS BY JONATHAN MESA.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Cisco Routers.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
Last updated: 20 April 2006 Alberto Escudero Pascaul ItrainOnline MMTK Access Point Configuration Developed by IT +46 Based on the.
Configuring Network Devices
Networking and firewall
Module 1: Understanding Local Area Networks
PC Mouse operated Electrical Load Control Using VB Application
How To Set Up A Wireless Network
Introduction to Xinu and Kernel Programming
Embedded XINU and WRT54GL
Introduction to Xinu and Kernel Programming
CCNA 2 v3 JEOPARDY Module 1 CCNA2 v3 Module 1 K. Martin.
Embedded XINU and WRT54GL
VLANS The Who, What Why, And Where's to using them
Presentation transcript:

1/8/ Embedded XINU and WRT54GL

1/8/ Topics WRT54GL architecture and internals Embedded XINU Logic and shift operators

WRT54GL History of WRT54G Open source firmware Common features Processor architecture (BCM5352) WRT54GL Block diagram

History Introduced in 2002 In 2003 Andrew Miklas posted to Linux Kernel Mailing List about Linksys using GPL code in its firmware Linksys executives gave into the pressure from the community, Linksys released the code to the community under GPL.

Common Features Power: 12VDC 1.0amp This power requirement is standard for embedded devices and wireless access points This makes them compatible with Power over Ethernet (PoE) This especially significant in mobile environment. The Reset button: to reset the configuration

Common Features (Contd.) LED lights to indicate various conditions Power : indicates presence of power DMZ: use differs; ex: can show boot progress WLAN LED Ethernet Internet You can manipulate the LED thru’ your code by changing contents of system files.

1/8/ Linksys WRT54GL (contd.) Linux kernel 2.4 Based on Broadcom BCM535E SoC (System on Chip) All-in-one Internet-sharing router, 4-port switch 54Mbps wireless-G (802.11g) access point Shares a single internet connection with Ethernet wired and wireless-G –B devices Push button setup High security: TKIP and AES encryption providing a powerful firewall

Processor Architecture Processor: Broadcom MIPS (Microprocessor without Interlocked Pipeline Stages) processor, common to embedded devices and game consoles. RISC (reduced instruction set computer) MIPS is used Sony playstation for example.

BCM5352 Next generation SoC (System on a Chip) SoC: combines CPU + Wireless MAC + Ethernet MAC onto one chip Flash memory SDRAM Wireless access (802.11) Ethernet switch

1/8/ WRT54GL Block diagram See attached Also follow this model: CPU Storage InputOutput

1/8/ Processor Architecture WRT54Gl uses Broadcom MIPS (Microprocessor without Interlocked Pipelines Stages) processor, common to embedded devices and game consoles. Model: BCM5352 Based on Reduced Instruction Set Architecture (RISC) The BCM5532 family of processors is a next generation SoC architecture that combines the CPU, Wireless MAC (media access controller), Ethernet MAC onto one chip

1/8/ Storage On board storage is indeed a limitation when using WRT54GL in situation other than for which it is meant for. WRT54GL has a flash memory (4 MB), a form of non-volatile storage commonly used in small devices, such as digital camera. It also use SDRAM (Synchronous Dynamic Random Access Memory) soldered directly into the printed board. DIMM (Dual In-line Memory Module)

1/8/ Wireless and Ethernet networking WRT54GL has a powerful networking architecture It provides 5 port Ethernet switch that is broken down into two virtual LANs VLAN0 and VLAN1 (default) Wireless interface is bridged by default to the Ethernet switch. WiFi component is BCM2050, a b/g radio chipset. It uses a diversity chip to balance signals between two built-in antenna. WiFi radio connects to the CPU Wireless MAC on eth1 which is bridged to VLAN0 via br0 interface. Ethernet switch controls EthernetLAN and Internet lights, whereas Power, DMZ, WLAN are controlled by GPIO port on the CPU WAN port: plug in cable modem into this port, it will pull a DHCP (Dynamic Host Configuration Protocol) address from your ISP (Internet Service Provider). Since it belongs to VLAN1 it is separate from VLAN0 and the two are linked by WRT54Gl’s routing capabilities. Firewall prevents traffic from flowing from WAN to LAN network, traffic initiated by LAN to exit via WAN.

What does WRT54GL do? Creates a network between the wireless interface and the LAN ports known as br0. Router address is by default. WLAN port (port 4). Typically you will plug your cable modem into this port; this will pull the DHCP address from your ISP. WAN and LAN are separate network linked by WRT54GL

The Basic Hardware modifications 1/8/ SIGCSE 2009 NSF SHOWCASE

The NSF-Supported Facility at UB 1/8/ SIGCSE 2009 NSF SHOWCASE

1/8/ Embedded XINU XINU ("XINU Is Not Unix", a recursive acronym) is a Unix-like operating system originally developed by Douglas Comer for instructional purposes at Purdue University in the 1980s. Embedded XINU is a reimplementation of the original XINU operating system on the MIPS processor which is able to run on inexpensive wireless routers and is suitable for courses and research in the areas of Operating Systems, Hardware Systems, Embedded Systems, and Compilers.

1/8/ Embedded XINU ls xinu_mips-1.0 AUTHORS README include loader system tty LICENSE compile lib shell test uart Above is the xinu kernel directory organization See attached XINU directory structure and class diagram We will develop programs into XINU kernel on Timberlake We will cross compile this kernel and load the firmware into WRT54GL (“upload”) and test it

1/8/ Shift Operators << left shift >> right shift Usage: unsigned int x = 70707; //x = unsigned int y, z; y = x << 2; // y = z = x >> 2; //z =

1/8/ Logic Operators Bitwise & (AND) Bitwise inclusive | (OR) Bitwise exclusive ^ (XOR) Bitwise negation ~ Usage: unsigned exp1 = 1; unsigned exp2 = 4; printf (“ %d\n”, exp1 | exp2); printf (“ %d\n”, exp1 & exp2); printf (“ %d\n”, exp1 ^ exp2); printf (“ %d\n”, ~exp1);

1/8/ Relevance of shift and logic operators Bitwise operations are necessary for much low-level programming, such as writing device drivers, low-level graphics, communications protocol packet assembly and decoding. Device drivers use these operators to test the presence or absence of a bit in a serial port or a device input. (checking for on or off)