TT-System-Firmware APIs 19.10.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
jtag_bootrom.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <zephyr/sys/util.h>
#include <zephyr/spinlock.h>
#include <tenstorrent/bh_chip.h>
Include dependency graph for jtag_bootrom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const uint8_tget_bootcode (void)
const size_t get_bootcode_len (void)
int jtag_bootrom_init (struct bh_chip *chip)
int jtag_bootrom_reset_asic (struct bh_chip *chip)
int jtag_bootrom_patch_offset (struct bh_chip *chip, const uint32_t *patch, size_t patch_len, const uint32_t start_addr)
int jtag_bootrom_verify (const struct device *dev, const uint32_t *patch, size_t patch_len)
void jtag_bootrom_soft_reset_arc (struct bh_chip *chip)
void jtag_bootrom_set_cable_power_limit (struct bh_chip *chip, uint16_t power_limit)
void jtag_bootrom_teardown (const struct bh_chip *chip)
ALWAYS_INLINE int jtag_bootrom_patch (struct bh_chip *chip, const uint32_t *patch, size_t patch_len)
uint32_t jtag_bootrom_get_perst_start_time (void)
void jtag_bootrom_emul_setup (const uint32_t *buf, size_t buf_len)
int jtag_bootrom_emul_axiread (uint32_t addr, uint32_t *value)

Function Documentation

◆ get_bootcode()

const uint8_t * get_bootcode ( void )

◆ get_bootcode_len()

const size_t get_bootcode_len ( void )

◆ jtag_bootrom_emul_axiread()

int jtag_bootrom_emul_axiread ( uint32_t addr,
uint32_t * value )

◆ jtag_bootrom_emul_setup()

void jtag_bootrom_emul_setup ( const uint32_t * buf,
size_t buf_len )

◆ jtag_bootrom_get_perst_start_time()

uint32_t jtag_bootrom_get_perst_start_time ( void )

◆ jtag_bootrom_init()

int jtag_bootrom_init ( struct bh_chip * chip)

◆ jtag_bootrom_patch()

ALWAYS_INLINE int jtag_bootrom_patch ( struct bh_chip * chip,
const uint32_t * patch,
size_t patch_len )

◆ jtag_bootrom_patch_offset()

int jtag_bootrom_patch_offset ( struct bh_chip * chip,
const uint32_t * patch,
size_t patch_len,
const uint32_t start_addr )

◆ jtag_bootrom_reset_asic()

int jtag_bootrom_reset_asic ( struct bh_chip * chip)

◆ jtag_bootrom_set_cable_power_limit()

void jtag_bootrom_set_cable_power_limit ( struct bh_chip * chip,
uint16_t power_limit )

◆ jtag_bootrom_soft_reset_arc()

void jtag_bootrom_soft_reset_arc ( struct bh_chip * chip)

◆ jtag_bootrom_teardown()

void jtag_bootrom_teardown ( const struct bh_chip * chip)

◆ jtag_bootrom_verify()

int jtag_bootrom_verify ( const struct device * dev,
const uint32_t * patch,
size_t patch_len )