Program the FPGA image by connected FPExpress to the embedded FP6 programmed on the bpoard This is the usb connector beside the power switch
Get the Icicle Kit image from here
https://github.com/polarfire-soc/icicle-kit-reference-design/releases
# Add the install to local.conf: | |
IMAGE_INSTALL_append = " pure-ftpd" | |
# Build yocto image and burn image, boot up | |
# Create an ftp user to allow access. Make the home directory a dir on the volatile filesysten (ie RAM) | |
useradd -d /var/volatile/tmp/ftp -s /sbin/nologin ftp | |
# Create a big file: | |
dd bs=2048 count=204850 < /dev/urandom > /var/volatile/tmp/ftp/tmp.img | |
# Run ftp allowing anon access https://linux.die.net/man/8/pure-ftpd | |
pure-ftpd pure-ftpd -A |
import struct | |
import logging | |
import socket | |
def analyse_udp(stop_count=None, localip='192.168.28.122', port=5550, verbose=False): | |
''' | |
Not used | |
''' |
Program the FPGA image by connected FPExpress to the embedded FP6 programmed on the bpoard This is the usb connector beside the power switch
Get the Icicle Kit image from here
https://github.com/polarfire-soc/icicle-kit-reference-design/releases
Setup
mkdir /mnt/sata
mount -t ext4 /dev/sda1 /mnt/sata
#mkfs.ext4 /dev/nvme0n1p1
mkdir /mnt/pcie
mount -t ext4 /dev/nvme0n1p1 /mnt/pcie
Test
import socket | |
import struct | |
import time | |
import random | |
class McastSocket(socket.socket): | |
""" | |
Class to make Multicast UDP handling easier. | |
import socket | |
ETH_P_ALL = 0x0003 # Receive all traffic, regardless of ethertype | |
sock1 = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(ETH_P_ALL)) | |
sock1.bind(("enp3s0", 0)) | |
sock2 = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(ETH_P_ALL)) | |
sock2.bind(("enp2s0", 0)) |
#!/usr/bin/env python | |
import sys | |
from AxnMemCtrl import AxnMemCtrl | |
import typing | |
import datetime | |
import ABI | |
import csv | |
from AXN_BCU_RegMap import AXN_BCU_RegMap as BCUReg | |
import struct |
import ABI | |
import csv | |
import struct | |
import time | |
BCUS = ["192.168.28.5", "192.168.28.2"] | |
ptp_error_addr = 0x182E | |
ptp_sync_error = 500 |
{ | |
"last-manual": "tinyproxy", | |
"last-update": 1738740516748, | |
"profile.lucifer": { | |
"value": { | |
"mode": "fixed_servers", | |
"noPrompt": false, | |
"remoteDNS": false, | |
"rules": { | |
"bypassList": [ |