Motorola MVME6100 Alternate Boot Images and Safe Start, Firmware Startup Sequence Following Reset

Page 39

Chapter 3 MOTLoad Firmware

Alternate Boot Images and Safe Start

Some later versions of MOTLoad support Alternate Boot Images and a Safe Start recovery procedure. If Safe Start is available on the MVME6100, Alternate Boot Images are supported. With Alternate Boot Image support, the bootloader code in the boot block examines the upper 8MB of the flash bank for Alternate Boot images. If an image is found, control is passed to the image.

Firmware Startup Sequence Following Reset

The firmware startup sequence following reset of MOTLoad is to:

Initialize cache, MMU, FPU, and other CPU internal items

Initialize the memory controller

Search the active flash bank, possibly interactively, for a valid POST image. If found, the POST images executes. Once completed, the POST image returns and startup continues.

Search the active flash bank, possibly interactively, for a valid USER boot image. If found, the USER boot image executes. A return to the boot block code is not anticipated.

If a valid USER boot image is not found, search the active flash bank, possibly interactively, for a valid MCG boot image; anticipated to be upgrade of MCG firmware. If found, the image is executed. A return to the boot block code is not anticipated.

Execute the recovery image of the firmware in the boot block if no valid USER or MCG image is found

During startup, interactive mode may be entered by either setting the Safe Start jumper/switch or by sending an <ESC> to the console serial port within five seconds of the board reset. During interactive mode, the user has the option to display locations at which valid boot images were discovered, specify which discovered image is to be executed, or specify that the recovery image in the boot block of the active Flash bank is to be executed.

Firmware Scan for Boot Image

The scan is performed by examining each 1MB boundary for a defined set of flags that identify the image as being Power On Self Test (POST), USER, or MCG. MOTLoad is an MCG image. POST is a user-developed Power On Self Test that would perform a set of diagnostics and then return to the bootloader image. User would be a boot image, such as the VxWorks bootrom, which would perform board initialization. A bootable VxWorks kernel would also be a USER image. Boot images are not restricted to being MB or less in size; however, they must begin on a 1MB boundary within the 8MB of the scanned flash bank. The Flash Bank Structure is shown below:

MVME6100 Installation and Use (V6100A/IH2)

29

Image 39
Contents V6100A/IH2 Installation and UseTrademarks Safety Summary Flammability Limited and Restricted Rights Legend Contents Functional Description Specifications List of Figures List of Tables Gigabit Ethernet Connectors J9, J93 Pin AssignmentOverview of Contents About This ManualComments and Suggestions About This Manual Conventions Used in This ManualHardware Preparation and Installation IntroductionDescription Getting Started Hardware Preparation and InstallationOverview of Startup Procedures Unpacking GuidelinesStartup Overview MVME6100 Preparation Hardware ConfigurationJumper Switch Function Settings MVME6100 Jumper and Switch SettingsMVME6100 Layout PMC/IPMC Selection Headers J10, J15 J18, J25 J28 Scon Header J7Srom Configuration Switch S3 Srom Configuration Switch S3No Srominit Positio Function Flash Boot Bank Select Configuration Switch S4Hardware Installation Installing the MVME6100 into a ChassisConfiguration Switch S4 Connection to Peripherals Completing the InstallationMVME6100 Connectors Connector FunctionStartup and Operation Applying PowerSwitches and Indicators Front-Panel LED Status IndicatorsMOTLoad Implementation and Memory Requirements MOTLoad CommandsMOTLoad Firmware OverviewMOTLoad Tests MOTLoad Utility ApplicationsCommand Line Interface Using MOTLoadCommand Line Rules Command Line HelpMOTLoad Command List MOTLoad CommandsCommand Description MOTLoad Commands MOTLoad Commands MOTLoad Commands MVME6100 vmeCfg -s -m Default VME SettingsMVME6100 vmeCfg -s -o1 Firmware Settings CR/CSR SettingsDisplaying VME Settings VmeCfg -e -r40C Editing VME SettingsDeleting VME Settings Restoring Default VME SettingsRemote Start Slot Position CS/CSR Starting Address Alternate Boot Images and Safe Start Firmware Startup Sequence Following ResetFirmware Scan for Boot Image Address Usage Valid Boot Images Checksum AlgorithmName Type Size Name Value Interpretation MOTLoad Image FlagsUser Images MOTLoad Image FlagsAlternate Boot Data Structure Functional Description FeaturesMVME6100 Features Summary Feature DescriptionMVME6100 Block Diagram Block DiagramProcessor L3 CacheSystem Controller Memory Controller Interface CPU Bus InterfaceDevice Bus Parameters Device Controller InterfacePCI/PCI-X Interfaces Gigabit Ethernet MACsFour Channel Independent DMA Controller General-Purpose Timers/CountersWatchdog Timer I2O Message UnitInterrupt Controller System Memory VMEbus InterfacePMCspan Interface Flash MemoryPCI Mezzanine Card Slots Debug Support Real-Time Clock/NVRAM/Watchdog TimerReset Control Logic Idsel RoutingPin Assignments Pin Signal ConnectorsPMC Expansion Connector J4 PMC Expansion Connector J4 Pin AssignmentsPAR Gigabit Ethernet Connectors J9, J93 Gigabit Ethernet Connectors J9, J93 Pin AssignmentPin # Signal 1000 Mb/s 10/100 Mb/s PMC Slot 1 Connector J11 Pin Assignments PCI Mezzanine Card PMC Connectors J11 J14, J21 J24PMC Slot 1 Connector J12 Pin Assignments PMC Slot 1 Connector J13 Pin Assignments PMC Slot 1 Connector J14 Pin Assignments PMC Slot 2 Connector J21 Pin Assignments PMC Slot 2 Connector J22 Pin Assignments PMC Slot 2 Connector J23 Pin Assignments 10. PMC Slot 2 Connector J24 Pin Assignments 11. COM1 Connector J19 Pin Assignments COM1 Connector J1912. VMEbus P1 Connector Pin Assignments VMEbus P1 Connector13. VMEbus P2 Connector Pin Assignments PMC Mode VMEBus P2 Connector PMC ModeP2IOGLAN1M VMEbus P2 Connector Ipmc Mode 14. VME P2 Connector Pinouts with IPMC712Pin Row Z Row a Row B Row C Row D 15. VME P2 Connector Pinouts with IPMC761 16. Scon Header J7 Pin Assignments Headers18. PMC/IPMC Configuration Jumper Block Boundary Scan Header J817. Boundary Scan Header J8 Pin Assignments 19. COM2 Planar Serial Port Header J29 Pin Assignments COM2 Header J2921. Processor JTAG/COP RISCWatch Header J42 Pin Assignments Processor JTAG/COP Header J42Supply Current Requirements SpecificationsPower Requirements Environmental SpecificationsAppendix a Specifications Thermally Significant Components Thermal ValidationDesignator Generic Description Deg. C Location Table B-1. Thermally Significant ComponentsMax. Allowable Component Reference MeasurementFigure B-1. Thermally Significant Components-Primary Side Figure B-2. Thermally Significant Components-Secondary Side Preparation Component Temperature MeasurementMeasuring Junction Temperature Measuring Case TemperatureFigure B-3. Mounting a Thermocouple Under a Heatsink Figure B-4. Measuring Local Air Temperature Measuring Local Air TemperatureMotorola Embedded Communications Computing Documents Related DocumentationManufacturers’ Documents Table C-2. Manufacturers’ DocumentsDocument Title and Source Publication Number Table C-3. Related Specifications Related SpecificationsTable C-3. Related Specifications Index Index