NET+OS 6 BSP How and why it was restructured Changes to memory map New features How to port to custom hardware.

Slides:



Advertisements
Similar presentations
Cisco S2 C7 Router Operation System IOS. Routers Boot From Flash memory TFTP server ROM (not full Cisco IOS software) –Default depends on platform –Order.
Advertisements

Net+OS Initialization Initialization Sequence Initialization Routine Roles ROM Image Compression/Decompression.
ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
CCNA2 MODULE 5.
Ch. 6 – Switch Configuration CCNA 3 version Overview Identify the major components of a Catalyst switch Monitor switch activity and status using.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
Managing Your Network Environment © 2004 Cisco Systems, Inc. All rights reserved. Managing Cisco IOS Devices INTRO v2.0—9-1.
Ch. 7 – Switch Configuration
Using PDG with e2studio: Example
CCNA 2 v3.1 Module 2.
WANs and Routers Routers. Router Description Specialized computer Like a general purpose PC, a router has:  CPU  Memory  System Bus Connecting Internal.
1-1 SYS Module System Clocks FXTAL BCLK Reset Circuit Reset Conditions Bootstrap Initialization.
© 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.
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
NET+OS Bootloader Overview Requirements How to Build How to Customize Changes to Applications Configuration Settings.
Shell and Flashing Images Commands and upgrades. RS-232 Driver chip – ST3232C Driver chip is ST3232C Provides electrical interface between UART port and.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
NET+OS 6.1 Training. BSP NET+OS 6.1 BSP Initialization Memory map New features Debugging Porting Issues.
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
Basic Router Configuration Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
CISCO ROUTER.  The Cisco router IOS  Enhanced editing  Administrative functions  Hostnames  Banners  Passwords  Interface descriptions  Verifying.
Getting Started Installing GreenHills and Net+OS Setting up the Development Board Building the Sample Application.
AT91SAM9261-EK WinCE 6.0 DEMO ATMEL AT91 Application & Support Group
Computer Maintenance Unit Subtitle: Basic Input/Output System (BIOS) Excerpted from 1 Copyright © Texas Education Agency, All.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
September 15, 2015 NET+OS 6.0/GNU Postinstallation.
Module 6 – Switch Configuration CCNA 3 Cabrillo College.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
1 Pertemuan 9 Switch Configuration. Discussion Topics Starting the Switch Configuring the Switch 2.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
NETOS5.1 Training NS7520 Overview NETOS5.1 Overview BSP Changes BSP & Board Configurations Build File Changes for GHS Makefile Changes for GNU Linker Files.
Ch.2 – Introduction to Routers
1 uClinux course Day 4 of 5. 2 Author: D L Johnson CPU Architectures.
Sources of Cisco IOS Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Basic Input/Output System (BIOS). 5.1Introduction to BIOS Basic Input / Output System (BIOS) boot the computer by providing a basic set of instructions.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
Introduction to Routers
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
1 Introduction to Routers Nasir Majeed Assistant Professor PTCL Academy Islamabad.
Chapter 7 & 8 IOS Images and Router Configuration
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Sem 2v2 Chapter 5 Router Startup and Setup. A router initializes by loading the bootstrap, the operating system, and a configuration file. If the router.
Computer Maintenance I
NET+OS 6.1 Training. GPIO APIs NET+OS 6.1 Signal Multiplexing System tradeoffs affecting pin count at design-time. –NS9750 unit cost reduced by conserving.
Router Startup and Setup Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Net+Os v5.1 with GHS 3.5 & GNU. What it is… Inter Release that allows you to run Net+Os on 7520 based targets… The BSP has been restructured to make it.
Commands 3/1/ Boot PROM Fundamentals All Sun systems have resident boot PROM firmware Provides basic hardware testing and initialization prior.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
1 Version 3.1 Module 5 Managing Cisco IOS Software.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
DATE S. S.. Sandstone The sandstone carries out the following tasks: 1. Set up target platform environment, 2. Load a bootable image into memory, 3. Relinquish.
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
© 2002, Cisco Systems, Inc. All rights reserved..
CCNA 2 v3.1 Module 2 Introduction to Routers
© 2002, Cisco Systems, Inc. All rights reserved.
Computer Maintenance Unit Subtitle: Basic Input/Output System (BIOS)
Chapter 5: Switch Configuration
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Instructor & Todd Lammle
Instructor & Todd Lammle
Embedded System Development Lecture 13 4/11/2007
Cisco networking CNET-448
Lecture9: Embedded Network Operating System: cisco IOS
Computer System Laboratory
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

NET+OS 6 BSP How and why it was restructured Changes to memory map New features How to port to custom hardware

BSP Structuring Files broken up into S/W common to all platforms and S/W specific to a particular board Common files in src/netos/common Platform specific files in subdirectories in src/netos/platforms ARM7 init code in src/netos/arm7init Platform specific code simply since each set only supports a single platform

Supported Platforms ns7520_a: NS7520 development board net50_d: Old style NET-50 rev D board net50bga_a: Current NET-50 BGA board

Building a BSP Build from netos/src/bsp directory In GNU platform specified in command line to make file –make PLATFORM=net50bga_a In GHS platform specified by picking platform specific build file –Build net50bga.bld

Customizable Linker Scripts Linker scripts determine memory layout NET+OS 5 had linker scripts for each application NET+OS 5.1 had one set of linker scripts NET+OS 6 has one set of linker scripts for each platform Items likely to be changed are in one file for easy customization

More Efficient Memory Layout Earlier versions of NET+OS wasted most of memory Half was given to data, the other half to code Heap was fixed size NET+OS 6 packs code and data together so that memory is not wasted NET+OS 6 heap is automatically given all unused memory

Watchdog Driver Watchdog resets unit if it locks up Driver supports internal watchdog and TI TPS382X and MAXIM MAX6316- MAX6322 Beware that watchdog must not be turned on while in debugger

UDP Debug Driver New driver that makes printf output available over the network Useful for debugging if application H/W does not have any extra serial ports Output displayed on PC using UDPDB program supplied with NET+OS 6

Other New Features Simple serial driver for debugging BSP before real serial driver has been initialized Debug version of BSP that has asserts and extra printfs Ethernet MAC address is now stored in NVRAM 9 character serial numbers

Features…. Customers can change BSP_TICKS_PER_SECOND Ethernet driver has transmitter lockup recovery code Bootloader DHCP will generate XIDs based on Ethernet MAC addressed to avoid collisions with other units

Porting BSP to Customer H/W Step 1: Create a new platform directory –Copy a platform subdirectory similar to customer H/W –Give it an appropriate name Step 2: Edit configuration files bsp.h and bsp.c –Select device drivers, NVRAM type, system clock speed, and SYSCLK source –NS7520 development board uses external oscillator

Porting BSP to Customer H/W Step 3: Create new build files or update the make file –GHS: Create project build file in bsp directory –GHS: Update bsp.bld and subproject.bld files in new platform directory –GNU: Update makefile in bsp directory

Porting BSP to Customer H/W Step 4: Update the linker scripts –Edit customize.lx or customize.ldr –Set flash size for file system –Set size of flash and RAM –Set Maximum size of application image

Porting BSP to Customer H/W Step 5: Update cs.c and gpio.c –cs.c controls how chip selects are setup –Default code sets up CS0 for flash and CS1 and CS2 for RAM –gpio.c sets up GPIO ports and LED driver Step 6: Update NVRAM structure –Confusion in the field –Customers should update NVRAM structure to suite their application

Porting BSP to Customer H/W Step 7: Update error and exception handlers –Error handler called for fatal errors and blinks LEDs –Exception handler called for all unexpected exceptions and also blinks the LEDs –Can be configured to reset through bsp.h –Or modify as needed by the application

Porting BSP to Customer H/W Step 8: Create Debugger Scripts –Copy one of our scripts –Modify it for customer H/W memory setup Step 9: Debug in RAM –Verify H/W setup correctly by debugger script –Step through init.s and ncc_init.c

Porting BSP to Customer H/W Step 10: Debug in ROM –Verify processor bootstrap settings –Step through init.s and ncc_init.c –Verify that chip selects and GPIO are setup Step 11: Modify Startup Dialog –Usually customers have no need of it and it can be removed

Porting BSP to Customer H/W Step 12: Update the POST –Add tests for application H/W Step 13: Update ACE –ACE has a setup of callbacks for important events –Determine what to do if DHCP loses IP address (default behavior is to reset the unit) –Determine what to do if Auto-IP address is not routable (Auto-IP addresses are not routable)