Skip to content

Make bootrom depend on cluster configuration #264

@colluca

Description

@colluca

The following address is hardcoded and breaks if the bootrom size, the scratch1 register offset or the number of instructions preceding these in the bootrom change. Generalize this.

# This offset can be calculated as follows:
# - 0x20 (start of this bootrom)
# + 0x1000 (bootrom size 4kB)
# + 0x188 (offset of the scratch1 register)
li t1, 0x1168

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions