Motorola MVME6100 manual Valid Boot Images, Checksum Algorithm, Name Type Size

Page 41

Chapter 3 MOTLoad Firmware

Valid Boot Images

Valid boot images whether POST, USER, or MCG, are located on 1MB boundaries within flash. The image may exceed 1MB in size. An image is determined valid through the presence of two "valid image keys" and other sanity checks. A valid boot image begins with a structure as defined in the following table:

Name

Type

Size

Notes

UserDefined

unsigned integer

8

User defined

 

 

 

 

ImageKey 1

unsigned integer

1

0x414c5420

 

 

 

 

ImageKey 2

unsigned integer

1

0x424f4f54

 

 

 

 

ImageChecksum

unsigned integer

1

Image checksum

 

 

 

 

ImageSize

unsigned integer

1

Must be a multiple of 4

 

 

 

 

ImageName

unsigned character

32

User defined

 

 

 

 

ImageRamAddress

unsigned integer

1

RAM address

 

 

 

 

ImageOffset

unsigned integer

1

Offset from header start to entry

 

 

 

 

ImageFlags

unsigned integer

1

Refer to MOTLoad Image Flags on page 32

 

 

 

 

ImageVersion

unsigned integer

1

User defined

 

 

 

 

Reserved

unsigned integer

8

Reserved for expansion

 

 

 

 

Checksum Algorithm

The checksum algorithm is a simple unsigned word add of each word (4 byte) location in the image. The image must be a multiple of 4 bytes in length (word-aligned). The content of the checksum location in the header is not part of the checksum calculation. The calculation assumes the location to be zero. The algorithm is implemented using the following code:

Unsigned int checksum(

Unsigned int *startPtr,/* starting address */

Unsigned int endPtr/* ending address */

) {

unsigned int checksum=0; while (startPtr < endPtr) {

checksum += *startPtr; startPtr++;

}

return(checksum);

}

MVME6100 Installation and Use (V6100A/IH2)

31

Image 41
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 AssignmentComments and Suggestions Overview of ContentsAbout This Manual About This Manual Conventions Used in This ManualDescription Hardware Preparation and InstallationIntroduction Getting Started Hardware Preparation and InstallationStartup Overview Overview of Startup ProceduresUnpacking Guidelines MVME6100 Preparation Hardware ConfigurationJumper Switch Function Settings MVME6100 Jumper and Switch SettingsMVME6100 Layout PMC/IPMC Selection Headers J10, J15 J18, J25 J28 Scon Header J7No Srominit Srom Configuration Switch S3Srom Configuration Switch S3 Positio Function Flash Boot Bank Select Configuration Switch S4Configuration Switch S4 Hardware InstallationInstalling the MVME6100 into a Chassis MVME6100 Connectors Completing the InstallationConnector Function Connection to PeripheralsSwitches and Indicators Applying PowerFront-Panel LED Status Indicators Startup and OperationMOTLoad Firmware MOTLoad CommandsOverview MOTLoad Implementation and Memory RequirementsMOTLoad Tests MOTLoad Utility ApplicationsCommand Line Interface Using MOTLoadCommand Line Rules Command Line HelpCommand Description MOTLoad Command ListMOTLoad Commands MOTLoad Commands MOTLoad Commands MOTLoad Commands MVME6100 vmeCfg -s -m Default VME SettingsMVME6100 vmeCfg -s -o1 Displaying VME Settings Firmware SettingsCR/CSR Settings VmeCfg -e -r40C Editing VME SettingsRemote Start Deleting VME SettingsRestoring Default VME Settings Slot Position CS/CSR Starting Address Firmware Scan for Boot Image Alternate Boot Images and Safe StartFirmware Startup Sequence Following Reset Address Usage Name Type Size Valid Boot ImagesChecksum Algorithm User Images MOTLoad Image FlagsMOTLoad Image Flags Name Value InterpretationAlternate Boot Data Structure MVME6100 Features Summary FeaturesFeature Description Functional DescriptionMVME6100 Block Diagram Block DiagramSystem Controller ProcessorL3 Cache Memory Controller Interface CPU Bus InterfacePCI/PCI-X Interfaces Device Controller InterfaceGigabit Ethernet MACs Device Bus ParametersWatchdog Timer General-Purpose Timers/CountersI2O Message Unit Four Channel Independent DMA ControllerInterrupt Controller PMCspan Interface VMEbus InterfaceFlash Memory System MemoryPCI Mezzanine Card Slots Reset Control Logic Real-Time Clock/NVRAM/Watchdog TimerIdsel Routing Debug SupportPin Assignments PMC Expansion Connector J4 ConnectorsPMC Expansion Connector J4 Pin Assignments Pin SignalPAR Pin # Signal 1000 Mb/s 10/100 Mb/s Gigabit Ethernet Connectors J9, J93Gigabit Ethernet Connectors J9, J93 Pin Assignment 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 Pin Row Z Row a Row B Row C Row D VMEbus P2 Connector Ipmc Mode14. VME P2 Connector Pinouts with IPMC712 15. VME P2 Connector Pinouts with IPMC761 16. Scon Header J7 Pin Assignments Headers17. Boundary Scan Header J8 Pin Assignments 18. PMC/IPMC Configuration Jumper BlockBoundary Scan Header J8 19. COM2 Planar Serial Port Header J29 Pin Assignments COM2 Header J2921. Processor JTAG/COP RISCWatch Header J42 Pin Assignments Processor JTAG/COP Header J42Power Requirements SpecificationsEnvironmental Specifications Supply Current RequirementsAppendix a Specifications Thermally Significant Components Thermal ValidationMax. Allowable Component Reference Table B-1. Thermally Significant ComponentsMeasurement Designator Generic Description Deg. C LocationFigure B-1. Thermally Significant Components-Primary Side Figure B-2. Thermally Significant Components-Secondary Side Measuring Junction Temperature Component Temperature MeasurementMeasuring Case Temperature PreparationFigure B-3. Mounting a Thermocouple Under a Heatsink Figure B-4. Measuring Local Air Temperature Measuring Local Air TemperatureMotorola Embedded Communications Computing Documents Related DocumentationDocument Title and Source Publication Number Manufacturers’ DocumentsTable C-2. Manufacturers’ Documents Table C-3. Related Specifications Related SpecificationsTable C-3. Related Specifications Index Index