diff --git a/anyio.c b/anyio.c index c431697..6fbd956 100644 --- a/anyio.c +++ b/anyio.c @@ -36,14 +36,18 @@ supported_board_entry_t supported_boards[] = { {"7I92T", BOARD_ETH}, {"7I93", BOARD_ETH}, {"7I94", BOARD_ETH}, + {"7I94T", BOARD_ETH}, {"7I95", BOARD_ETH}, {"7I95T", BOARD_ETH}, {"7I96", BOARD_ETH}, {"7I96S", BOARD_ETH}, {"7I97", BOARD_ETH}, + {"7I97T", BOARD_ETH}, {"7I98", BOARD_ETH}, {"7I80", BOARD_ETH}, + {"7I80HDT", BOARD_ETH}, {"7I76E", BOARD_ETH}, + {"7I76EU", BOARD_ETH}, {"LITEHM2", BOARD_ETH}, diff --git a/eth_boards.c b/eth_boards.c index 7389e40..cbd151d 100644 --- a/eth_boards.c +++ b/eth_boards.c @@ -322,6 +322,34 @@ static int eth_scan_one_addr(board_access_t *access) { board->fallback_support = 1; board->llio.verbose = access->verbose; boards_count ++; + } else if (strncmp(buff, "7I76EU", 16) == 0) { + board->type = BOARD_ETH; + board->fpga_type = FPGA_TYPE_EFINIX; + strncpy(board->dev_addr, eth_socket_get_src_ip(), 16); + strncpy(board->llio.board_name, buff, 16); + board->llio.num_ioport_connectors = 3; + board->llio.pins_per_connector = 17; + board->llio.ioport_connector_name[0] = "on-card"; + board->llio.ioport_connector_name[1] = "P1"; + board->llio.ioport_connector_name[2] = "P2"; + board->llio.bob_hint[0] = BOB_7I76; + board->llio.fpga_part_number = "T20F256"; + board->llio.num_leds = 4; + board->llio.read = ð_read; + board->llio.write = ð_write; + board->llio.write_flash = &remote_write_flash; + board->llio.verify_flash = &remote_verify_flash; + board->llio.backup_flash = &remote_backup_flash; + board->llio.restore_flash = &remote_restore_flash; + board->llio.reset = &lbp16_board_reset; + board->llio.reload = &lbp16_board_reload; + board->open = ð_board_open; + board->close = ð_board_close; + board->print_info = ð_print_info; + board->flash = BOARD_FLASH_REMOTE; + board->fallback_support = 1; + board->llio.verbose = access->verbose; + boards_count ++; } else if (strncmp(buff, "7I92", 16) == 0) { board->type = BOARD_ETH; strncpy(board->dev_addr, eth_socket_get_src_ip(), 16); @@ -425,6 +453,34 @@ static int eth_scan_one_addr(board_access_t *access) { board->fallback_support = 1; board->llio.verbose = access->verbose; boards_count ++; + } else if (strncmp(buff, "7I94T", 16) == 0) { + board->type = BOARD_ETH; + board->fpga_type = FPGA_TYPE_EFINIX; + strncpy(board->dev_addr, eth_socket_get_src_ip(), 16); + strncpy(board->llio.board_name, buff, 16); + board->llio.num_ioport_connectors = 2; + board->llio.pins_per_connector = 21; + board->llio.ioport_connector_name[0] = "Expansion+Serial 0..1"; + board->llio.ioport_connector_name[1] = "Serial 1..7"; + board->llio.bob_hint[0] = BOB_7I94_0; + board->llio.bob_hint[1] = BOB_7I94_1; + board->llio.fpga_part_number = "T20F256"; + board->llio.num_leds = 4; + board->llio.read = ð_read; + board->llio.write = ð_write; + board->llio.write_flash = &remote_write_flash; + board->llio.verify_flash = &remote_verify_flash; + board->llio.backup_flash = &remote_backup_flash; + board->llio.restore_flash = &remote_restore_flash; + board->llio.reset = &lbp16_board_reset; + board->llio.reload = &lbp16_board_reload; + board->open = ð_board_open; + board->close = ð_board_close; + board->print_info = ð_print_info; + board->flash = BOARD_FLASH_REMOTE; + board->fallback_support = 1; + board->llio.verbose = access->verbose; + boards_count ++; } else if (strncmp(buff, "7I95", 16) == 0) { board->type = BOARD_ETH; strncpy(board->dev_addr, eth_socket_get_src_ip(), 16); @@ -568,6 +624,36 @@ static int eth_scan_one_addr(board_access_t *access) { board->fallback_support = 1; board->llio.verbose = access->verbose; boards_count ++; + } else if (strncmp(buff, "7I97T", 16) == 0) { + board->type = BOARD_ETH; + board->fpga_type = FPGA_TYPE_EFINIX; + strncpy(board->dev_addr, eth_socket_get_src_ip(), 16); + strncpy(board->llio.board_name, buff, 16); + board->llio.num_ioport_connectors = 3; + board->llio.pins_per_connector = 17; + board->llio.ioport_connector_name[0] = "TB1/TB2/TB3"; + board->llio.ioport_connector_name[1] = "TB4/TB5"; + board->llio.ioport_connector_name[2] = "P1"; + board->llio.bob_hint[0] = BOB_7I97_0; + board->llio.bob_hint[1] = BOB_7I97_1; + board->llio.bob_hint[2] = BOB_7I97_2; + board->llio.fpga_part_number = "T20F256"; + board->llio.num_leds = 4; + board->llio.read = ð_read; + board->llio.write = ð_write; + board->llio.write_flash = &remote_write_flash; + board->llio.verify_flash = &remote_verify_flash; + board->llio.backup_flash = &remote_backup_flash; + board->llio.restore_flash = &remote_restore_flash; + board->llio.reset = &lbp16_board_reset; + board->llio.reload = &lbp16_board_reload; + board->open = ð_board_open; + board->close = ð_board_close; + board->print_info = ð_print_info; + board->flash = BOARD_FLASH_REMOTE; + board->fallback_support = 1; + board->llio.verbose = access->verbose; + boards_count ++; } else if (strncmp(buff, "7I98", 16) == 0) { board->type = BOARD_ETH; strncpy(board->dev_addr, eth_socket_get_src_ip(), 16);