VERSION

SoC Version Information

This block contains various information about the state of the source code repository when this SoC was built.

Register Listing for VERSION

Register

Address

VERSION_MAJOR

0xe0007000

VERSION_MINOR

0xe0007004

VERSION_REVISION

0xe0007008

VERSION_GITREV3

0xe000700c

VERSION_GITREV2

0xe0007010

VERSION_GITREV1

0xe0007014

VERSION_GITREV0

0xe0007018

VERSION_GITEXTRA1

0xe000701c

VERSION_GITEXTRA0

0xe0007020

VERSION_DIRTY

0xe0007024

VERSION_MODEL

0xe0007028

VERSION_SEED3

0xe000702c

VERSION_SEED2

0xe0007030

VERSION_SEED1

0xe0007034

VERSION_SEED0

0xe0007038

VERSION_MAJOR

Address: 0xe0007000 + 0x0 = 0xe0007000

Major git tag version. For example, this firmware was built from git tag v2.0.3, so this value is 2.

VERSION_MINOR

Address: 0xe0007000 + 0x4 = 0xe0007004

Minor git tag version. For example, this firmware was built from git tag v2.0.3, so this value is 0.

VERSION_REVISION

Address: 0xe0007000 + 0x8 = 0xe0007008

Revision git tag version. For example, this firmware was built from git tag v2.0.3, so this value is 3.

VERSION_GITREV3

Address: 0xe0007000 + 0xc = 0xe000700c

Bits 24-31 of VERSION_GITREV. First 32-bits of the git revision. This documentation was built from git rev 447c5dac, so this value is 1149001132, which should be enough to check out the exact git version used to build this firmware.

VERSION_GITREV2

Address: 0xe0007000 + 0x10 = 0xe0007010

Bits 16-23 of VERSION_GITREV.

VERSION_GITREV1

Address: 0xe0007000 + 0x14 = 0xe0007014

Bits 8-15 of VERSION_GITREV.

VERSION_GITREV0

Address: 0xe0007000 + 0x18 = 0xe0007018

Bits 0-7 of VERSION_GITREV.

VERSION_GITEXTRA1

Address: 0xe0007000 + 0x1c = 0xe000701c

Bits 8-9 of VERSION_GITEXTRA. The number of additional commits beyond the git tag. For example, if this value is 1, then the repository this was built from has one additional commit beyond the tag indicated in MAJOR, MINOR, and REVISION.

VERSION_GITEXTRA0

Address: 0xe0007000 + 0x20 = 0xe0007020

Bits 0-7 of VERSION_GITEXTRA.

VERSION_DIRTY

Address: 0xe0007000 + 0x24 = 0xe0007024

Field

Name

Description

[0]

DIRTY

Set to 1 if this device was built from a git repo with uncommitted modifications.

VERSION_MODEL

Address: 0xe0007000 + 0x28 = 0xe0007028

Field

Name

Description

[7:0]

MODEL

Contains information on which model device this was built for.

Value

Description

0x45

Fomu EVT

0x44

Fomu DVT

0x50

Fomu PVT (production)

0x48

Fomu Hacker

0x3f

Unknown model

VERSION_SEED3

Address: 0xe0007000 + 0x2c = 0xe000702c

Bits 24-31 of VERSION_SEED. 32-bit seed used for the place-and-route.

VERSION_SEED2

Address: 0xe0007000 + 0x30 = 0xe0007030

Bits 16-23 of VERSION_SEED.

VERSION_SEED1

Address: 0xe0007000 + 0x34 = 0xe0007034

Bits 8-15 of VERSION_SEED.

VERSION_SEED0

Address: 0xe0007000 + 0x38 = 0xe0007038

Bits 0-7 of VERSION_SEED.