Ed-Yang
Ed-Yang
I tries to burn a ex. boot.bin (< 1MB> to a 128MB NOR flash. As to my understanding, I should 1. extend boot.bin to a new bin file ex. "nor.bin"...
I am totally fresh on Xilinx solution and I did not have U50 on hand, maybe you could try to extend the DAG size in: https://github.com/Ed-Yang/xilinx-ethash/blob/main/xleth/config/connectivity_u50.ini
For Xilinx, I cannot find "atomic_inc" equivalent function, so the hashCount is not increased. https://github.com/Ed-Yang/xilinx-ethash/blob/08fc61113f295bfaa294f7396bc67f0ba62a70e2/xleth/kernel/ethash.cl#L404
For transferring the DAG, it looks like programming on host memory and pass the DAG memory to HBM on U50. It is suggested to check the OpenCL API, it seems...
I do not understand your question, please elaborate, thanks.
The original plan is to port Ethminer to Xilinx U50 card with two steps. The first step is measure performance od ethash on U50, and then integrate it to Ethminer....
Yes, it is needed to install Vitis to build this project. The ethash implementation is copied from Ethminer project which is written in OpenCL.
I am not expert at Xilinx programming, the following link is my post for performance issue. It is believed that are some way to improve it. https://forums.xilinx.com/t5/Vitis-Acceleration-SDAccel-SDSoC/Run-ethash-OpenCL-kernel-on-Alveo-U50-PCIe-card-is-much-slower/m-p/1209155