ArmSys Support
ArmsysApi  0.12.18
BFirmware.h File Reference
#include <BTypes.h>

Classes

struct  BFirmwareFileHeader
 
struct  BFirmwareSegHeader
 
struct  BFirmwareInfo
 

Typedefs

typedef BFirmwareFileHeader BFirmwareFirmwareHeader
 

Functions

struct BFirmwareFileHeader __attribute__ ((packed))
 
int bfirmwareValid (BUInt32 baseAddress, BUInt type, Bool checkChecksum, char *version=0)
 
void bfirmwareBoot (BUInt32 baseAddress)
 

Variables

const BUInt32 BFirmwareMagic = 0x01414542
 
const BUInt32 BFirmwareTypeFile = 1
 
const BUInt32 BFirmwareTypeFirmware = 2
 
const BUInt32 BFirmwareTypeSegment = 3
 
const BUInt32 BFirmwareFormatRaw = 0
 
const BUInt32 BFirmwareFormatGzip = 1
 
const BUInt32 BFirmwarePlatformBMeasure125 = 33
 
const BUInt32 BFirmwarePlatformBMeasure125Cpu = 34
 
const BUInt32 BFirmwarePlatformBMeasure125Fpga = 35
 
const BUInt32 BFirmwarePlatformBMeasure125Wifi = 36
 
const BUInt32 BFirmwarePlatformBMeasure125Boot = 37
 
BUInt32 magic
 
BUInt32 itemType
 
BUInt32 fileLength
 
BUInt32 checksum
 
BUInt32 platform
 
BUInt32 format
 
BUInt32 numSegments
 
BUInt32 startAddress
 
BUInt8 ver0
 
BUInt8 ver1
 
BUInt8 ver2
 
BUInt8 ver3
 
BUInt32 special [7]
 
BUInt32 dataLength
 
BUInt32 address
 
BUInt32 length
 
const BUInt32 BFirmwareInfoMagic = 0xBBEEAA00
 
const BUInt8 BFirmwareInfoEncrypt1 = 0x40
 
struct BFirmwareInfo __attribute__
 

Typedef Documentation

◆ BFirmwareFirmwareHeader

Function Documentation

◆ __attribute__()

struct BFirmwareFileHeader __attribute__ ( (packed)  )

◆ bfirmwareBoot()

void bfirmwareBoot ( BUInt32  baseAddress)

◆ bfirmwareValid()

int bfirmwareValid ( BUInt32  baseAddress,
BUInt  type,
Bool  checkChecksum,
char *  version = 0 
)

Variable Documentation

◆ __attribute__

struct BoapMc1Error __attribute__

◆ address

BUInt32 address

◆ BFirmwareFormatGzip

const BUInt32 BFirmwareFormatGzip = 1

◆ BFirmwareFormatRaw

const BUInt32 BFirmwareFormatRaw = 0

◆ BFirmwareInfoEncrypt1

const BUInt8 BFirmwareInfoEncrypt1 = 0x40

◆ BFirmwareInfoMagic

const BUInt32 BFirmwareInfoMagic = 0xBBEEAA00

◆ BFirmwareMagic

const BUInt32 BFirmwareMagic = 0x01414542

◆ BFirmwarePlatformBMeasure125

const BUInt32 BFirmwarePlatformBMeasure125 = 33

◆ BFirmwarePlatformBMeasure125Boot

const BUInt32 BFirmwarePlatformBMeasure125Boot = 37

◆ BFirmwarePlatformBMeasure125Cpu

const BUInt32 BFirmwarePlatformBMeasure125Cpu = 34

◆ BFirmwarePlatformBMeasure125Fpga

const BUInt32 BFirmwarePlatformBMeasure125Fpga = 35

◆ BFirmwarePlatformBMeasure125Wifi

const BUInt32 BFirmwarePlatformBMeasure125Wifi = 36

◆ BFirmwareTypeFile

const BUInt32 BFirmwareTypeFile = 1

◆ BFirmwareTypeFirmware

const BUInt32 BFirmwareTypeFirmware = 2

◆ BFirmwareTypeSegment

const BUInt32 BFirmwareTypeSegment = 3

◆ checksum

BUInt32 checksum

◆ dataLength

BUInt32 dataLength

◆ fileLength

BUInt32 fileLength

◆ format

BUInt32 format

◆ itemType

BUInt32 itemType

◆ length

BUInt32 length

◆ magic

BUInt32 magic

◆ numSegments

BUInt32 numSegments

◆ platform

BUInt32 platform

◆ special

BUInt32 special

◆ startAddress

BUInt32 startAddress

◆ ver0

BUInt8 ver0

◆ ver1

BUInt8 ver1

◆ ver2

BUInt8 ver2

◆ ver3

BUInt8 ver3